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

Dung Nguyen Manh, Nam Le Hai, Anh T. V. Dau, Anh Minh Nguyen, Khanh Nghiem +2 more
5/9/2023
cs.CLcs.AIcs.PL

No official code found. Best implementation: FSoft-AI4Code/TheVault (105 stars, MIT, last commit 2024-08-21).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[EMNLP 2023] The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation

10510Shell, PythonOct 27, 20222 years agoMIT
ai4codedatasetmultilingual-nlp

Similar Papers

Cite this paper

@article{manh2023vault,
  title  = {The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation},
  author = {Dung Nguyen Manh and Nam Le Hai and Anh T. V. Dau and Anh Minh Nguyen and Khanh Nghiem and Jin Guo and Nghi D. Q. Bui},
  year   = {2023},
  eprint = {2305.06156},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06156v2}
}

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/2305.06156.svg)](https://codeofpaper.com/paper/2305.06156)

Discussion