Repo for paper "Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability"
Python
110
9 commits
updated Aug 15, 2026
requirements.txt or use our Docker Hub image: jasonrqh/sft-generalization:v0.1.The paper revisits the prevailing narrative that "SFT memorizes, RL generalizes", mainly focusing on reasoning SFT (with long-CoT supervision). Our core conclusion is that generalization in reasoning SFT is highly conditional, jointly shaped by:
Main findings:
|-- training_scripts/ # SFT scripts used for the paper experiments
|-- evaluation/ # Unified evaluation toolkit (lm-eval-harness/evalchemy/math/alpaca/safety)
|-- verl/ # Core training framework (based on verl)
| |-- trainer/fsdp_sft_trainer_ours.py
| `-- utils/dataset/sft_dataset.py
You can set up the environment in either of the following ways:
# Option 1: install dependencies from requirements.txt
pip install -r requirements.txt
# Option 2: use our Docker Hub image
docker pull jasonrqh/sft-generalization:v0.1
Main dependencies:
torch, transformers, datasets, accelerate, hydra-core, ray, tensordict, peft, pyarrow, wandb, torchdata,flash-attnnumpy, pandas, scikit-learn, matplotlib, fastapi, vllmUpdate placeholders in training_scripts/*.sh:
ROOT_DIR=/path/to/this/repoTRAIN_DATA=/path/to/{dataset_name}WANDB_API_KEY=your_wandb_keyMODEL_PATH is already set in the provided scripts. Change it only if you want to use a different base model.
Distributed variables are expected from the runtime environment:
NODE_COUNTPROC_PER_NODENODE_RANKMASTER_ADDRWe trained all models on 8 H200 GPUs. If you encounter OOM errors, consider using a smaller micro_batch_size.
Current scripts call verl.trainer.fsdp_sft_trainer_ours with:
data.prompt_key=messagedata.response_key=responsedata.advantage_key=advantageEach parquet row should include at least:
message (chat-message list)response (string)advantage (scalar, commonly just 1.0)bash training_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.sh
training_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr1e-5_ep1_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256_ConstLR.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr1e-4_ep16_bs256_ConstLR.shtraining_scripts/Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Countdown-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_DeepSeek-R1-20k_lr5e-5_ep8_bs256.sh
training_scripts/Qwen3-14B_Numina-Math-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-1.7B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-4B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.shpython -m verl.model_merger merge \
--backend fsdp \
--local_dir /path/to/ckpt/global_step_640 \
--target_dir /path/to/ckpt/merged_step640 \
--trust_remote_code
Batch merge helper:
bash training_scripts/model_merger.sh
Before using model_merger.sh, update ckpt_path_list in the script (for example /path/to/model/global_step_640).
We have open-sourced ALL models trained in our experiments, including the intermediate checkpoints (you can find them in the stepxxx folder in the repo).
Note that the following model list may include repeated entries, as it is organized by the experiments and conclusions presented in the paper.
| Model Name | Huggingface | ModelScope |
|---|---|---|
| Weak cross-domain generalization is more pronounced under short training and smaller learning rates (refer to Sec. 3.1; App. C.1, Table 4) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-5_ep1_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-5_ep2_bs256 | Huggingface | ModelScope |
| Apparent non-generalization can be an under-optimization artifact, with a dip-and-recovery pattern under extended training (refer to Sec. 3.1-3.2, Fig. 3) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| The above optimization dynamics remain robust under a different teacher model (refer to App. C.2, Fig. 7) | ||
| Qwen3-14B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Under a fixed 640-step budget, repeated exposure is more effective than one-pass coverage (refer to Sec. 3.3, Table 1) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-2.5k_lr5e-5_ep8_bs32 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs32 | Huggingface | ModelScope |
| Overfitting symptoms emerge mainly under combined aggressive schedules (refer to Sec. 3.4, Fig. 4; App. C.4) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256_ConstLR | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-4_ep16_bs256_ConstLR | Huggingface | ModelScope |
| Training data quality and structure jointly shape generalization (refer to Sec. 4, Table 2) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Higher-capability models internalize transferable reasoning patterns more effectively and generalize better (refer to Sec. 5, Fig. 5) | ||
| Qwen3-1.7B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| The capability-dependent trend extends to another model family (refer to App. C.2/C.5, Fig. 8/14/15) | ||
| Qwen2.5-1.5B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-3B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-7B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Asymmetric generalization: reasoning improves while safety degrades under long-CoT SFT (refer to Sec. 6, Fig. 6) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Appendix: smaller and mid-scale models across data configurations (refer to App. D) | ||
| Qwen3-1.7B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-1.7B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
We provide the main datasets used in our experiments.
| Dataset Name | Description | Size | Huggingface | ModelScope |
|---|---|---|---|---|
| Math-CoT-20k | Verified long-CoT math reasoning data (default setting in the paper) | 20,480 | Huggingface | ModelScope |
| Math-NoCoT-20k | Math-CoT-20k with CoT traces removed (final summary/answer retained) | 20,480 | Huggingface | ModelScope |
| Countdown-CoT-20k | Countdown arithmetic-game long-CoT data for procedural transfer analysis | 20,480 | Huggingface | ModelScope |
| NuminaMath-20k | No-CoT math data with the matched queries, sourced from NuminaMath-1.5 | 20,480 | Huggingface | ModelScope |
| DeepSeek-R1-20k | Verified long-CoT responses from DeepSeek-R1 on the same queries, sourced from the LUFFY dataset | 20,480 | Huggingface | ModelScope |
✨Note: We also release the raw dataset before filtering and random selection: Huggingface, Modelscope. This dataset contains around 44k queries, each with 32 responses generated by Qwen3-32B. For each textual response, we also release the token-level log probability and entropy from the teacher model. We believe this might be useful for someone who is interested in response diversity, token probability distribution, or other related topics.
Please refer to the evaluation guide in evaluation/README.md for details.
If you use our code, model, or dataset in your project, please consider citing us.
@inproceedings{ren2026rethinking,
title={Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability},
author={Qihan Ren and Peng Wang and Ruikun Cai and Shuai Shao and Dadi Guo and Yuejin Xie and Yafu Li and Quanshi Zhang and Xia Hu and Jing Shao and Dongrui Liu},
booktitle={Third Conference on Language Modeling},
year={2026},
url={https://openreview.net/forum?id=EvSOFcwnEb}
}
We thank the open-source communities and contributors behind verl, TinyZero, lm-evaluation-harness, evalchemy, Transferability-of-LLM-Reasoning, LLM-Extrapolation, and HarmBench.
7 commits
2 commits
Python
81.5%
Jupyter Notebook
15.2%
Shell
3.0%
Repo for paper "Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability"
Python
110
9 commits
updated Aug 15, 2026
requirements.txt or use our Docker Hub image: jasonrqh/sft-generalization:v0.1.The paper revisits the prevailing narrative that "SFT memorizes, RL generalizes", mainly focusing on reasoning SFT (with long-CoT supervision). Our core conclusion is that generalization in reasoning SFT is highly conditional, jointly shaped by:
Main findings:
|-- training_scripts/ # SFT scripts used for the paper experiments
|-- evaluation/ # Unified evaluation toolkit (lm-eval-harness/evalchemy/math/alpaca/safety)
|-- verl/ # Core training framework (based on verl)
| |-- trainer/fsdp_sft_trainer_ours.py
| `-- utils/dataset/sft_dataset.py
You can set up the environment in either of the following ways:
# Option 1: install dependencies from requirements.txt
pip install -r requirements.txt
# Option 2: use our Docker Hub image
docker pull jasonrqh/sft-generalization:v0.1
Main dependencies:
torch, transformers, datasets, accelerate, hydra-core, ray, tensordict, peft, pyarrow, wandb, torchdata,flash-attnnumpy, pandas, scikit-learn, matplotlib, fastapi, vllmUpdate placeholders in training_scripts/*.sh:
ROOT_DIR=/path/to/this/repoTRAIN_DATA=/path/to/{dataset_name}WANDB_API_KEY=your_wandb_keyMODEL_PATH is already set in the provided scripts. Change it only if you want to use a different base model.
Distributed variables are expected from the runtime environment:
NODE_COUNTPROC_PER_NODENODE_RANKMASTER_ADDRWe trained all models on 8 H200 GPUs. If you encounter OOM errors, consider using a smaller micro_batch_size.
Current scripts call verl.trainer.fsdp_sft_trainer_ours with:
data.prompt_key=messagedata.response_key=responsedata.advantage_key=advantageEach parquet row should include at least:
message (chat-message list)response (string)advantage (scalar, commonly just 1.0)bash training_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.sh
training_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr1e-5_ep1_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256_ConstLR.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr1e-4_ep16_bs256_ConstLR.shtraining_scripts/Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Countdown-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_DeepSeek-R1-20k_lr5e-5_ep8_bs256.sh
training_scripts/Qwen3-14B_Numina-Math-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-1.7B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-4B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256.shtraining_scripts/Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256.shpython -m verl.model_merger merge \
--backend fsdp \
--local_dir /path/to/ckpt/global_step_640 \
--target_dir /path/to/ckpt/merged_step640 \
--trust_remote_code
Batch merge helper:
bash training_scripts/model_merger.sh
Before using model_merger.sh, update ckpt_path_list in the script (for example /path/to/model/global_step_640).
We have open-sourced ALL models trained in our experiments, including the intermediate checkpoints (you can find them in the stepxxx folder in the repo).
Note that the following model list may include repeated entries, as it is organized by the experiments and conclusions presented in the paper.
| Model Name | Huggingface | ModelScope |
|---|---|---|
| Weak cross-domain generalization is more pronounced under short training and smaller learning rates (refer to Sec. 3.1; App. C.1, Table 4) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-5_ep1_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-5_ep2_bs256 | Huggingface | ModelScope |
| Apparent non-generalization can be an under-optimization artifact, with a dip-and-recovery pattern under extended training (refer to Sec. 3.1-3.2, Fig. 3) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| The above optimization dynamics remain robust under a different teacher model (refer to App. C.2, Fig. 7) | ||
| Qwen3-14B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_DeepSeek-R1-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Under a fixed 640-step budget, repeated exposure is more effective than one-pass coverage (refer to Sec. 3.3, Table 1) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-2.5k_lr5e-5_ep8_bs32 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep1_bs32 | Huggingface | ModelScope |
| Overfitting symptoms emerge mainly under combined aggressive schedules (refer to Sec. 3.4, Fig. 4; App. C.4) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep16_bs256_ConstLR | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr1e-4_ep16_bs256_ConstLR | Huggingface | ModelScope |
| Training data quality and structure jointly shape generalization (refer to Sec. 4, Table 2) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Numina-Math-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Higher-capability models internalize transferable reasoning patterns more effectively and generalize better (refer to Sec. 5, Fig. 5) | ||
| Qwen3-1.7B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| The capability-dependent trend extends to another model family (refer to App. C.2/C.5, Fig. 8/14/15) | ||
| Qwen2.5-1.5B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-3B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-7B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen2.5-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Asymmetric generalization: reasoning improves while safety degrades under long-CoT SFT (refer to Sec. 6, Fig. 6) | ||
| Qwen3-14B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-14B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-8B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| InternLM2.5-20B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Appendix: smaller and mid-scale models across data configurations (refer to App. D) | ||
| Qwen3-1.7B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-1.7B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Countdown-CoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
| Qwen3-4B_Math-NoCoT-20k_lr5e-5_ep8_bs256 | Huggingface | ModelScope |
We provide the main datasets used in our experiments.
| Dataset Name | Description | Size | Huggingface | ModelScope |
|---|---|---|---|---|
| Math-CoT-20k | Verified long-CoT math reasoning data (default setting in the paper) | 20,480 | Huggingface | ModelScope |
| Math-NoCoT-20k | Math-CoT-20k with CoT traces removed (final summary/answer retained) | 20,480 | Huggingface | ModelScope |
| Countdown-CoT-20k | Countdown arithmetic-game long-CoT data for procedural transfer analysis | 20,480 | Huggingface | ModelScope |
| NuminaMath-20k | No-CoT math data with the matched queries, sourced from NuminaMath-1.5 | 20,480 | Huggingface | ModelScope |
| DeepSeek-R1-20k | Verified long-CoT responses from DeepSeek-R1 on the same queries, sourced from the LUFFY dataset | 20,480 | Huggingface | ModelScope |
✨Note: We also release the raw dataset before filtering and random selection: Huggingface, Modelscope. This dataset contains around 44k queries, each with 32 responses generated by Qwen3-32B. For each textual response, we also release the token-level log probability and entropy from the teacher model. We believe this might be useful for someone who is interested in response diversity, token probability distribution, or other related topics.
Please refer to the evaluation guide in evaluation/README.md for details.
If you use our code, model, or dataset in your project, please consider citing us.
@inproceedings{ren2026rethinking,
title={Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability},
author={Qihan Ren and Peng Wang and Ruikun Cai and Shuai Shao and Dadi Guo and Yuejin Xie and Yafu Li and Quanshi Zhang and Xia Hu and Jing Shao and Dongrui Liu},
booktitle={Third Conference on Language Modeling},
year={2026},
url={https://openreview.net/forum?id=EvSOFcwnEb}
}
We thank the open-source communities and contributors behind verl, TinyZero, lm-evaluation-harness, evalchemy, Transferability-of-LLM-Reasoning, LLM-Extrapolation, and HarmBench.
7 commits
2 commits
Python
81.5%
Jupyter Notebook
15.2%
Shell
3.0%