Mini-R1
Mini-R1 is a tutorial and code project that reproduces the DeepSeek R1 "aha moment" through reinforcement learning. The project uses Group Relative Policy Optimization (GRPO) and the Countdown Game puzzle to train open-source models to learn self-verification and search capabilities on their own. The tutorial includes interactive Jupyter Notebook code, covering environment setup, generating training samples, training models with TRL and GRPO, and examples of distributed training using Deepspeed and vLLM. It also provides training observations and hyperparameter tuning experience, suitable for developers who want to learn about applying reinforcement learning to LLM reasoning.