arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.08568cs.CLcs.AI
收藏

WizardCoder:用Evol-Instruct赋能代码大语言模型

WizardCoder: Empowering Code Large Language Models with Evol-Instruct

Microsoft(微软公司);Hong Kong Baptist University(香港 Baptist 大学)

Ziyang Luo, Can Xu, Pu Zhao, Qingfeng Sun, Xiubo Geng, Wenxiang Hu, Chongyang Tao, Jing Ma, Qingwei Lin, Daxin Jiang

AI总结:

本文提出WizardCoder,通过将Evol-Instruct方法适配到代码领域进行复杂指令微调,在四个代码生成基准上大幅超越开源模型,甚至超过Claude和Bard。

摘要:

代码大语言模型(Code LLMs),如StarCoder,在代码相关任务中展现了卓越的性能。然而,大多数现有模型仅在大规模原始代码数据上进行预训练,没有进行指令微调。在本文中,我们介绍了WizardCoder,它通过将Evol-Instruct方法适配到代码领域,为代码大语言模型赋予了复杂指令微调的能力。通过在四个著名的代码生成基准(即HumanEval、HumanEval+、MBPP和DS-1000)上进行全面实验,我们揭示了我们的模型的卓越能力。它大幅超越了所有其他开源代码大语言模型。此外,我们的模型在HumanEval和HumanEval+上甚至超过了最大的闭源大语言模型,即Anthropic的Claude和Google的Bard。我们的代码、模型权重和数据公开在https://github.com/nlpxucan/WizardLM。

英文摘要:

Code Large Language Models (Code LLMs), such as StarCoder, have demonstrated exceptional performance in code-related tasks. However, most existing models are solely pre-trained on extensive raw code data without instruction fine-tuning. In this paper, we introduce WizardCoder, which empowers Code LLMs with complex instruction fine-tuning, by adapting the Evol-Instruct method to the domain of code. Through comprehensive experiments on four prominent code generation benchmarks, namely HumanEval, HumanEval+, MBPP, and DS-1000, we unveil the exceptional capabilities of our model. It surpasses all other open-source Code LLMs by a substantial margin. Moreover, our model even outperforms the largest closed LLMs, Anthropic's Claude and Google's Bard, on HumanEval and HumanEval+. Our code, model weights, and data are public at https://github.com/nlpxucan/WizardLM

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

↑