DewiBrynJones mgrbyte commited on
Commit
2ff1621
1 Parent(s): a1587b5

Add transformers version constraint to pip install command (#4)

Browse files

- Add transformers version constraint to pip install command (f1a0bf058355e29afbddef55503a3876578f5080)


Co-authored-by: Matt Russell <mgrbyte@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -68,8 +68,11 @@ Evaluation scores were produced using the python libraries [SacreBLEU](https://g
68
 
69
  Ensure you have the prerequisite python libraries installed:
70
 
71
- ```bsdh
72
- pip install transformers sentencepiece
 
 
 
73
  ```
74
 
75
  ```python
 
68
 
69
  Ensure you have the prerequisite python libraries installed:
70
 
71
+ ```bash
72
+ # The constraint imposed on the transformers version below
73
+ # is due to the following issue:
74
+ # https://github.com/huggingface/transformers/issues/26271
75
+ pip install sentencepiece "transformers>4.26.1<=4.30.2"
76
  ```
77
 
78
  ```python