arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.13928cs.SEcs.AIcs.CL
收藏

激发指令微调代码语言模型利用辅助函数进行代码生成的能力

Eliciting Instruction-tuned Code Language Models' Capabilities to Utilize Auxiliary Function for Code Generation

POSTECH(浦项科技大学);Yonsei University(延世大学)

Seonghyeon Lee, Suyeon Kim, Joonwon Jang, Heejae Chon, Dongha Lee, Hwanjo Yu

AI总结:

本文研究了指令微调代码模型利用辅助函数生成代码的能力,设计了多种融合辅助函数与指令遵循的方法,实验证明该策略使开源模型性能超越了gpt-4o等强大的专有模型。

摘要:

我们研究了基于代码预训练语言模型构建的指令微调模型在可访问辅助函数以实现某个函数时的代码生成行为。我们设计了多种向模型提供辅助函数的方法,包括将其添加到查询中或提供响应前缀,以将利用辅助函数的能力与指令遵循能力相结合。实验结果表明,将基础模型的辅助函数利用能力与指令遵循能力相结合是有效的。特别是,采用我们的方法的开源语言模型的性能超越了近期强大的专有语言模型,即 gpt-4o。

英文摘要:

We study the code generation behavior of instruction-tuned models built on top of code pre-trained language models when they could access an auxiliary function to implement a function. We design several ways to provide auxiliary functions to the models by adding them to the query or providing a response prefix to incorporate the ability to utilize auxiliary functions with the instruction-following capability. Our experimental results show the effectiveness of combining the base models' auxiliary function utilization ability with the instruction following ability. In particular, the performance of adopting our approaches with the open-sourced language models surpasses that of the recent powerful proprietary language models, i.e., gpt-4o.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑