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
File details
Details for the file mc_transformers-0.1.10.tar.gz
.
File metadata
- Download URL: mc_transformers-0.1.10.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ab6b20239a18920e240476a62aa6816a975430b3a432ca95c06ee4363a46eb |
|
MD5 | b3375f0ea6022714abc0a7da7f8b6aba |
|
BLAKE2b-256 | d70461083fb0971b0edceef08e79a2401944cf075bc68fe598f890d72bc023d4 |