mgrbyte commited on
Commit
cbb7f59
1 Parent(s): 1e5a4d2

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

Browse files

- Add transformers version constraint to pip install command (4e7a7cd61527588474f7f5ed80e139b73e343a9d)

Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -72,7 +72,10 @@ Evaluation was done using the python libraries [SacreBLEU](https://github.com/mj
72
  Ensure you have the prerequisite python libraries installed:
73
 
74
  ```bash
75
- pip install transformers sentencepiece
 
 
 
76
  ```
77
 
78
  ```python
 
72
  Ensure you have the prerequisite python libraries installed:
73
 
74
  ```bash
75
+ # The constraint imposed on the transformers version below
76
+ # is due to the following issue:
77
+ # https://github.com/huggingface/transformers/issues/26271
78
+ pip install sentencepiece "transformers>4.26.1<=4.30.2"
79
  ```
80
 
81
  ```python