lit
lit copied to clipboard
GSoC - Demos Project: Multi-Lingual Demo for the TyDi QA Task
Goal: Add a demo with a multilingual model on the TyDi AQ task
Branch off of dev.
- [x] Dataset
- [x] Make a Dataset wrapper for the TyDi QA dataset in the
./lit_nlp/examples/datasetsdirectory
- [x] Make a Dataset wrapper for the TyDi QA dataset in the
- [x] Model
- [x] Find a compatible model in Hugging Face
- [x] Make a Model wrapper class in the
./lit_nlp/examples/modelsdirectory - [x] Add unit tests (see examples in
./lit_nlp/examples/models/*_test.pyfiles)
- [x] Demo
- [x] Make a demo file called
tydi_demo.pyin the./lit_nlp/examplesdirectory - [x] Import the TyDi QA dataset
- [x] Import the model
- [x] Configure the demo layout
- [x] Make a demo file called
Some multilingual models updated:
JAX models:
Other JAX Q/A models:
@iftenney can you take a look at the models above? Looks like they're all PyTorch, which is complicated internally. Maybe we need to think about training our own TF2/JAX variant of mT5?