transformers/examples/legacy
cyyever 0fb8d49e88
Use Python 3.9 syntax in examples (#37279)
Signed-off-by: cyy <cyyever@outlook.com>
2025-04-07 12:52:21 +01:00
..
benchmarking Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
multiple_choice Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
pytorch-lightning Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
question-answering Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
seq2seq Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
token-classification Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_camembert.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
run_chinese_ref.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
run_language_modeling.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
run_openai_gpt.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
run_swag.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01:00
run_transfo_xl.py Use Python 3.9 syntax in examples (#37279) 2025-04-07 12:52:21 +01: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.