model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3.5-9B
|
| 4 |
+
tags: [debugging, code, reinforcement-learning, gdpo, agent, precisecoder]
|
| 5 |
+
---
|
| 6 |
+
# PreciseCoder-9B-Agent
|
| 7 |
+
|
| 8 |
+
馃搫 [Paper (arXiv:2610.18755)](https://arxiv.org/abs/2610.18755) 路 馃寪 [Project page](https://precise-coder-rl.github.io/) 路 馃捇 [Code](https://github.com/precise-coder-rl/PreciseCoder)
|
| 9 |
+
|
| 10 |
+
Qwen3.5-9B post-trained with multi-turn agentic reinforcement learning for **precise debugging**: the model
|
| 11 |
+
inspects buggy Python code with tools and repairs it with minimal edits (PreciseCoder project).
|
| 12 |
+
|
| 13 |
+
**Recipe.** Agentic GDPO from the base model, with two rewards weighted 2:1: unit-test pass and unit-gated F1
|
| 14 |
+
(edit-block F1 against the ground-truth diff). The agent loop has up to 5 turns with `view`, `str_replace_editor`
|
| 15 |
+
and `submit` tools. 328 steps, final checkpoint.
|
| 16 |
+
|
| 17 |
+
**Eval:**
|
| 18 |
+
|
| 19 |
+
| eval | result |
|
| 20 |
+
|---|---|
|
| 21 |
+
| PDB test, agentic (1205 BigCodeBench + LiveCodeBench debugging tasks, 5 turns) | unit 0.685 路 precision 0.721 路 recall 0.796 路 F1 0.731 路 edit lines 2.9 |
|
| 22 |
+
|
| 23 |
+
Load with `transformers` / vLLM (>=0.17) as a standard Qwen3.5 model (thinking enabled by default).
|
| 24 |
+
|
| 25 |
+
## Citation
|
| 26 |
+
|
| 27 |
+
```bibtex
|
| 28 |
+
@article{precisecoder,
|
| 29 |
+
title = {{PreciseCoder}: Faithful and Generalizable Debugging Beyond Unit-Test Rewards},
|
| 30 |
+
author = {Zhan, Yunkai and Chai, Miaosen and Wang, Shangshang and Zhong, Jike and Yang, Yuqing and Fu, Deqing and Chang, Serina and Zhu, Wang Bill},
|
| 31 |
+
journal = {arXiv preprint arXiv:2610.18755},
|
| 32 |
+
year = {2026}
|
| 33 |
+
}
|
| 34 |
+
```
|