mc-transformers

Utils to run multiple choice question answering with huggingface transformers


Keywords
mc_transformers
License
Apache-2.0
Install
pip install mc-transformers==0.1.3

Documentation

mc_transformers

Documentation Status

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.