Add transformers version constraint to pip install command
#6
by
mgrbyte - opened
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
|