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.
The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation
The Vault is an open-source, large-scale code-text dataset that addresses size, quality, and format limitations, providing diverse levels of code-text pairs for training code-focused LLMs.
- Year
- 2023
- Venue
- arXiv 2023
- Authors
- 7
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2305.06156v2ARXIV-DEFAULT
- TL;DR
- Semantic Scholar