CodeM: Less Data Yields More Versatility via Ability Matrix
Daoguang Zan, Ailun Yu, Wei Liu, Bo Shen, Shaoxin Lin, Yongshun Gong, Yafen Yao, Yan Liu
Abstract
In the era of code large language models (code LLMs), data engineering plays a pivotal role during the instruction fine-tuning phase. To train a versatile model, previous efforts devote tremendous efforts into crafting instruction data covering all the downstream scenarios. Nonetheless, this will incur significant expenses in constructing data and training model. Therefore, this paper introduces CodeM, a novel data construction strategy, which can efficiently train a versatile model using less data via our newly proposed ability matrix. CodeM uses ability matrix to decouple code LLMs’ abilities into two dimensions, constructing a lightweight training corpus that only covers a subset of target scenarios. Extensive experiments on HumanEvalPack and MultiPL-E imply that code LLMs can combine the single-dimensional abilities to master composed abilities, validating the effectiveness of CodeM.
BibTeX
@inproceedings{zan-etal-2024-codem,
title = "{C}ode{M}: Less Data Yields More Versatility via Ability Matrix",
author = "Zan, Daoguang and
Yu, Ailun and
Liu, Wei and
Shen, Bo and
Lin, Shaoxin and
Gong, Yongshun and
Yao, Yafen and
Liu, Yan and
Guan, Bei and
Luo, Weihua and
Wang, Yongji and
Wang, Qianxiang and
Cui, Lizhen",
editor = "Ku, Lun-Wei and
Martins, Andre and
Srikumar, Vivek",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
month = aug,
year = "2024",
address = "Bangkok, Thailand",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.findings-acl.40/",
doi = "10.18653/v1/2024.findings-acl.40",
pages = "714--729"
}