trl-training: An Agent Skill for LLM Post-Training and Alignment with TRL
trl-training is a workflow Skill in the Hugging Face Skills repository that guides an Agent to write or debug SFT, DPO, GRPO, KTO, and reward model training code using TRL (Transformers Reinforcement Learning), covering dataset formats, key points of SFTConfig/GRPOConfig, and the trl CLI. The article explains its division of responsibilities with huggingface-llm-trainer, how to install it using hf skills add, and how to use it reproducibly based on official examples, along with notes on GRPO, vLLM, and other related considerations.
Read More