Skip to main content

Utils to run multiple choice question answering with huggingface transformers

Project description

mc_transformers

https://img.shields.io/pypi/v/mc_transformers.svg https://img.shields.io/travis/geblanco/mc_transformers.svg Documentation Status

Code to run experiments over Multiple Choice QA with huggingface/transformers. A big part of the code comes from [huggingface/transformers](https://huggingface.co/transformers/), so its license may apply (Apache v2).

## Code * utils_mc.py: Contains processors specific to each MC QA collection (RACE, SWAG, EntranceExams…) * run_mc_trainer.py: Code to train/eval/test models over any collection with transfomers

## 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mc_transformers-0.1.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

mc_transformers-0.1.0-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mc_transformers-0.1.0.tar.gz.

File metadata

  • Download URL: mc_transformers-0.1.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for mc_transformers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b324ddd91abaefe977fb759a712422d158a0071757c360919612018a367f583c
MD5 fdb9e187a7bafc0922f4e0be5dbb0211
BLAKE2b-256 c77f0b2db18127bf7b2d7c067488dc86d7d6673431a38bb395db2db2cdd4e087

See more details on using hashes here.

File details

Details for the file mc_transformers-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mc_transformers-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for mc_transformers-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e29dd6dbb98eb4c8efefbf05e189fb6e12060ddda8575db7ec47047c4d2d591d
MD5 322e4d646f904d50b7c5266fb1b4808b
BLAKE2b-256 0de6d120097a83878724ff84ae27ab64d5fcb0aeb517527e4624dd5de5386007

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page