We replicated the DeepSeek-R1-Zero and DeepSeek-R1 training on 7B...

@junxian_he
Junxian He@junxian_he
16 views Jan 27, 2025 ~1 min read
Advertisement
1
We replicated the DeepSeek-R1-Zero and DeepSeek-R1 training on 7B model with only 8K examples, the results are surprisingly strong.

🚀 Starting from Qwen2.5-Math-7B (base model), we perform RL on it directly. No SFT, no reward model, just 8K MATH examples for verification, the resultant model achieves (pass@1) 33.3% on AIME, 62.5% on AMC, and 77.2% on MATH, outperforming Qwen2.5-math-7B-instruct and being comparable to PRIME and rStar-MATH that use >50x more data and more complicated components.
🚀 Increased CoT length and self-reflection emerge

We share the details and our findings in the blog:
hkust-nlp.notion.site/simplerl-reason
Training code and implementation details here: github.com/hkust-nlp/simp…
Media image
Media image
2
Main results below. Qwen2.5-7B-SimpleRL-Zero is pure PPO on the Qwen2.5-Math-7B base model, using only 8K examples from the MATH dataset. Qwen2.5-7B-SimpleRL does Long CoT SFT first as a cold start and then RL. Across both approaches, we only utilize the same 8K MATH examples.
Media image
3
Data comparison with other approaches. We only use 8K examples from the MATH dataset and that's it.
Media image
4
Around step 44, the "aha moment" emerges
Media image
5
Evaluation accuracy and length dynamics on 8 benchmarks. We found that the Qwen2.5-Math base model generates long responses since it produces a lot of code mixed with text to solve the problem. Throughout RL training, this pattern is gradually removed reflected by a length decrease, and then the model starts to learn its own long reasoning
Media image
6
The main contributors to this project are the amazing @AndrewZeng17 and @yuzhenh17 ! Also thanks for the efforts of other collaborators @WeiLiu99 , Keqing He, @sivil_taram , and Zejun Ma!
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement