home/categories/machine-learning/nousresearch-hermes-agent-skills-mlops-training-trl-fine-tuning-skill-md
machine-learningdata-ai

fine-tuning-with-trl

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

NousResearch
maintainer
NousResearch
Atualizado 3/9/2026
Estrelas
54282
Forks
7115
quick start

Installation and usage

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use fine-tuning-with-trl