arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.06156cs.CLcs.AIcs.PLcs.SE
收藏

The Vault:一个用于推进代码理解与生成的综合性多语言数据集

The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation

FPT Software AI Center(FPT软件人工智能中心);Hanoi University of Science and Technology(河内科技大学);McGill University(麦吉尔大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Fulbright University(富布赖特大学)

Dung Nguyen Manh, Nam Le Hai, Anh T. V. Dau, Anh Minh Nguyen, Khanh Nghiem, Jin Guo, Nghi D. Q. Bui

AI总结:

本文提出多语言代码-文本数据集 The Vault,包含 4300 万高质量样本,通过规则与深度学习方法提取构建,实验表明在其上微调的代码大模型在代码生成、搜索和摘要任务上优于 CodeSearchNet 等数据集训练结果。

摘要:

我们提出了 The Vault,一个包含多种编程语言的高质量代码-文本对数据集,用于训练大型语言模型以理解和生成代码。我们提出了彻底提取样本的方法,这些方法同时使用基于规则和基于深度学习的方法,以确保它们包含高质量的代码与文本对,从而得到一个包含 4300 万对高质量代码-文本对的数据集。我们在常见编码任务(包括代码生成、代码搜索和代码摘要)上的广泛评估表明,当在 The Vault 上微调代码大型语言模型时,这些模型优于在其他数据集(如 CodeSearchNet)上训练的相同模型。我们还提供了对我们数据集的详细分析,以评估各种编程语言和文档字符串对此类模型性能的影响。

英文摘要:

We present The Vault, a dataset of high-quality code-text pairs in multiple programming languages for training large language models to understand and generate code. We present methods for thoroughly extracting samples that use both rule-based and deep learning-based methods to ensure that they contain high-quality pairs of code and text, resulting in a dataset of 43 million high-quality code-text pairs. Our extensive evaluations on common coding tasks including code generation, code search and code summarization show that when fine-tuning Code Large Language Models on The Vault, such models outperform the same models trained on other datasets such as CodeSearchNet. We also provide detailed analyses of our datasets to assess the effects of various programming languages and docstrings on the performance of such models.

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

↑