talira

Compare

TinyZeroverlTRLTrain LLM From Scratch
What it isMinimal reproduction of DeepSeek R1-Zero reinforcement learning on small modelsFlexible, efficient reinforcement learning post-training for LLMsA comprehensive library to post-train foundation modelsPlain-PyTorch codebase to pretrain and post-train your own small language models
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.170.760.760.69
Stars13269243651982113339
Last commit2026-02-272026-11-262026-11-252026-11-16
LicenceApache-2.0Apache-2.0Apache-2.0MIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyJiayi Panverl community and ByteDanceHugging FaceFareed Khan
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
Limitations
  • deprecated by its makers in favour of veRL
  • pins older versions (Python 3.9, PyTorch 2.4.0) in its setup
      • billion-parameter configs need a large GPU; a free Colab or Kaggle T4 fits the 13M model but not a billion-parameter one