Pure RL to post-train base models for social reasoning capabilities. Lightweight replication of DeepSeek-R1-Zero with Social IQa dataset.
41
stars
1
commits
Python
primary language
Mar 16, 2025
updated
DeepEnlighten is a lightweight replication study of the DeepSeek-R1-Zero framework. This project investigates the use of pure reinforcement learning (RL) without supervised fine-tuning (SFT) to post-train base models for social reasoning capabilities.
It leverages the following key components:
Social IQa:
DeepEnlighten/examples/data_preprocess/social_iqa.py.DeepEnlighten/data. Note that Llama3.2-Instruct and Qwen2.5-Instruct use different instruction tuning templates, so separate datasets are required for each.DeepEnlighten/verl/utils/reward_score/socialiqa.py.After configuring your WandB, GPUs, and other settings, execute the training:
bash run_rl_trainer_xxx.sh
For details, refer to:
analysis directory: Contains log analysis of CoT, language mixing, and "aha moment".evaluation directory: Contains evaluation results on math benchmarks.(Base Model = Llama3.2-3B-Instruct, 1000 Steps RL, Number of Samples in Parenthesis)
| Task | DeepEnglighten-3B | Llama3.2-3B-Instruct |
|---|---|---|
| math-cot-test | 0.4419 (3750) | 0.2672 (3750) |
| cmath-cot-test | 0.5995 (824) | 0.5480 (823) |
| gsm8k-cot-test | 0.7576 (330) | 0.7660 (329) |
(Base Model = Llama3.2-3B-Instruct)
| Category | Count | Percentage |
|---|---|---|
| Only English | 96674 | 98.23% |
| Only Chinese | 0 | 0.00% |
| Mixed (English & Chinese) | 1727 | 1.75% |
This project builds upon and references several open-source works:
1 commits
Python
96.9%
Shell
3.0%
Pure RL to post-train base models for social reasoning capabilities. Lightweight replication of DeepSeek-R1-Zero with Social IQa dataset.
41
stars
1
commits
Python
primary language
Mar 16, 2025
updated
DeepEnlighten is a lightweight replication study of the DeepSeek-R1-Zero framework. This project investigates the use of pure reinforcement learning (RL) without supervised fine-tuning (SFT) to post-train base models for social reasoning capabilities.
It leverages the following key components:
Social IQa:
DeepEnlighten/examples/data_preprocess/social_iqa.py.DeepEnlighten/data. Note that Llama3.2-Instruct and Qwen2.5-Instruct use different instruction tuning templates, so separate datasets are required for each.DeepEnlighten/verl/utils/reward_score/socialiqa.py.After configuring your WandB, GPUs, and other settings, execute the training:
bash run_rl_trainer_xxx.sh
For details, refer to:
analysis directory: Contains log analysis of CoT, language mixing, and "aha moment".evaluation directory: Contains evaluation results on math benchmarks.(Base Model = Llama3.2-3B-Instruct, 1000 Steps RL, Number of Samples in Parenthesis)
| Task | DeepEnglighten-3B | Llama3.2-3B-Instruct |
|---|---|---|
| math-cot-test | 0.4419 (3750) | 0.2672 (3750) |
| cmath-cot-test | 0.5995 (824) | 0.5480 (823) |
| gsm8k-cot-test | 0.7576 (330) | 0.7660 (329) |
(Base Model = Llama3.2-3B-Instruct)
| Category | Count | Percentage |
|---|---|---|
| Only English | 96674 | 98.23% |
| Only Chinese | 0 | 0.00% |
| Mixed (English & Chinese) | 1727 | 1.75% |
This project builds upon and references several open-source works:
1 commits
Python
96.9%
Shell
3.0%