Skip to content

Commit

Permalink
[BUG] fix upper nltk version (huggingface#33301)
Browse files Browse the repository at this point in the history
fix upper nltk version
  • Loading branch information
ylacombe authored and itazap committed Sep 20, 2024
1 parent 9edd9c5 commit 0d50cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"keras>2.9,<2.16",
"keras-nlp>=0.3.1,<0.14.0", # keras-nlp 0.14 doesn't support keras 2, see pin on keras.
"librosa",
"nltk",
"nltk<=3.8.1",
"natten>=0.14.6,<0.15.0",
"numpy>=1.17",
"onnxconverter-common",
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"keras": "keras>2.9,<2.16",
"keras-nlp": "keras-nlp>=0.3.1,<0.14.0",
"librosa": "librosa",
"nltk": "nltk",
"nltk": "nltk<=3.8.1",
"natten": "natten>=0.14.6,<0.15.0",
"numpy": "numpy>=1.17",
"onnxconverter-common": "onnxconverter-common",
Expand Down

0 comments on commit 0d50cf5

Please sign in to comment.