Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,64 @@
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
3 |
+
task_categories:
|
4 |
+
- text-generation
|
5 |
+
- translation
|
6 |
+
language:
|
7 |
+
- es
|
8 |
+
- ja
|
9 |
+
- ru
|
10 |
+
tags:
|
11 |
+
- code generation
|
12 |
+
pretty_name: mconala
|
13 |
+
size_categories:
|
14 |
+
- n<1K
|
15 |
---
|
16 |
+
# Dataset Card for MCoNaLa
|
17 |
+
|
18 |
+
## Dataset Description
|
19 |
+
|
20 |
+
- **Homepage:** https://github.com/zorazrw/multilingual-conala
|
21 |
+
- **Repository:** https://github.com/zorazrw/multilingual-conala
|
22 |
+
- **Paper:** https://arxiv.org/pdf/2203.08388.pdf
|
23 |
+
- **Leaderboard:** https://explainaboard.inspiredco.ai/leaderboards?show_mine=false&sort_dir=desc&sort_field=created_at&dataset=mconala
|
24 |
+
|
25 |
+
### Dataset Summary
|
26 |
+
|
27 |
+
MCoNaLa is a Multilingual Code/Natural Language Challenge dataset with 896 NL-Code pairs in three languages: Spanish, Japanese, and Russian.
|
28 |
+
|
29 |
+
### Languages
|
30 |
+
|
31 |
+
Spanish, Japanese, Russian; Python
|
32 |
+
|
33 |
+
## Dataset Structure
|
34 |
+
|
35 |
+
```bash
|
36 |
+
from datasets import load_dataset
|
37 |
+
load_dataset("zorazrw/mconala")
|
38 |
+
```
|
39 |
+
|
40 |
+
### Data Fields
|
41 |
+
|
42 |
+
|Field|Type|Description|
|
43 |
+
|---|---|---|
|
44 |
+
|question_id|int|StackOverflow post id of the sample|
|
45 |
+
|intent|string|Title of the Stackoverflow post as the initial NL intent|
|
46 |
+
|rewritten_intent|string|nl intent rewritten by human annotators|
|
47 |
+
|snippet|string|Python code solution to the NL intent|
|
48 |
+
|
49 |
+
|
50 |
+
### Data Splits
|
51 |
+
|
52 |
+
The dataset contains 341, 210, and 345 samples in Spanish, Japanese, and Russian.
|
53 |
+
|
54 |
+
|
55 |
+
### Citation Information
|
56 |
+
|
57 |
+
```
|
58 |
+
@article{wang2022mconala,
|
59 |
+
title={MCoNaLa: A Benchmark for Code Generation from Multiple Natural Languages},
|
60 |
+
author={Zhiruo Wang, Grace Cuenca, Shuyan Zhou, Frank F. Xu, Graham Neubig},
|
61 |
+
journal={arXiv preprint arXiv:2203.08388},
|
62 |
+
year={2022}
|
63 |
+
}
|
64 |
+
```
|