home/categories/machine-learning/huggingface-trl-trl-skills-trl-training-skill-md
machine-learningdata-ai

trl-training

Train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.

huggingface
maintainer
huggingface
Updated 2/16/2026
Stars
17998
Forks
2632
quick start

Installation and usage

Train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use trl-training