From 1d03b12c827c31948298182ddc1fca58fe350d7e Mon Sep 17 00:00:00 2001 From: Tom Aarsen Date: Wed, 13 Dec 2023 13:15:46 +0100 Subject: [PATCH] Update dependencies transformers>4.32.0 is required for 'token' huggingface_hub>=0.15.1 is required by transformers --- requirements.txt | 5 ++--- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3196b6c2a..4dd678748 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ -transformers>=4.6.0,<5.0.0 -tokenizers>=0.10.3 +transformers>=4.32.0,<5.0.0 tqdm torch>=1.6.0 numpy @@ -7,5 +6,5 @@ scikit-learn scipy nltk sentencepiece -huggingface-hub +huggingface-hub>=0.15.1 Pillow \ No newline at end of file diff --git a/setup.py b/setup.py index baff91e65..34a507450 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ packages=find_packages(), python_requires=">=3.8.0", install_requires=[ - 'transformers>=4.6.0,<5.0.0', + 'transformers>=4.32.0,<5.0.0', 'tqdm', 'torch>=1.6.0', 'numpy', @@ -27,7 +27,7 @@ 'scipy', 'nltk', 'sentencepiece', - 'huggingface-hub>=0.4.0', + 'huggingface-hub>=0.15.1', 'Pillow' ], classifiers=[