Skip to content

Commit

Permalink
Updating to Transformers v2.6.0 (#1059)
Browse files Browse the repository at this point in the history
* Transformers v2.6.0

* requirements update
  • Loading branch information
zphang authored Apr 22, 2020
1 parent 67238af commit dae9dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ dependencies:
- sacremoses

# Warning: jiant currently depends on *both* pytorch_pretrained_bert > 0.6 _and_
# transformers > 2.3.0. These are the same package, though the name changed between
# transformers > 2.6.0. These are the same package, though the name changed between
# these two versions. AllenNLP requires 0.6 to support the BertAdam optimizer, and jiant
# directly requires 1.0 to support XLNet and WWM-BERT.
# This AllenNLP issue is relevant: https://github.com/allenai/allennlp/issues/3067
- transformers==2.3.0
- transformers==2.6.0
- tokenizers==0.5.2
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"pyhocon==0.3.35",
"python-Levenshtein==0.12.0",
"sacremoses",
"transformers==2.3.0",
"transformers==2.6.0",
"tokenizers==0.5.2",
"ftfy",
"spacy",
],
Expand Down

0 comments on commit dae9dc6

Please sign in to comment.