transformers/examples/legacy
2025-03-27 14:55:50 +00:00
..
benchmarking Fix spell mistakes (#33149) 2024-08-28 15:27:16 +02:00
multiple_choice Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
pytorch-lightning Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
question-answering Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
seq2seq Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
token-classification Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_camembert.py Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
run_chinese_ref.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
run_language_modeling.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
run_openai_gpt.py Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
run_swag.py Set weights_only in torch.load (#36991) 2025-03-27 14:55:50 +00:00
run_transfo_xl.py update ruff version (#30932) 2024-05-22 06:40:15 +02: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.