transformers/examples/legacy
Sylvain Gugger 9a25c5bd3a
Add new run_swag example (#9175)
* Add new run_swag example

* Add check

* Add sample

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* Very important change to make Lysandre happy

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-12-18 14:19:24 -05:00
..
multiple_choice Add new run_swag example (#9175) 2020-12-18 14:19:24 -05:00
pytorch-lightning Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
question-answering Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
token-classification Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_camembert.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_chinese_ref.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_language_modeling.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_openai_gpt.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_swag.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_transfo_xl.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00

Legacy examples

This folder contains examples which are not actively maintained (mostly contributed by the community).

Using these examples together with a recent version of the library usually requires to make small (sometimes big) adaptations to get the scripts working.