| What it is | Minimal reproduction of DeepSeek R1-Zero reinforcement learning on small models | Flexible, efficient reinforcement learning post-training for LLMs | A comprehensive library to post-train foundation models | Plain-PyTorch codebase to pretrain and post-train your own small language models |
| Features | - RL training that reproduces R1-Zero's self-verification on a 3B model
- countdown and multiplication tasks
- built on veRL
| - RL post-training for LLMs: PPO, GRPO and more
- hybrid-controller programming model for RL dataflows
- FSDP and Megatron-LM training backends
- vLLM and SGLang rollout
- Hugging Face model support
- 3D-HybridEngine resharding between training and generation
| - SFTTrainer for supervised fine-tuning
- DPOTrainer, KTOTrainer, CPO and ORPO for preference optimization
- GRPOTrainer, AsyncGRPOTrainer and RLOOTrainer for online RL
- RewardTrainer for reward models
- Knowledge distillation trainers
- Scales with Accelerate, DDP, DeepSpeed ZeRO and FSDP
- PEFT integration for LoRA and QLoRA
- vLLM generation for online methods
- All 10 features
| - pretraining and post-training stages (SFT, reward model, PPO, DPO, ORPO, KTO, GRPO) in plain PyTorch
- per-stage JSON configs with command-line overrides
- presets from a CPU-sized 369K-parameter model to billion-parameter configs
- classic and modern Transformer architectures, including Mixture of Experts
- Streamlit control panel
|