Skip to content

Commit

Permalink
change min version of transforemrs
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Apr 5, 2024
1 parent e733c41 commit 169756d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Most recent releases are shown at the top. Each release shows:
- Removed `tf_keras` as dependencies due to issues in varioius dependencies
related to TF 2.16 and allow TF to prompt user for it (#528)
- Removed auto-setting `TF_USE_LEGACY_KERAS`, as it causes problems in `tensorflow<2.16` (#528)
- Changed `transformers` min version

## 0.41.2 (2024-03-11)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"syntok>1.3.3", # previously pinned to 1.3.3 due to bug in 1.4.1, which caused problems in QA paragraph tokenization (now appears fixed)
"tika", # for TextExtractor
# NOTE: these modules can be optionally omitted from deployment if not being used to yield lighter-weight footprint
"transformers<=4.37.2", # temporarily pinning to 4.37.2 due to Google Colab issue (#523)
"transformers>=4.39.3", # due to bugs with TF 2.16 (#528)
"sentencepiece", # Added due to breaking change in transformers>=4.0
"keras_bert>=0.86.0", # imported in imports with warning and used in 'ktrain.text' ; support for TF 2.3
"whoosh", # imported by text.qa module
Expand Down

0 comments on commit 169756d

Please sign in to comment.