parquet-converter commited on
Commit
9a28351
·
1 Parent(s): 3e94543

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,27 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,285 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - found
4
- language_creators:
5
- - found
6
- language:
7
- - da
8
- - en
9
- - lv
10
- - nb
11
- - zh
12
- license:
13
- - c-uda
14
- multilinguality:
15
- - multilingual
16
- size_categories:
17
- - 10K<n<100K
18
- source_datasets:
19
- - original
20
- task_categories:
21
- - translation
22
- task_ids: []
23
- pretty_name: CodeXGlueTtTextToText
24
- tags:
25
- - code-documentation-translation
26
- dataset_info:
27
- - config_name: da_en
28
- features:
29
- - name: id
30
- dtype: int32
31
- - name: source
32
- dtype: string
33
- - name: target
34
- dtype: string
35
- splits:
36
- - name: train
37
- num_bytes: 8163215
38
- num_examples: 42701
39
- - name: validation
40
- num_bytes: 190340
41
- num_examples: 1000
42
- - name: test
43
- num_bytes: 190780
44
- num_examples: 1000
45
- download_size: 8007867
46
- dataset_size: 8544335
47
- - config_name: lv_en
48
- features:
49
- - name: id
50
- dtype: int32
51
- - name: source
52
- dtype: string
53
- - name: target
54
- dtype: string
55
- splits:
56
- - name: train
57
- num_bytes: 3644127
58
- num_examples: 18749
59
- - name: validation
60
- num_bytes: 192519
61
- num_examples: 1000
62
- - name: test
63
- num_bytes: 190875
64
- num_examples: 1000
65
- download_size: 3778501
66
- dataset_size: 4027521
67
- - config_name: no_en
68
- features:
69
- - name: id
70
- dtype: int32
71
- - name: source
72
- dtype: string
73
- - name: target
74
- dtype: string
75
- splits:
76
- - name: train
77
- num_bytes: 8761795
78
- num_examples: 44322
79
- - name: validation
80
- num_bytes: 203823
81
- num_examples: 1000
82
- - name: test
83
- num_bytes: 197135
84
- num_examples: 1000
85
- download_size: 8606833
86
- dataset_size: 9162753
87
- - config_name: zh_en
88
- features:
89
- - name: id
90
- dtype: int32
91
- - name: source
92
- dtype: string
93
- - name: target
94
- dtype: string
95
- splits:
96
- - name: train
97
- num_bytes: 9592196
98
- num_examples: 50154
99
- - name: validation
100
- num_bytes: 192155
101
- num_examples: 1000
102
- - name: test
103
- num_bytes: 195245
104
- num_examples: 1000
105
- download_size: 9353684
106
- dataset_size: 9979596
107
- ---
108
- # Dataset Card for "code_x_glue_tt_text_to_text"
109
-
110
- ## Table of Contents
111
- - [Dataset Description](#dataset-description)
112
- - [Dataset Summary](#dataset-summary)
113
- - [Supported Tasks and Leaderboards](#supported-tasks)
114
- - [Languages](#languages)
115
- - [Dataset Structure](#dataset-structure)
116
- - [Data Instances](#data-instances)
117
- - [Data Fields](#data-fields)
118
- - [Data Splits](#data-splits-sample-size)
119
- - [Dataset Creation](#dataset-creation)
120
- - [Curation Rationale](#curation-rationale)
121
- - [Source Data](#source-data)
122
- - [Annotations](#annotations)
123
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
124
- - [Considerations for Using the Data](#considerations-for-using-the-data)
125
- - [Social Impact of Dataset](#social-impact-of-dataset)
126
- - [Discussion of Biases](#discussion-of-biases)
127
- - [Other Known Limitations](#other-known-limitations)
128
- - [Additional Information](#additional-information)
129
- - [Dataset Curators](#dataset-curators)
130
- - [Licensing Information](#licensing-information)
131
- - [Citation Information](#citation-information)
132
- - [Contributions](#contributions)
133
-
134
- ## Dataset Description
135
-
136
- - **Homepage:** https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text
137
-
138
- ### Dataset Summary
139
-
140
- CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text
141
-
142
- The dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/.
143
-
144
- ### Supported Tasks and Leaderboards
145
-
146
- - `machine-translation`: The dataset can be used to train a model for translating Technical documentation between languages.
147
-
148
- ### Languages
149
-
150
- da_en, lv_en, no_en, zh_en
151
-
152
- ## Dataset Structure
153
-
154
- ### Data Instances
155
-
156
- #### da_en
157
-
158
- An example of 'test' looks as follows.
159
- ```
160
- {
161
- "id": 0,
162
- "source": "4 . K\u00f8r modellen , og udgiv den som en webtjeneste .\n",
163
- "target": "4 . Run the model , and publish it as a web service .\n"
164
- }
165
- ```
166
-
167
- #### lv_en
168
-
169
- An example of 'train' looks as follows.
170
- ```
171
- {
172
- "id": 0,
173
- "source": "title : Pakalpojumu objektu izveide\n",
174
- "target": "title : Create service objects\n"
175
- }
176
- ```
177
-
178
- #### no_en
179
-
180
- An example of 'validation' looks as follows.
181
- ```
182
- {
183
- "id": 0,
184
- "source": "2 . \u00c5pne servicevaren du vil definere komponenter fra en stykkliste for .\n",
185
- "target": "2 . Open the service item for which you want to set up components from a BOM .\n"
186
- }
187
- ```
188
-
189
- #### zh_en
190
-
191
- An example of 'validation' looks as follows.
192
- ```
193
- {
194
- "id": 0,
195
- "source": "& # 124 ; MCDUserNotificationReadStateFilterAny & # 124 ; 0 & # 124 ; \u5305\u62ec \u901a\u77e5 , \u800c \u4e0d \u8003\u8651 \u8bfb\u53d6 \u72b6\u6001 \u3002 & # 124 ;\n",
196
- "target": "&#124; MCDUserNotificationReadStateFilterAny &#124; 0 &#124; Include notifications regardless of read state . &#124;\n"
197
- }
198
- ```
199
-
200
- ### Data Fields
201
-
202
- In the following each data field in go is explained for each config. The data fields are the same among all splits.
203
-
204
- #### da_en, lv_en, no_en, zh_en
205
-
206
- |field name| type | description |
207
- |----------|------|----------------------------------------|
208
- |id |int32 | The index of the sample |
209
- |source |string| The source language version of the text|
210
- |target |string| The target language version of the text|
211
-
212
- ### Data Splits
213
-
214
- |name |train|validation|test|
215
- |-----|----:|---------:|---:|
216
- |da_en|42701| 1000|1000|
217
- |lv_en|18749| 1000|1000|
218
- |no_en|44322| 1000|1000|
219
- |zh_en|50154| 1000|1000|
220
-
221
- ## Dataset Creation
222
-
223
- ### Curation Rationale
224
-
225
- [More Information Needed]
226
-
227
- ### Source Data
228
-
229
- #### Initial Data Collection and Normalization
230
-
231
- [More Information Needed]
232
-
233
- #### Who are the source language producers?
234
-
235
- [More Information Needed]
236
-
237
- ### Annotations
238
-
239
- #### Annotation process
240
-
241
- [More Information Needed]
242
-
243
- #### Who are the annotators?
244
-
245
- [More Information Needed]
246
-
247
- ### Personal and Sensitive Information
248
-
249
- [More Information Needed]
250
-
251
- ## Considerations for Using the Data
252
-
253
- ### Social Impact of Dataset
254
-
255
- [More Information Needed]
256
-
257
- ### Discussion of Biases
258
-
259
- [More Information Needed]
260
-
261
- ### Other Known Limitations
262
-
263
- [More Information Needed]
264
-
265
- ## Additional Information
266
-
267
- ### Dataset Curators
268
-
269
- https://github.com/microsoft, https://github.com/madlag
270
-
271
- ### Licensing Information
272
-
273
- Computational Use of Data Agreement (C-UDA) License.
274
-
275
- ### Citation Information
276
-
277
- ```
278
- @article{CodeXGLUE,
279
- title={CodeXGLUE: A Benchmark Dataset and Open Challenge for Code Intelligence},
280
- year={2020},}
281
- ```
282
-
283
- ### Contributions
284
-
285
- Thanks to @madlag (and partly also @ncoop57) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
code_x_glue_tt_text_to_text.py DELETED
@@ -1,106 +0,0 @@
1
- from typing import List
2
-
3
- import datasets
4
-
5
- from .common import Child
6
- from .generated_definitions import DEFINITIONS
7
-
8
-
9
- _DESCRIPTION = """The dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/."""
10
- _CITATION = """@article{DBLP:journals/corr/abs-2102-04664,
11
- author = {Shuai Lu and
12
- Daya Guo and
13
- Shuo Ren and
14
- Junjie Huang and
15
- Alexey Svyatkovskiy and
16
- Ambrosio Blanco and
17
- Colin B. Clement and
18
- Dawn Drain and
19
- Daxin Jiang and
20
- Duyu Tang and
21
- Ge Li and
22
- Lidong Zhou and
23
- Linjun Shou and
24
- Long Zhou and
25
- Michele Tufano and
26
- Ming Gong and
27
- Ming Zhou and
28
- Nan Duan and
29
- Neel Sundaresan and
30
- Shao Kun Deng and
31
- Shengyu Fu and
32
- Shujie Liu},
33
- title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding
34
- and Generation},
35
- journal = {CoRR},
36
- volume = {abs/2102.04664},
37
- year = {2021}
38
- }"""
39
-
40
-
41
- class CodeXGlueTtTextToTextImpl(Child):
42
- _DESCRIPTION = _DESCRIPTION
43
- _CITATION = _CITATION
44
-
45
- _FEATURES = {
46
- "id": datasets.Value("int32"), # The index of the sample
47
- "source": datasets.Value("string"), # The source language version of the text
48
- "target": datasets.Value("string"), # The target language version of the text
49
- }
50
-
51
- _SUPERVISED_KEYS = ["target"]
52
-
53
- KEYS = ["source", "target"]
54
-
55
- SPLITS = {"train": datasets.Split.TRAIN, "dev": datasets.Split.VALIDATION, "test": datasets.Split.TEST}
56
-
57
- def generate_urls(self, split_name):
58
- lang_pair = self.info["parameters"]["natural_language_pair"]
59
- for i, lang in enumerate(lang_pair.split("-")):
60
- yield self.KEYS[i], f"{split_name}/{lang_pair}.{split_name}.{lang}"
61
-
62
- def _generate_examples(self, split_name, file_paths):
63
- # Open each file (one for source language and the other for target language)
64
- files = {k: open(file_paths[k], encoding="utf-8") for k in file_paths}
65
-
66
- id_ = 0
67
- while True:
68
- # Read a single line from each file
69
- entries = {k: files[k].readline() for k in file_paths}
70
-
71
- empty = self.check_empty(entries)
72
- if empty:
73
- # We are done: end of files
74
- return
75
-
76
- entries["id"] = id_
77
- yield id_, entries
78
- id_ += 1
79
-
80
-
81
- CLASS_MAPPING = {
82
- "CodeXGlueTtTextToText": CodeXGlueTtTextToTextImpl,
83
- }
84
-
85
-
86
- class CodeXGlueTtTextToText(datasets.GeneratorBasedBuilder):
87
- BUILDER_CONFIG_CLASS = datasets.BuilderConfig
88
- BUILDER_CONFIGS = [
89
- datasets.BuilderConfig(name=name, description=info["description"]) for name, info in DEFINITIONS.items()
90
- ]
91
-
92
- def _info(self):
93
- name = self.config.name
94
- info = DEFINITIONS[name]
95
- if info["class_name"] in CLASS_MAPPING:
96
- self.child = CLASS_MAPPING[info["class_name"]](info)
97
- else:
98
- raise RuntimeError(f"Unknown python class for dataset configuration {name}")
99
- ret = self.child._info()
100
- return ret
101
-
102
- def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
103
- return self.child._split_generators(dl_manager=dl_manager)
104
-
105
- def _generate_examples(self, split_name, file_paths):
106
- return self.child._generate_examples(split_name, file_paths)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
common.py DELETED
@@ -1,75 +0,0 @@
1
- from typing import List
2
-
3
- import datasets
4
-
5
-
6
- # Citation, taken from https://github.com/microsoft/CodeXGLUE
7
- _DEFAULT_CITATION = """@article{CodeXGLUE,
8
- title={CodeXGLUE: A Benchmark Dataset and Open Challenge for Code Intelligence},
9
- year={2020},}"""
10
-
11
-
12
- class Child:
13
- _DESCRIPTION = None
14
- _FEATURES = None
15
- _CITATION = None
16
- SPLITS = {"train": datasets.Split.TRAIN}
17
- _SUPERVISED_KEYS = None
18
-
19
- def __init__(self, info):
20
- self.info = info
21
-
22
- def homepage(self):
23
- return self.info["project_url"]
24
-
25
- def _info(self):
26
- # This is the description that will appear on the datasets page.
27
- return datasets.DatasetInfo(
28
- description=self.info["description"] + "\n\n" + self._DESCRIPTION,
29
- features=datasets.Features(self._FEATURES),
30
- homepage=self.homepage(),
31
- citation=self._CITATION or _DEFAULT_CITATION,
32
- supervised_keys=self._SUPERVISED_KEYS,
33
- )
34
-
35
- def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
36
- SPLITS = self.SPLITS
37
- _URL = self.info["raw_url"]
38
- urls_to_download = {}
39
- for split in SPLITS:
40
- if split not in urls_to_download:
41
- urls_to_download[split] = {}
42
-
43
- for key, url in self.generate_urls(split):
44
- if not url.startswith("http"):
45
- url = _URL + "/" + url
46
- urls_to_download[split][key] = url
47
-
48
- downloaded_files = {}
49
- for k, v in urls_to_download.items():
50
- downloaded_files[k] = dl_manager.download_and_extract(v)
51
-
52
- return [
53
- datasets.SplitGenerator(
54
- name=SPLITS[k],
55
- gen_kwargs={"split_name": k, "file_paths": downloaded_files[k]},
56
- )
57
- for k in SPLITS
58
- ]
59
-
60
- def check_empty(self, entries):
61
- all_empty = all([v == "" for v in entries.values()])
62
- all_non_empty = all([v != "" for v in entries.values()])
63
-
64
- if not all_non_empty and not all_empty:
65
- raise RuntimeError("Parallel data files should have the same number of lines.")
66
-
67
- return all_empty
68
-
69
-
70
- class TrainValidTestChild(Child):
71
- SPLITS = {
72
- "train": datasets.Split.TRAIN,
73
- "valid": datasets.Split.VALIDATION,
74
- "test": datasets.Split.TEST,
75
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da_en/code_x_glue_tt_text_to_text-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c918dfad2abd39a24622baf2f01131e581850b936d83eccae49c36eaa85d9e9
3
+ size 112307
da_en/code_x_glue_tt_text_to_text-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dcb78378043dad19b230fb1e3e43ca751fb2de8af7cfeb731e7fdd0b09ad5db
3
+ size 4098743
da_en/code_x_glue_tt_text_to_text-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e12c500c4797070ac3afaa218fd0ab40d45ba7364c774b77efa5a7bbaaf604db
3
+ size 111613
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"da_en": {"description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text\n\nThe dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/.", "citation": "@article{DBLP:journals/corr/abs-2102-04664,\n author = {Shuai Lu and\n Daya Guo and\n Shuo Ren and\n Junjie Huang and\n Alexey Svyatkovskiy and\n Ambrosio Blanco and\n Colin B. Clement and\n Dawn Drain and\n Daxin Jiang and\n Duyu Tang and\n Ge Li and\n Lidong Zhou and\n Linjun Shou and\n Long Zhou and\n Michele Tufano and\n Ming Gong and\n Ming Zhou and\n Nan Duan and\n Neel Sundaresan and\n Shao Kun Deng and\n Shengyu Fu and\n Shujie Liu},\n title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding\n and Generation},\n journal = {CoRR},\n volume = {abs/2102.04664},\n year = {2021}\n}", "homepage": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "target": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "target", "output": ""}, "task_templates": null, "builder_name": "code_x_glue_tt_text_to_text", "config_name": "da_en", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 8163215, "num_examples": 42701, "dataset_name": "code_x_glue_tt_text_to_text"}, "validation": {"name": "validation", "num_bytes": 190340, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}, "test": {"name": "test", "num_bytes": 190780, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}}, "download_checksums": {"https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/da-en.train.da": {"num_bytes": 4371929, "checksum": "4b62e847011e2c13126f179f6f75c0ea4692ae24638872fe352af70864e98c6b"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/da-en.train.en": {"num_bytes": 3278834, "checksum": "b9f3253f0f19b036b75637b94c7fd96afd358ea5c104ff97dfd543b8722bef3d"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/da-en.dev.da": {"num_bytes": 101626, "checksum": "522e3896d36d360a2cfe819c680f593f19902fd9d35a7bb5c340e3dfcc637294"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/da-en.dev.en": {"num_bytes": 76706, "checksum": "fe1c304bebe346ee0076e51c9ac77edbad2a82f19c870e8c8d503f1114c9c925"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/da-en.test.da": {"num_bytes": 101374, "checksum": "2bb8a734242c0ee89559a2d9166f74df60259a0ec09b99a6091cff53001bfa94"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/da-en.test.en": {"num_bytes": 77398, "checksum": "850e36c666a8a4adce9bec78065503af8b619e76f8ce29e1be52b7da249b3eac"}}, "download_size": 8007867, "post_processing_size": null, "dataset_size": 8544335, "size_in_bytes": 16552202}, "lv_en": {"description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text\n\nThe dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/.", "citation": "@article{DBLP:journals/corr/abs-2102-04664,\n author = {Shuai Lu and\n Daya Guo and\n Shuo Ren and\n Junjie Huang and\n Alexey Svyatkovskiy and\n Ambrosio Blanco and\n Colin B. Clement and\n Dawn Drain and\n Daxin Jiang and\n Duyu Tang and\n Ge Li and\n Lidong Zhou and\n Linjun Shou and\n Long Zhou and\n Michele Tufano and\n Ming Gong and\n Ming Zhou and\n Nan Duan and\n Neel Sundaresan and\n Shao Kun Deng and\n Shengyu Fu and\n Shujie Liu},\n title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding\n and Generation},\n journal = {CoRR},\n volume = {abs/2102.04664},\n year = {2021}\n}", "homepage": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "target": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "target", "output": ""}, "task_templates": null, "builder_name": "code_x_glue_tt_text_to_text", "config_name": "lv_en", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3644127, "num_examples": 18749, "dataset_name": "code_x_glue_tt_text_to_text"}, "validation": {"name": "validation", "num_bytes": 192519, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}, "test": {"name": "test", "num_bytes": 190875, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}}, "download_checksums": {"https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/lv-en.train.lv": {"num_bytes": 1946457, "checksum": "67aded4f9685048ddddcb562247d703ed760893084b7c144982ad997e9ba02e2"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/lv-en.train.en": {"num_bytes": 1472666, "checksum": "baadb95d607d4671fb7442443792708ca73b98c4f8b61b6b1a18c028f54fd737"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/lv-en.dev.lv": {"num_bytes": 102750, "checksum": "adb33098479c5b51c18ce03f94f754aec53614b0f4c32aba7b09aad7b7876181"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/lv-en.dev.en": {"num_bytes": 77761, "checksum": "2230457897639bdcea567141eedc2409bde3ba34851ed8436f75ec96ebcc51a5"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/lv-en.test.lv": {"num_bytes": 101858, "checksum": "1624d188ba42298bd7a6c6f941837865682732e5a4f0256c6dad5ccc295b44e9"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/lv-en.test.en": {"num_bytes": 77009, "checksum": "fd70d49126fc5d82ea3850bd17e6940c1a0a6da108fa2e44bc2c5b4c99b9d635"}}, "download_size": 3778501, "post_processing_size": null, "dataset_size": 4027521, "size_in_bytes": 7806022}, "no_en": {"description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text\n\nThe dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/.", "citation": "@article{DBLP:journals/corr/abs-2102-04664,\n author = {Shuai Lu and\n Daya Guo and\n Shuo Ren and\n Junjie Huang and\n Alexey Svyatkovskiy and\n Ambrosio Blanco and\n Colin B. Clement and\n Dawn Drain and\n Daxin Jiang and\n Duyu Tang and\n Ge Li and\n Lidong Zhou and\n Linjun Shou and\n Long Zhou and\n Michele Tufano and\n Ming Gong and\n Ming Zhou and\n Nan Duan and\n Neel Sundaresan and\n Shao Kun Deng and\n Shengyu Fu and\n Shujie Liu},\n title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding\n and Generation},\n journal = {CoRR},\n volume = {abs/2102.04664},\n year = {2021}\n}", "homepage": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "target": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "target", "output": ""}, "task_templates": null, "builder_name": "code_x_glue_tt_text_to_text", "config_name": "no_en", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 8761795, "num_examples": 44322, "dataset_name": "code_x_glue_tt_text_to_text"}, "validation": {"name": "validation", "num_bytes": 203823, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}, "test": {"name": "test", "num_bytes": 197135, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}}, "download_checksums": {"https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/no-en.train.no": {"num_bytes": 4608004, "checksum": "85ab003e4149322091197d233f4f74bd6c2304675e506830fdbc7ce6b38066a8"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/no-en.train.en": {"num_bytes": 3621887, "checksum": "1ae6767caf7eab60b7d95908016c3fd480ef59a4d417e7e58f7f40c25ab92880"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/no-en.dev.no": {"num_bytes": 106174, "checksum": "f19c98c23c746764a85dcbfbef68116e8e1d9857e283ce70a502ebdd2bcc2974"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/no-en.dev.en": {"num_bytes": 85641, "checksum": "7990441ef0c0244f556eb7736d550fd599bc778b41889ae1543f98f9329543ce"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/no-en.test.no": {"num_bytes": 103342, "checksum": "30f6201d480969ede3440d00003f735d53f8434351f2304fe6f5b1f2e3e906ae"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/no-en.test.en": {"num_bytes": 81785, "checksum": "86c8a4d2a41deffc88c48a419213fa7dc89fe1a0315788a472a3b91822a191f6"}}, "download_size": 8606833, "post_processing_size": null, "dataset_size": 9162753, "size_in_bytes": 17769586}, "zh_en": {"description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text\n\nThe dataset we use is crawled and filtered from Microsoft Documentation, whose document located at https://github.com/MicrosoftDocs/.", "citation": "@article{DBLP:journals/corr/abs-2102-04664,\n author = {Shuai Lu and\n Daya Guo and\n Shuo Ren and\n Junjie Huang and\n Alexey Svyatkovskiy and\n Ambrosio Blanco and\n Colin B. Clement and\n Dawn Drain and\n Daxin Jiang and\n Duyu Tang and\n Ge Li and\n Lidong Zhou and\n Linjun Shou and\n Long Zhou and\n Michele Tufano and\n Ming Gong and\n Ming Zhou and\n Nan Duan and\n Neel Sundaresan and\n Shao Kun Deng and\n Shengyu Fu and\n Shujie Liu},\n title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding\n and Generation},\n journal = {CoRR},\n volume = {abs/2102.04664},\n year = {2021}\n}", "homepage": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "target": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "target", "output": ""}, "task_templates": null, "builder_name": "code_x_glue_tt_text_to_text", "config_name": "zh_en", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 9592196, "num_examples": 50154, "dataset_name": "code_x_glue_tt_text_to_text"}, "validation": {"name": "validation", "num_bytes": 192155, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}, "test": {"name": "test", "num_bytes": 195245, "num_examples": 1000, "dataset_name": "code_x_glue_tt_text_to_text"}}, "download_checksums": {"https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/zh-en.train.zh": {"num_bytes": 4946356, "checksum": "8d6db4cc2ff27aea99410f0b6f674c558cc74cc68a365915e8b89c0cce92e4be"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/train/zh-en.train.en": {"num_bytes": 4043944, "checksum": "ca08892b854a65823abcc63efa23e975894e0be74c54f3593d34395726de6126"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/zh-en.dev.zh": {"num_bytes": 98538, "checksum": "5baa187a524e8ff88859e29f6c67226b83a4b31cfadbd309585004a301e1dac5"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/dev/zh-en.dev.en": {"num_bytes": 81609, "checksum": "505b46cba0825aa2f0fda3b03b3746cd6aeb1bf17ccde80bc5a8c3a6b195f32c"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/zh-en.test.zh": {"num_bytes": 100849, "checksum": "247fcf6250c8b3ac6e30968130320e94fa67eb11b8aa8b6ad6a2a770f5f7c5a2"}, "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data/test/zh-en.test.en": {"num_bytes": 82388, "checksum": "2b6af4ebdbd1ed95fa42ee7670d158b03f30458c2c0b6a602a7b2dd25bd7e263"}}, "download_size": 9353684, "post_processing_size": null, "dataset_size": 9979596, "size_in_bytes": 19333280}}
 
 
generated_definitions.py DELETED
@@ -1,46 +0,0 @@
1
- DEFINITIONS = {
2
- "da_en": {
3
- "class_name": "CodeXGlueTtTextToText",
4
- "dataset_type": "Text-Text",
5
- "description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text",
6
- "dir_name": "text-to-text",
7
- "name": "da_en",
8
- "parameters": {"natural_language_pair": "da-en"},
9
- "project_url": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text",
10
- "raw_url": "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data",
11
- "sizes": {"test": 1000, "train": 42701, "validation": 1000},
12
- },
13
- "lv_en": {
14
- "class_name": "CodeXGlueTtTextToText",
15
- "dataset_type": "Text-Text",
16
- "description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text",
17
- "dir_name": "text-to-text",
18
- "name": "lv_en",
19
- "parameters": {"natural_language_pair": "lv-en"},
20
- "project_url": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text",
21
- "raw_url": "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data",
22
- "sizes": {"test": 1000, "train": 18749, "validation": 1000},
23
- },
24
- "no_en": {
25
- "class_name": "CodeXGlueTtTextToText",
26
- "dataset_type": "Text-Text",
27
- "description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text",
28
- "dir_name": "text-to-text",
29
- "name": "no_en",
30
- "parameters": {"natural_language_pair": "no-en"},
31
- "project_url": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text",
32
- "raw_url": "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data",
33
- "sizes": {"test": 1000, "train": 44322, "validation": 1000},
34
- },
35
- "zh_en": {
36
- "class_name": "CodeXGlueTtTextToText",
37
- "dataset_type": "Text-Text",
38
- "description": "CodeXGLUE text-to-text dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text",
39
- "dir_name": "text-to-text",
40
- "name": "zh_en",
41
- "parameters": {"natural_language_pair": "zh-en"},
42
- "project_url": "https://github.com/madlag/CodeXGLUE/tree/main/Text-Text/text-to-text",
43
- "raw_url": "https://raw.githubusercontent.com/madlag/CodeXGLUE/main/Text-Text/text-to-text/data",
44
- "sizes": {"test": 1000, "train": 50154, "validation": 1000},
45
- },
46
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lv_en/code_x_glue_tt_text_to_text-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbfcb9b9ea51c0af35a11f8e0e2ecde5311fee0a28688defb4af2c51001979f9
3
+ size 108333
lv_en/code_x_glue_tt_text_to_text-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dad4700ceecf574007376e6bf7049974b45710b2e5fe0dc1c71c14d69552441
3
+ size 1778028
lv_en/code_x_glue_tt_text_to_text-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0955255f58a62ca43dfe70bf3d98537219ba8fed21edeae4caa2be1b10d9c950
3
+ size 111595
no_en/code_x_glue_tt_text_to_text-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a9e99512421a9f91124e6a4513de35460c93b6fa9796d4ba245e9735d5ff6b
3
+ size 115929
no_en/code_x_glue_tt_text_to_text-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e7e3bb2fa4ae06305cd09ae2333e7c696a6b70ee4bb31b170ae7566ca792c5
3
+ size 4426108
no_en/code_x_glue_tt_text_to_text-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f185fe9b04b9779f7dac3c22df29b1e9afa3363446d56c03b8b97059207e98f4
3
+ size 119148
zh_en/code_x_glue_tt_text_to_text-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c6831058ae6d7aa1b2fb67b18cf6749c27367a84d8f8d2d8cdd5a030c81532e
3
+ size 112112
zh_en/code_x_glue_tt_text_to_text-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccccc1b2e6379c8562f25ac5e67e3c4803b781e4b2c5f436693ced380226f0cb
3
+ size 4510883
zh_en/code_x_glue_tt_text_to_text-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f90d4c6bc15fbb0770049431b19628b9636b53cd3acaa1abdc72c7b55924810f
3
+ size 110146