trl-training
A compact Hugging Face skill for post-training language models with the TRL library, through its Python API or the trl command line.
What the skill teaches
A compact Hugging Face skill for post-training language models with the TRL library, through its Python API or the trl command line. It maps each training method (supervised fine-tuning, DPO, GRPO online reinforcement learning, distillation, KTO and reward models) to its trainer class, config and expected dataset format, explains the fields that matter for SFT and the setup for GRPO reward functions, notes that configs extend the Transformers training arguments, and points to the experimental trainers. It is guidance only and links to the TRL documentation for more.
Capabilities
- Pick the TRL trainer and dataset format for a method
- Set up supervised fine-tuning runs
- Configure GRPO reward functions
- Run training from the trl CLI
About
- Publisher
- Hugging Face
- Tool
- Hugging Face
Works with
Install
- Run this to add it to Any client:
hf skills add trl-training
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Hugging Face | |
| Publisher | Hugging Face | source |
| Official status | OfficialHugging Face Hub docs link to the huggingface/skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202611,334 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Hugging Face
1 server · 26 skills
- hf-mcp (Skill)
- hf-cli (Skill)
- hf-mem (Skill)
- huggingface-best (Skill)
- huggingface-community-evals (Skill)
- huggingface-datasets (Skill)
Sources
- README (README.md)github.com/huggingface/skills · Backs: AI clientsNov 13, 2026
- Skill file (SKILL.md)github.com/huggingface/skillsNov 10, 2026
- Licence file (LICENSE)github.com/huggingface/skills · Backs: LicenceNov 13, 2026
- Web pagehuggingface.co · Backs: Official statusNov 13, 2026
- GitHub repositorygithub.com/huggingface/skills · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (trl-training)github.com/huggingface/skills · Backs: Includes scriptsNov 10, 2026