diff --git a/setup.py b/setup.py index 9f83cab8d..17cc262a2 100644 --- a/setup.py +++ b/setup.py @@ -98,6 +98,7 @@ if stale_egg_info.exists(): _deps = [ "Pillow", "accelerate>=0.10.0", + "beautifulsoup4", "black~=23.1", "codecarbon==1.2.0", "cookiecutter==1.7.3", @@ -125,6 +126,7 @@ _deps = [ "jieba", "kenlm", "keras-nlp>=0.3.1", + "librosa", "nltk", "natten>=0.14.4", "numpy>=1.17", @@ -147,6 +149,7 @@ _deps = [ "ray[tune]", "regex!=2019.12.17", "requests", + "rhoknp>=1.1.0", "rjieba", "rouge-score!=0.0.7,!=0.0.8,!=0.1,!=0.1.1", "ruff>=0.0.241", @@ -157,8 +160,9 @@ _deps = [ "scikit-learn", "sentencepiece>=0.1.91,!=0.1.92", "sigopt", - "librosa", "starlette", + "sudachipy>=0.6.6", + "sudachidict_core>=20220729", "tensorflow-cpu>=2.4,<2.12", "tensorflow>=2.4,<2.12", "tensorflow-text", @@ -174,10 +178,6 @@ _deps = [ "unidic>=1.0.2", "unidic_lite>=1.0.7", "uvicorn", - "beautifulsoup4", - "sudachipy>=0.6.6", - "sudachidict_core>=20220729", - "rhoknp>=1.1.0", ] diff --git a/src/transformers/dependency_versions_table.py b/src/transformers/dependency_versions_table.py index d60da273b..b7dfc6337 100644 --- a/src/transformers/dependency_versions_table.py +++ b/src/transformers/dependency_versions_table.py @@ -4,6 +4,7 @@ deps = { "Pillow": "Pillow", "accelerate": "accelerate>=0.10.0", + "beautifulsoup4": "beautifulsoup4", "black": "black~=23.1", "codecarbon": "codecarbon==1.2.0", "cookiecutter": "cookiecutter==1.7.3", @@ -31,6 +32,7 @@ deps = { "jieba": "jieba", "kenlm": "kenlm", "keras-nlp": "keras-nlp>=0.3.1", + "librosa": "librosa", "nltk": "nltk", "natten": "natten>=0.14.4", "numpy": "numpy>=1.17", @@ -53,6 +55,7 @@ deps = { "ray[tune]": "ray[tune]", "regex": "regex!=2019.12.17", "requests": "requests", + "rhoknp": "rhoknp>=1.1.0", "rjieba": "rjieba", "rouge-score": "rouge-score!=0.0.7,!=0.0.8,!=0.1,!=0.1.1", "ruff": "ruff>=0.0.241", @@ -63,8 +66,9 @@ deps = { "scikit-learn": "scikit-learn", "sentencepiece": "sentencepiece>=0.1.91,!=0.1.92", "sigopt": "sigopt", - "librosa": "librosa", "starlette": "starlette", + "sudachipy": "sudachipy>=0.6.6", + "sudachidict_core": "sudachidict_core>=20220729", "tensorflow-cpu": "tensorflow-cpu>=2.4,<2.12", "tensorflow": "tensorflow>=2.4,<2.12", "tensorflow-text": "tensorflow-text", @@ -80,8 +84,4 @@ deps = { "unidic": "unidic>=1.0.2", "unidic_lite": "unidic_lite>=1.0.7", "uvicorn": "uvicorn", - "beautifulsoup4": "beautifulsoup4", - "sudachipy": "sudachipy>=0.6.6", - "sudachidict_core": "sudachidict_core>=20220729", - "rhoknp": "rhoknp>=1.1.0", }