WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuning

Zhaojian Yu, Xin Zhang, Ning Shang, Yangyu Huang, Can Xu +3 more
12/20/2023
59 citations
cs.CLcs.AIcs.SE

Official code: microsoft/WaveCoder (80 stars, Python, MIT, last commit 2024-07-25).

Abstract

Recent work demonstrates that, after instruction tuning, Code Large Language Models (Code LLMs) can obtain impressive capabilities to address a wide range of code-related tasks. However, current instruction tuning methods for Code LLMs mainly focus on the traditional code generation task, resulting in poor performance in complex multi-task scenarios.

Show full abstract

In this paper, we concentrate on multiple code-related tasks and present WaveCoder, a series of Code LLMs trained with Widespread And Versatile Enhanced instruction data. To enable the models to tackle complex code-related tasks, we propose a method to stably generate diverse, high-quality instruction data from open source code dataset in multi-task scenarios and obtain CodeSeaXDataset, a dataset comprising 19,915 instruction instances across 4 code-related tasks, which is aimed at improving the generalization ability of Code LLM. Our experiments demonstrate that WaveCoder models significantly outperform other open-source models in terms of the generalization ability across different code-related tasks. Moreover, WaveCoder-Ultra-6.7B presents the state-of-the-art generalization abilities on a wide range of code-related tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Advancing LLM with Diverse Coding Capabilities

807Python, ShellMay 10, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yu2023wavecoder,
  title  = {WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuning},
  author = {Zhaojian Yu and Xin Zhang and Ning Shang and Yangyu Huang and Can Xu and Yishujie Zhao and Wenxiang Hu and Qiufeng Yin},
  year   = {2023},
  eprint = {2312.14187},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.14187v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.14187.svg)](https://codeofpaper.com/paper/2312.14187)

Discussion