Downloads ยท 30 days
119
17% of all-time downloads
tencent/DRIVE-SFT
DRIVE-SFT is a text generation model from tencent. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads ยท 30 days
119
17% of all-time downloads
All-time downloads
717
Public
Parameters
32.8B
131 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors131 GB ยท 100%
From the Hugging Face model README
Hunyuan Team, Tencent
</div> <p align="center"> <a href="https://arxiv.org/abs/2511.06307">๐ Paper</a> โข <a href="https://huggingface.co/tencent/DRIVE-SFT">๐ SFT Model </a> โข <a href="https://huggingface.co/tencent/DRIVE-RL">๐ RL Model </a> โข <a href="#citation"><b>๐ Citation</b></a> </p>Recent reasoning-first models have spurred a resurgence of interest in RLVR (Reinforcement Learning with Verifiable Reward). However, advances are dominated by mathematics, with competitive-programming code generation being relatively underexplored. This work investigates how to construct RLVR datasets and presents practical training techniques that yield strong performance.
Our pipeline begins with Supervised Fine-Tuning (SFT) distilled from strong open-source models. This is followed by a two-stage RL process using executable, testcase-driven rewards:
We implement our method on Qwen2.5-32B and achieve state-of-the-art performance among models of similar scale, comparable to leading systems like DeepSeek v3.1.
Our training pipeline consists of two main phases: Supervised Fine-Tuning (SFT) and a Two-Stage Reinforcement Learning process, as illustrated below.

Figure 2: The training pipeline of our models.
We begin by fine-tuning Qwen2.5-32B. The key innovation in this stage is Difficulty-Aware Sampling:
After SFT, the model still suffers from low entropy, repetitive generation, and poor performance on hard problems. Our two-stage RL process directly addresses this.
Stage 1: Entropy Expansion

Figure 3: The entropy comparison of 24k-style training and 32k-style training.
Stage 2: Hard-Focus Curriculum
Our final 32B model, DRIVE-RL, achieves state-of-the-art performance among similarly sized models and is competitive with larger 64k-context models.

Figure 1: Performance of our models on various benchmarks.
The two-stage RL pipeline provides significant improvements over the SFT baseline, particularly on challenging benchmarks. We see a +58.3% relative improvement on Codeforces OJ.
| Model | LiveCode 08-11 | LiveCode V5 | LiveCode V6 | LeetCode Weekly (32) | Codeforces OJ (33) |
|---|---|---|---|---|---|
| DeepseekV3.1 (64k) | 0.692 | 0.713 | 0.693 | 0.688 | 0.161 |
| Seed1.6-0715 (64k) | 0.803 | 0.824 | 0.770 | 0.743 | 0.188 |
| Qwen3-235B-2507 (64k) | 0.681 | 0.713 | 0.646 | 0.688 | 0.200 |
| --- | --- | --- | --- | --- | --- |
| SFT model (32k) | 0.602 | 0.594 | 0.549 | 0.578 | 0.115 |
| RL Stage 1 model (24k) | 0.625 | 0.627 | 0.634 | 0.603 | 0.112 |
| DRIVE-RL model (32k) | 0.699 | 0.697 | 0.703 | 0.653 | 0.182 |
| Rel. Improvement (RL vs SFT) | +16.1% | +17.3% | +28.1% | +13.0% | +58.3% |
(Data sourced from Table 2 in our paper)
<a id="citation"></a>
If you find this work useful, please cite our paper:
@misc{zhu2025drivedatacurationbest,
title={DRIVE: Data Curation Best Practices for Reinforcement Learning with Verifiable Reward in Competitive Code Generation},
author={Speed Zhu and Jianwei Cai and Guang Chen and Lulu Wu and Saiyong Yang and Wiggin Zhou},
year={2025},
eprint={2511.06307},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2511.06307},
}
This repository contains two separate licenses for different models:
Please refer to the respective license file for the model you are using.