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
@@ -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 |
-
```
|
66 |
-
|
|
|
|
|
|
|
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
|