OA0
OA0 是一个探索 AI 的社区
现在注册
已注册用户请  登录
OA0  ›  论文  ›  abs/2308.07124

OctoPack:通过代码生成与执行提升复杂推理能力

 
  essence ·  2026-10-25 11:01:29 · 27 次点击  · 0 条评论  

OctoPack: Instruction Tuning Code Large Language Models

基本信息

  • 标题:OctoPack: Instruction Tuning Code Large Language Models
  • 作者:Niklas Muennighoff, Qian Liu, Armel Zebaze, Qinkai Zheng, Binyuan Hui, Terry Yue Zhuo, Swayam Singh, Xiangru Tang, Leandro von Werra, Shayne Longpre
  • arXiv 编号:arXiv:2308.07124(cs.CL,交叉 cs.AI)
  • 提交时间:2023 年 8 月 14 日(v1);最后修订:2024 年 2 月 18 日(v2)
  • 备注:60 页(其中正文 9 页),40 幅图,19 张表
  • DOI:https://doi.org/10.48550/arXiv.2308.07124

摘要

在指令数据上微调大语言模型(LLM)能显著提升自然语言任务的表现。本文利用 Git commit 的天然结构(代码改动与人类指令成对出现),将指令微调应用于代码领域,构建了 CommitPack:一个覆盖 350 种编程语言、总量达 4 TB 的 Git commit 数据集。

作者在 160 亿参数的 StarCoder 模型上,将 CommitPack 与其它自然及合成代码指令数据(xP3x、Self-Instruct、OASST)进行对比评测,在 HumanEval Python 基准上取得 46.2% pass@1,在未使用 OpenAI 输出训练的模型中达到当时最优水平。

论文进一步提出 HumanEvalPack,将 HumanEval 扩展为 3 类编码任务(代码修复、代码解释、代码合成),覆盖 6 种语言(Python、JavaScript、Java、Go、C++、Rust)。所得模型 OctoCoder 与 OctoGeeX 在所有宽松许可(permissive)模型中于 HumanEvalPack 上表现最佳,表明 CommitPack 有助于泛化到更多语言和更自然的编码任务。

代码、模型与数据均公开于:https://github.com/bigcode-project/octopack

主题与分类

  • 主分类:Computation and Language(cs.CL)
  • 交叉分类:Artificial Intelligence(cs.AI)

关键词

指令微调(instruction tuning)、代码大语言模型、Git commit 数据、CommitPack、HumanEvalPack、StarCoder、OctoCoder、OctoGeeX

27 次点击  ∙  0 人收藏  
登录后收藏  
0 条回复
关于 ·  帮助 ·  PING ·  隐私 ·  条款   
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
耗时 14 ms
Developed with Cursor