Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Update transformers requirement from <4.19,>=4.1 to >=4.1,<4.20 #5636

Merged
merged 7 commits into from
Jun 21, 2022
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ h5py>=3.6.0
scikit-learn>=1.0.1
scipy>=1.7.3
pytest>=6.2.5
transformers>=4.1,<4.19
transformers>=4.1,<4.20
sentencepiece>=0.1.96
dataclasses;python_version<'3.7'
filelock>=3.3,<3.8
Expand All @@ -28,6 +28,9 @@ huggingface_hub>=0.0.16
dill>=0.3.4
base58>=2.1.1

# sacremoses should be a dependency of transformers, but it is missing, so we add it manually.
sacremoses

# Spacy depends on typer, and typer had a bug. This is how we make sure we get the fixed version of typer.
typer>=0.4.1

Expand Down