Lightning-Universe / lightning-transformers

Flexible components pairing 🤗 Transformers with :zap: Pytorch Lightning
https://lightning-transformers.readthedocs.io
Apache License 2.0
610 stars 77 forks source link

Set default per-task datasets #127

Closed carmocca closed 3 years ago

carmocca commented 3 years ago

Fixes #124

The following is now allowed:

python train.py +task=nlp/language_modeling dataset.cfg.train_file=foo dataset.cfg.validation_file=bar