TensorX
返回文献探索

Paper · arXiv 2412.00154

o1-Coder: an o1 Replication for Coding

Yuxiang Zhang, Shangxi Wu, Yuqi Yang, Jiangming Shu, Jinlin Xiao, Chao Kong, Jitao Sang

45 upvotesNovember 29, 2024arXiv 预印本
AI 摘要

O1-CODER integrates reinforcement learning and Monte Carlo Tree Search to enhance coding capabilities, focusing on pseudocode and full code generation through iterative fine-tuning and standardized code testing.

reinforcement learningMonte Carlo Tree SearchTest Case Generatorpolicy modelpseudocodefull code generationiterative fine-tuningstandardized code testing

Abstract

The technical report introduces O1-CODER, an attempt to replicate OpenAI's o1 model with a focus on coding tasks. It integrates reinforcement learning (RL) and Monte Carlo Tree Search (MCTS) to enhance the model's System-2 thinking capabilities. The framework includes training a Test Case Generator (TCG) for standardized code testing, using MCTS to generate code data with reasoning processes, and iteratively fine-tuning the policy model to initially produce pseudocode, followed by the generation of the full code. The report also addresses the opportunities and challenges in deploying o1-like models in real-world applications, suggesting transitioning to the System-2 paradigm and highlighting the imperative for environment state updates. Updated model progress and experimental results will be reported in subsequent versions. All source code, curated datasets, as well as the derived models will be disclosed at https://github.com/ADaM-BJTU/O1-CODER .

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
o1-Coder: an o1 Replication for Coding | TensorX