Download Latest Version v2.2.0_ Easy to add any HF Transformers style model! DeBERTa added. source code.tar.gz (376.0 kB)
Email in envelope

Get an email when there's a new version of jiant

Home / v2.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-05-10 1.3 kB
v2.2.0_ Easy to add any HF Transformers style model! DeBERTa added. source code.tar.gz 2021-05-10 376.0 kB
v2.2.0_ Easy to add any HF Transformers style model! DeBERTa added. source code.zip 2021-05-10 514.4 kB
Totals: 3 Items   891.7 kB 1

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)

Source: README.md, updated 2021-05-10