Skip to main content

trl-training

Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training. Use when writing or debugging training code with the TRL Python API or the trl CLI.

Jump to install

Source facts

Repository
huggingface/trl
Last source activity
August 26, 2026 at 19:09
Detected SKILL.md language
English
Stars
19,180
Forks
2,943

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.