mgrbyte commited on
Commit
4e7a7cd
1 Parent(s): 8c382d4

Add transformers version constraint to pip install command

Browse files

Our model does not work with the latest transformers due to an unresolved issue.
Added a note next to the pip install command.

Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -69,7 +69,10 @@ Evaluation was done using the python libraries [SacreBLEU](https://github.com/mj
69
  Ensure you have the prerequisite python libraries installed:
70
 
71
  ```bash
72
- pip install transformers sentencepiece
 
 
 
73
  ```
74
 
75
  ```python
 
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