Skip to content

BERT, RoBERTa fine-tuning over SQuAD Dataset using pytorch-lightning⚡️, 🤗-transformers & 🤗-nlp.

Notifications You must be signed in to change notification settings

tshrjn/Finetune-QA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQUAD Fine-Tuning

BERT, RoBERTa fine-tuning over SQuAD Dataset using pytorch-lighting, transformers & nlp.

Usage

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

Install

pip install -r requirements.txt

Features

  • ⚡️Pytorch-Lightning: Goodies
    • All Trainer flags as args
    • Multi-GPU support
  • 🤗 Transformer: easy plug-n-play
  • 🤗 NLP Dataset: easy data handling

TODO:

TBD

About

BERT, RoBERTa fine-tuning over SQuAD Dataset using pytorch-lightning⚡️, 🤗-transformers & 🤗-nlp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages