transformers/examples/legacy
Yih-Dar 121830ab47
update examples after ruff being updated (#36972)
* update

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-03-25 18:15:47 +01:00
..
benchmarking Fix spell mistakes (#33149) 2024-08-28 15:27:16 +02:00
multiple_choice update ruff version (#30932) 2024-05-22 06:40:15 +02:00
pytorch-lightning Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
question-answering Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
seq2seq update examples after ruff being updated (#36972) 2025-03-25 18:15:47 +01:00
token-classification update examples after ruff being updated (#36972) 2025-03-25 18:15:47 +01: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 Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +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.