Add transformers version constraint to pip install command (#4)
Browse files- Add transformers version constraint to pip install command (f1a0bf058355e29afbddef55503a3876578f5080)
Co-authored-by: Matt Russell <[email protected]>
README.md
CHANGED
|
@@ -68,8 +68,11 @@ Evaluation scores were produced using the python libraries [SacreBLEU](https://g
|
|
| 68 |
|
| 69 |
Ensure you have the prerequisite python libraries installed:
|
| 70 |
|
| 71 |
-
```
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
| 73 |
```
|
| 74 |
|
| 75 |
```python
|
|
|
|
| 68 |
|
| 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
|