Overview of trlX Trainers
maintrlX provides several trainer implementations categorized by their underlying execution framework. Developers can choose between abstract base trainers, Accelerate-based trainers for distributed training via Hugging Face Accelerate, or NeMo-based trainers for NVIDIA NeMo integration.
Trainer Categories
- Abstract Trainers: Base classes defining the core reinforcement learning trainer interface.
- Accelerate Trainers: Implementations optimized for use with the
acceleratelibrary, supporting various RL algorithms:AcceleratePPOTrainer: For Proximal Policy Optimization.AccelerateILQLTrainer: For Implicit Q-Learning.AccelerateSFTTrainer: For Supervised Fine-Tuning.
- NeMo Trainers: Implementations designed for NVIDIA NeMo integration:
NeMoPPOTrainerNeMoILQLTrainer- `NeMoSFTTrainer"