Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
code
Size:
100K - 1M
ArXiv:
License:
Update README.md
Browse files
README.md
CHANGED
@@ -26,10 +26,10 @@ This is a subset of [XLCoST benchmark](https://github.com/reddy-lab-code-researc
|
|
26 |
|
27 |
## Languages
|
28 |
|
29 |
-
The dataset contains text in English and its corresponding code translation. Each program is divided into several code snippets, so the snipppet-level subsets
|
30 |
|
31 |
## Dataset Structure
|
32 |
-
To load the dataset you need to specify a subset among the **14 exiting instances**: `LANGUAGE-snippet-level/LANGUAGE-program-level` for `LANGUAGE` in `[Python, C, Csharp, C++, Java, Javascript and PHP]`. By default `Python-snippet-level` loaded.
|
33 |
|
34 |
```python
|
35 |
from datasets import load_dataset
|
|
|
26 |
|
27 |
## Languages
|
28 |
|
29 |
+
The dataset contains text in English and its corresponding code translation. Each program is divided into several code snippets, so the snipppet-level subsets contain these code snippets with their corresponding comments, for program-level subsets, the comments were concatenated in one long description. Moreover, programs in all the languages are aligned at the snippet level and the comment for a particular snippet is the same across all the languages.
|
30 |
|
31 |
## Dataset Structure
|
32 |
+
To load the dataset you need to specify a subset among the **14 exiting instances**: `LANGUAGE-snippet-level/LANGUAGE-program-level` for `LANGUAGE` in `[Python, C, Csharp, C++, Java, Javascript and PHP]`. By default `Python-snippet-level` is loaded.
|
33 |
|
34 |
```python
|
35 |
from datasets import load_dataset
|