Обзор
TRL builds on the Transformers ecosystem and provides trainers for methods such as supervised fine-tuning (SFT), direct preference optimization (DPO), and group relative policy optimization (GRPO). It supports distributed training integrations and parameter-efficient fine-tuning workflows.
Основные функции
- SFT, DPO, GRPO and related trainers
- Transformers ecosystem integration
- Distributed training support
- CLI and Python APIs
Требования, установка и быстрый старт
Использование
Совместимость моделей и варианты использования
Designed for transformer models in the Hugging Face ecosystem; architecture and hardware support depends on the chosen method and dependencies.
Лицензия и примечания о рисках
The repository declares Apache-2.0. Dataset, base-model, and hosted service terms are separate.
Релиз и сопровождение
See the official repository for current releases and changes.