Datasets:

Modalities:
Text
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
mconala / README.md
zorazrw's picture
Update README.md
3b135ca
|
raw
history blame
1.55 kB
metadata
license: cc-by-sa-4.0
task_categories:
  - text-generation
  - translation
language:
  - es
  - ja
  - ru
tags:
  - code generation
pretty_name: mconala
size_categories:
  - n<1K

Dataset Card for MCoNaLa

Dataset Description

Dataset Summary

MCoNaLa is a Multilingual Code/Natural Language Challenge dataset with 896 NL-Code pairs in three languages: Spanish, Japanese, and Russian.

Languages

Spanish, Japanese, Russian; Python

Dataset Structure

from datasets import load_dataset
load_dataset("zorazrw/mconala")

Data Fields

Field Type Description
question_id int StackOverflow post id of the sample
intent string Title of the Stackoverflow post as the initial NL intent
rewritten_intent string nl intent rewritten by human annotators
snippet string Python code solution to the NL intent

Data Splits

The dataset contains 341, 210, and 345 samples in Spanish, Japanese, and Russian.

Citation Information

@article{wang2022mconala,
  title={MCoNaLa: A Benchmark for Code Generation from Multiple Natural Languages},
  author={Zhiruo Wang, Grace Cuenca, Shuyan Zhou, Frank F. Xu, Graham Neubig},
  journal={arXiv preprint arXiv:2203.08388},
  year={2022}
}