BERT, RoBERTa fine-tuning over SQuAD Dataset using pytorch-lighting, transformers & nlp.
Example Usage:
python main.py --gpus 1, --qa_model distilroberta-base --workers 20 --bs 5 --max_epochs 10
Few Useful WANDB environment variables:
WANDB_MODE=dryrun
WANDB_ENTITY=nlp
pip install -r requirements.txt
- ⚡️Pytorch-Lightning: Goodies
- All
Trainer
flags as args - Multi-GPU support
- All
- 🤗 Transformer: easy plug-n-play
- 🤗 NLP Dataset: easy data handling
TBD