What problem does it solve?
Training models on tasks with algorithmically checkable outcomes (math answers, code tests, schema-valid output) requires a correctly configured GRPO setup, and misconfigured reward functions or hyperparameters cause reward hacking and divergent runs.
Core Features & Use Cases
- Reference GRPO Recipe: Provides a validated TRL GRPOTrainer configuration with vLLM-backed generation, including settled starting values for learning rate, KL coefficient, and generation count.
- Reward Function Library: Supplies runnable reward functions for exact-match correctness, JSON schema validation, sandboxed unit-test execution, length penalties, and rubric-based judging.
- Variant Selection Guidance: Diagnoses failure modes like entropy collapse, length bias, and MoE instability, routing to DAPO, Dr.GRPO, or GSPO variants only when symptoms appear.
- Use Case: You have an SFT checkpoint that sometimes solves math problems correctly. Use this Skill to produce a validated GRPO config with a composite format-plus-correctness reward, inspect the reward against 50-100 sampled outputs, then hand the config to a training engineer.
Quick Start
Set up a GRPO training run with verifiable rewards for my math reasoning model that already succeeds on some problems.