transformers/docs/source/en
Quentin Gallouédec c989ddd294
Simplify and update trl examples (#38772)
* Simplify and update trl examples

* Remove optim_args from SFTConfig in Trainer documentation

* Update docs/source/en/trainer.md

* Apply suggestions from code review

* Update docs/source/en/trainer.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Quentin Gallouédec <qgallouedec@Quentins-MacBook-Pro.local>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2025-06-13 12:03:49 +00:00
..
internal Remove all traces of low_cpu_mem_usage (#38792) 2025-06-12 16:39:33 +02:00
main_classes Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
model_doc Simplify and update trl examples (#38772) 2025-06-13 12:03:49 +00:00
quantization Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
reference Enhance Model Loading By Providing Parallelism, Uses Optional Env Flag (#36835) 2025-05-23 16:39:47 +00:00
tasks Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
_config.py
_redirects.yml
_toctree.yml Add V-JEPA 2 (#38746) 2025-06-11 15:00:08 +01:00
accelerate.md
accelerator_selection.md [docs] add xpu environment variable for gpu selection (#38194) 2025-05-30 16:05:07 +00:00
add_new_model.md Transformers cli clean command (#37657) 2025-04-30 12:15:43 +01:00
add_new_pipeline.md
agents.md
attention_interface.md 🚨🚨[core] Completely rewrite the masking logic for all attentions (#37866) 2025-05-22 11:38:26 +02:00
attention.md
auto_docstring.md [AutoDocstring] Based on inspect parsing of the signature (#33771) 2025-05-08 17:46:07 -04:00
backbones.md
cache_explanation.md [docs] Format fix (#38414) 2025-06-03 09:53:23 -07:00
chat_extras.md
chat_templating_multimodal.md
chat_templating_writing.md
chat_templating.md
community.md
contributing.md
conversations.md [chat] generate parameterization powered by GenerationConfig and UX-related changes (#38047) 2025-05-12 14:04:41 +01:00
custom_models.md
debugging.md
deepspeed.md
executorch.md
fast_tokenizers.md
feature_extractors.md
fsdp.md
generation_features.md
generation_strategies.md [custom_generate] don't forward custom_generate and trust_remote_code (#38304) 2025-05-23 14:49:39 +00:00
gguf.md
glossary.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
how_to_hack_models.md [doc] fix bugs in how_to_hack_models.md (#38198) 2025-05-19 10:37:54 -07:00
hpo_train.md [Nit] Add Note on SigOpt being in Public Archive Mode (#38610) 2025-06-05 14:07:23 -07:00
image_processors.md 🔴 Video processors as a separate class (#35206) 2025-05-12 11:55:51 +02:00
index.md Reword README in light of model definitions (#38762) 2025-06-12 14:43:31 +01:00
installation.md
kv_cache.md [docs] update cache docs with new info (#38775) 2025-06-13 07:10:56 +00:00
llm_optims.md
llm_tutorial_optimization.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
llm_tutorial.md [custom_generate] don't forward custom_generate and trust_remote_code (#38304) 2025-05-23 14:49:39 +00:00
model_memory_anatomy.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
model_sharing.md
model_summary.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
models.md Remove all traces of low_cpu_mem_usage (#38792) 2025-06-12 16:39:33 +02:00
modular_transformers.md Never fallback to eager implicitly (#38327) 2025-05-23 19:48:01 +02:00
notebooks.md
optimizers.md
pad_truncation.md
peft.md
perf_hardware.md
perf_infer_cpu.md remove ipex_optimize_model usage (#38632) 2025-06-06 20:04:44 +02:00
perf_infer_gpu_multi.md Fix: make docs work better with doc builder (#38213) 2025-05-20 08:23:03 +00:00
perf_infer_gpu_one.md Small typo lines 47 and 199 perf_infer_gpu_one.md (#37938) 2025-05-06 14:32:55 +01:00
perf_torch_compile.md
perf_train_cpu_many.md remove ipex_optimize_model usage (#38632) 2025-06-06 20:04:44 +02:00
perf_train_cpu.md remove ipex_optimize_model usage (#38632) 2025-06-06 20:04:44 +02:00
perf_train_gaudi.md Add Intel Gaudi doc (#37855) 2025-04-29 13:28:06 -07:00
perf_train_gpu_many.md
perf_train_gpu_one.md
perf_train_special.md
perf_train_tpu_tf.md
perplexity.md
philosophy.md
pipeline_gradio.md
pipeline_tutorial.md
pipeline_webserver.md
pr_checks.md
processors.md [docs] add Audio import (#38195) 2025-05-19 13:16:35 +00:00
quicktour.md
run_scripts.md
serialization.md
serving.md fix docs serving typos. (#37936) 2025-05-06 14:32:44 +01:00
task_summary.md [doctest] Fixes (#35863) 2025-01-26 15:26:38 -08:00
tasks_explained.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
testing.md
tf_xla.md
tflite.md
tokenizer_summary.md Use HF papers (#38184) 2025-06-13 11:07:09 +00:00
tools.md
torchscript.md Fix wording in torchscript.md (#38004) 2025-05-08 16:47:45 +01:00
trainer.md Simplify and update trl examples (#38772) 2025-06-13 12:03:49 +00:00
training.md
troubleshooting.md
video_processors.md 🔴 Video processors as a separate class (#35206) 2025-05-12 11:55:51 +02:00