mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-19 20:48:22 +06:00
![]() * Fix inefficient operations * Remove cpu() call * Reorder detach() * Reorder detach() * tolist without detach * item without detach * Update src/transformers/models/rag/modeling_rag.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update tests/models/encodec/test_modeling_encodec.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Use detach().cpu().numpy * Revert some numpy operations * More fixes --------- Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> |
||
---|---|---|
.. | ||
benchmarking | ||
multiple_choice | ||
pytorch-lightning | ||
question-answering | ||
seq2seq | ||
token-classification | ||
README.md | ||
run_camembert.py | ||
run_chinese_ref.py | ||
run_language_modeling.py | ||
run_openai_gpt.py | ||
run_swag.py | ||
run_transfo_xl.py |
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.