Skip to content

v2.2.0: Easy to add any HF Transformers style model! DeBERTa added.

Latest
Compare
Choose a tag to compare
@jeswan jeswan released this 10 May 18:55
· 13 commits to master since this release
76e1966

Making it easy to add a Hugging Face-style Transformers model

We refactored jiant to make it easier to add a Transformers-style model to the library. Please see the guide to add a model for more details. We added DeBERTa V2 as part of these changes.

Breaking Changes

The simple API now uses hf_pretrained_model_name_or_path instead of model_type as an argument. hf_pretrained_model_name_or_path is used as an input to Hugging Face's Auto Classes.

Features

de5437a Merge easy_add_model feature branch (#1309)
56ceae5 Updating notebooks, removing model_type (#1270)
723786a Switch export_model to use AutoModel and AutoTokenizer (#1260)
84f2f5a Adding Acceptability judgment and SentEval tasks (#1271)
f796e5a improve robustness of the simple runscript (#1307)

Tests

4d0f6a9 Add test matrix (#1308)

Bugfixes

ee65662 Update README.md
65888b4 Benchmark script fixes (#1301)
b4b5de0 Assert spans <= max_seq_len (#1302)
5ba72f7 axg->axb fix (#1300)
235f646 MNLI diagnostic example bug (#1294)

Maintenance

4ab0c08 Bump lxml from 4.6.2 to 4.6.3 (#1304)
741ab09 Documentation + cleanup (#1282)
dbbb4e6 export_model tweak (#1277)