Utils to run multiple choice question answering with huggingface transformers
Project description
mc_transformers
Code to run experiments over Multiple Choice QA with huggingface/transformers. A big part of the code comes from huggingface/transformers, so its license may apply (Apache v2).
Code
mc_transformers.py: Code to train/eval/test models over any collection with transfomers
utils_mc.py: Contains processors specific to each MC QA collection (RACE, SWAG, EntranceExams…)
Why
As I experiment with more MC collection and training modes (i.e.: tpu), support for more collections or more models is required. Instead of forking the whole transformers library I do it here.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-07-23)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mc_transformers-0.1.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1919743c4a327ab08f8f3f48c5d2d51ee5d82f2c332d62a0711841685555916a |
|
MD5 | 1dbe273a4a90dd506c6ad46c2827028b |
|
BLAKE2b-256 | 2b66776c94b69f9e018c482bf5933074e07204d2dec8149f2974eee670339597 |