English

DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuning

Computation and Language 2024-02-15 v1 Artificial Intelligence

Abstract

Code Large Language Models (Code LLMs) have demonstrated outstanding performance in code-related tasks. Several instruction tuning approaches have been proposed to boost the code generation performance of pre-trained Code LLMs. In this paper, we introduce a diverse instruction model (DolphCoder) with self-evaluating for code generation. It learns diverse instruction targets and combines a code evaluation objective to enhance its code generation ability. Our model achieves superior performance on the HumanEval and MBPP benchmarks, demonstrating new insights for future code instruction tuning work. Our key findings are: (1) Augmenting more diverse responses with distinct reasoning paths increases the code capability of LLMs. (2) Improving one's ability to evaluate the correctness of code solutions also enhances their ability to create it.

Keywords

Cite

@article{arxiv.2402.09136,
  title  = {DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuning},
  author = {Yejie Wang and Keqing He and Guanting Dong and Pei Wang and Weihao Zeng and Muxi Diao and Yutao Mou and Mengdi Zhang and Jingang Wang and Xunliang Cai and Weiran Xu},
  journal= {arXiv preprint arXiv:2402.09136},
  year   = {2024}
}

Comments

14 pages, 6 figures