transformers/examples/legacy
statelesshz 27597fea07
remove SharedDDP as it is deprecated (#25702)
* remove SharedDDP as it was drepracated

* apply review suggestion

* make style

* Oops,forgot to remove the compute_loss context manager in Seq2SeqTrainer.

* remove the unnecessary conditional statement

* keep the logic of IPEX

* clean code

* mix precision setup & make fixup

---------

Co-authored-by: statelesshz <jihuazhong1@huawei.com>
2023-10-06 16:03:11 +02:00
..
multiple_choice Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
pytorch-lightning Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
question-answering Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
seq2seq remove SharedDDP as it is deprecated (#25702) 2023-10-06 16:03:11 +02:00
text-classification Black preview (#17217) 2022-05-12 16:25:55 -04:00
token-classification Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
run_camembert.py [examples] make run scripts executable (#10037) 2021-02-05 15:51:18 -08:00
run_chinese_ref.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
run_language_modeling.py Black preview (#17217) 2022-05-12 16:25:55 -04:00
run_openai_gpt.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
run_swag.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
run_transfo_xl.py remove extra white space from log format (#12360) 2021-06-25 13:20:14 -07: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.