PKU-DS-LAB/FairyR1-32B 已完整同步
Welcome to FairyR1-32B created by PKU-DS-LAB!
| Benchmark | DeepSeek-R1-671B | DeepSeek-R1-Distill-Qwen-32B | FairyR1-32B (PKU) |
|---|---|---|---|
| AIME 2024 (Math) | 79.8 | 72.6 | 80.4 |
| AIME 2025 (Math) | 70.0 | 52.9 | 75.6 |
| LiveCodeBench (Code) | 65.9 | 57.2 | 67.7 |
| GPQA-Diamond (Sci-QA) | 71.5 | 62.1 | 60.0 |
Introduction
FairyR1-32B, a highly efficient large-language-model (LLM) that matches or exceeds larger models on select tasks despite using only ~5% of their parameters. Built atop the DeepSeek-R1-Distill-Qwen-32B base, FairyR1-32B leverages a novel “distill-and-merge” pipeline—combining task-focused fine-tuning with model-merging techniques to deliver competitive performance with drastically reduced size and inference cost. This project was funded by NSFC, Grant 624B2005.
Model Details
The FairyR1 model represents a further exploration of our earlier work TinyR1, retaining the core “Branch-Merge Distillation” approach while introducing refinements in data processing and model architecture.
In this effort, we overhauled the distillation data pipeline: raw examples from datasets such as AIMO/NuminaMath-1.5 for mathematics and OpenThoughts-114k for code were first passed through multiple 'teacher' models to generate candidate answers. These candidates were then carefully selected, restructured, and refined, especially for the chain-of-thought(CoT). Subsequently, we applied multi-stage filtering—including automated correctness checks for math problems and length-based selection (2K–8K tokens for math samples, 4K–8K tokens for code samples). This yielded two focused training sets of roughly 6.6K math examples and 3.8K code examples.
On the modeling side, rather than training three separate specialists as before, we limited our scope to just two domain experts (math and code), each trained independently under identical hyperparameters (e.g., learning rate and batch size) for about five epochs. We then fused these experts into a single 32B-parameter model using the ArceeFusion tool. By streamlining both the data distillation workflow and the specialist-model merging process, FairyR1 achieves task-competitive results with only a fraction of the parameters and computational cost of much larger models.
Result Analysis and Key Contributions:
From the test results, FairyR1 scored slightly higher than DeepSeek-R1-671B on the AIME 2025 and LiveCodeBench benchmarks, and performed comparably on AIME 2024.
These results indicate that, by building on the DeepSeek‑R1‑Distill‑Qwen‑32B base and applying targeted techniques, FairyR1 achieves comparable or slightly superior performance in mathematical and programming domains using only about 5% of the parameter count of much larger models, although performance gaps may remain in other fields such as scientific question answering.
This work demonstrates the feasibility of significantly reducing model size and potential inference cost through optimized data processing and model fusion techniques while maintaining strong task-specific performance.
Model Description
- Developed by: PKU-DS-LAB
- Model type: Reasoning Model
- Language(s) (NLP): English, Chinese
- License: apache-2.0
- Finetuned from model: DeepSeek-R1-Distill-Qwen-32B
Training Data
- Math: 6.6k CoT trajectories from AI-MO/NuminaMath-1.5, default subset
- Coding: 3.8k CoT trajectorie
21 个文件
浏览文件数据集版权信息
本数据集的许可证为 Apache License 2.0。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415 --overwrite
仅包含匹配路径
wehub datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415 --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415 --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_2034_9a0427b415 --revision 207ec8a03c1c3522a8935ff00f899eaad92bef20 --output ./ds_ext_2034_9a0427b415 --jobs 8
完整帮助:wehub datasets download --help