Hugging Face · Agent Skill
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.
- Repository owner
- huggingface
Install
Read the SKILL.md and any scripts before installing: a skill runs with your agent's permissions. This copies just this skill into Claude Code's user skills folder; other agents read skills from their own folder.
Claude Code (user-level)
git clone --depth 1 --filter=blob:none --sparse https://github.com/huggingface/skills.git /tmp/skills cd /tmp/skills && git sparse-checkout set "skills/trl-training" mkdir -p ~/.claude/skills && cp -r "skills/trl-training" ~/.claude/skills/trl-training
Skills folder docs:
Works with
Agent Skills is an open format, so this skill loads in any harness that supports it, including Claude Code, Codex, Gemini CLI, OpenCode, Cursor, GitHub Copilot, goose, OpenHands. Some skills are written for one product and say so in their description.
More skills from Hugging Face
Reviewed Oct 5, 2026. Name and description are the skill's own frontmatter.