domains / families / software-engineering / trl
Reference for the TRL (Transformer Reinforcement Learning) library codebase. Use proactively before reading or editing any file under `trl/` so you have the intended contracts and invariants in mind, not just what the current code says. Covers trainer hierarchy (SFT, DPO, GRPO, KTO), shared utility functions (selective_log_softmax, decode_and_strip_padding, padding helpers), configuration system, model wrappers, and how data flows through any TRL trainer.
| Repository | Path |
|---|---|
| benchflow-ai/skillsbench | tasks/debug-trl-grpo/environment/skills/trl/SKILL.md |