Add transformers version constraint to pip install command
Browse filesOur model does not work with the latest transformers due to an unresolved issue.
Added a note next to the pip install command.
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 |
-
|
|
|
|
|
|
|
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
|