XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligence

Ming Zhu, Aneesh Jain, Karthik Suresh, Roshan Ravindran, Sindhu Tipirneni +1 more
6/16/2022
cs.SEcs.AIcs.LG
benchmark-dataset

Official code: reddy-lab-code-research/XLCoST (93 stars, C, Apache-2.0, last commit 2025-01-21).

Abstract

Recent advances in machine learning have significantly improved the understanding of source code data and achieved good performance on a number of downstream tasks. Open source repositories like GitHub enable this process with rich unlabeled code data.

Show full abstract

However, the lack of high quality labeled data has largely hindered the progress of several code related tasks, such as program translation, summarization, synthesis, and code search. This paper introduces XLCoST, Cross-Lingual Code SnippeT dataset, a new benchmark dataset for cross-lingual code intelligence. Our dataset contains fine-grained parallel data from 8 languages (7 commonly used programming languages and English), and supports 10 cross-lingual code tasks. To the best of our knowledge, it is the largest parallel dataset for source code both in terms of size and the number of languages. We also provide the performance of several state-of-the-art baseline models for each task. We believe this new dataset can be a valuable asset for the research community and facilitate the development and validation of new methods for cross-lingual code intelligence.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code and data for XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligence

937C, PythonJun 5, 20221 years agoApache-2.0
machine-learningsoftware-engineering

Similar Papers

Cite this paper

@article{zhu2022xlcost,
  title  = {XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligence},
  author = {Ming Zhu and Aneesh Jain and Karthik Suresh and Roshan Ravindran and Sindhu Tipirneni and Chandan K. Reddy},
  year   = {2022},
  eprint = {2206.08474},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.08474}
}

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

Discussion