diff --git a/requirements.txt b/requirements.txt index c24f081..88a32bd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ spacy>=3.5.0,<4.1.0 numpy>=1.15.0 -transformers[sentencepiece]>=3.4.0,<4.37.0 +transformers[sentencepiece]>=3.4.0,<4.42.0 torch>=1.8.0 srsly>=2.4.0,<3.0.0 dataclasses>=0.6,<1.0; python_version < "3.7" diff --git a/setup.cfg b/setup.cfg index b728a34..f7f1c92 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ install_requires = spacy>=3.5.0,<4.1.0 numpy>=1.15.0; python_version < "3.9" numpy>=1.19.0; python_version >= "3.9" - transformers>=3.4.0,<4.37.0 + transformers>=3.4.0,<4.42.0 torch>=1.8.0 srsly>=2.4.0,<3.0.0 dataclasses>=0.6,<1.0; python_version < "3.7"