KA
kainoj/run_glue
Easy to maintain, modular version of ๐คrun_glue.py
Easy to maintain, modular version of ๐คrun_glue.py
๐ See wandb.ai dashboard here ๐
Evaluate your custom model in 3 steps:
- Put code of your model under
src/models/ - Configure it under
configs/model/your_model.yaml python run_glue.py model=your_modeland open your wandb dashboard.
Evaluate in bulk (no need for bash looping)
python run_glue.py --multirun \
experiment=cola,wnli,mrpc \
model.learning_rate=2e-5,3e-5Will run 3*2 = 6.
Make GPUs do vroom-voom ๐
python run_glue.py --multirun \
experiment=cola,wnli,mrpc \
trainer.gpus=2 \ # 2 gpus per task
trainer.precision=16 \ # Mixed 16FP precision
datamodule.batch_size=256 # Beefy batch sizeSetup
conda env create -f environment.yml
conda activate run-glueCredits
- Lightning-hydra template by ashleve.
- Some functionalities taken from the original run_glue.py.