Browse Source

[to #42322933] limit tranformers version temporarily

master
Yingda Chen 3 years ago
parent
commit
355da866c5
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      requirements/nlp.txt

+ 3
- 2
requirements/nlp.txt View File

@@ -3,7 +3,7 @@ fasttext
jieba>=0.42.1
megatron_util
pai-easynlp
# protobuf version beyond 3.20.0 is not compatible with TensorFlow 1.x, therefore is discouraged.
# protobuf version beyond 3.20.0 is not compatible with TensorFlow 1.x, therefore is discouraged.
protobuf>=3.19.0,<3.21.0
# rough-score was just recently updated from 0.0.4 to 0.0.7
# which introduced compatability issues that are being investigated
@@ -14,4 +14,5 @@ spacy>=2.3.5
subword_nmt>=0.3.8
text2sql_lgesql
tokenizers
transformers>=4.12.0
# recent 4.23.1 update introduce breaking api change, limit upper version temporarily.
transformers>=4.12.0,<=4.22.0

Loading…
Cancel
Save