Add transformers version constraint to pip install command

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