Skip to content

Commit

Permalink
Update Transformers to 4.36.1
Browse files Browse the repository at this point in the history
This fixes security issues #274, #275, #276.

Can't upgrade to a higher version because this change seems to break
model loading and some layers are failing to load:

huggingface/transformers#27794
  • Loading branch information
ZJaume committed Apr 16, 2024
1 parent deec8a4 commit db090ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Re-organize documentation.
- Updated Tensorflow.
- Support for Python 3.11.
- Updated Transformers to 4.36.

### Fixed:
- Always English being used in Tokenizer during noise generation.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ dependencies = [
"bicleaner-ai-glove==0.2.1",
"fuzzywuzzy",
"python-Levenshtein",
"transformers==4.30.2",
"huggingface-hub==0.15.1",
"transformers==4.36.1",
"huggingface-hub>=0.22,<0.23",
"zstandard",
"psutil",
"regex",
Expand Down

0 comments on commit db090ba

Please sign in to comment.