albertvillanova HF staff commited on
Commit
5c28537
1 Parent(s): 3e94543

Support streaming (#3)

Browse files

- Do not extract uncompressed files (2cfe226ea178bc32cc55a647bc978618a0eb6ce8)
- Delete legacy dataset_infos.json (6316f8d5f4634aba708bbd83bf1726677192799f)
- Update citation information (698ef82b744af86b82ecb4dfdbd1e05f336858c8)
- Add paper (4d1cc1f4dec52c407b8ce456909e1d0e60f7f866)

Files changed (3) hide show
  1. README.md +30 -3
  2. common.py +1 -1
  3. dataset_infos.json +0 -1
README.md CHANGED
@@ -134,6 +134,7 @@ dataset_info:
134
  ## Dataset Description
135
 
136
  - **Homepage:** https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text
 
137
 
138
  ### Dataset Summary
139
 
@@ -275,9 +276,35 @@ Computational Use of Data Agreement (C-UDA) License.
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
 
134
  ## Dataset Description
135
 
136
  - **Homepage:** https://github.com/microsoft/CodeXGLUE/tree/main/Text-Text/text-to-text
137
+ - **Paper:** https://arxiv.org/abs/2102.04664
138
 
139
  ### Dataset Summary
140
 
 
276
  ### Citation Information
277
 
278
  ```
279
+ @article{DBLP:journals/corr/abs-2102-04664,
280
+ author = {Shuai Lu and
281
+ Daya Guo and
282
+ Shuo Ren and
283
+ Junjie Huang and
284
+ Alexey Svyatkovskiy and
285
+ Ambrosio Blanco and
286
+ Colin B. Clement and
287
+ Dawn Drain and
288
+ Daxin Jiang and
289
+ Duyu Tang and
290
+ Ge Li and
291
+ Lidong Zhou and
292
+ Linjun Shou and
293
+ Long Zhou and
294
+ Michele Tufano and
295
+ Ming Gong and
296
+ Ming Zhou and
297
+ Nan Duan and
298
+ Neel Sundaresan and
299
+ Shao Kun Deng and
300
+ Shengyu Fu and
301
+ Shujie Liu},
302
+ title = {CodeXGLUE: {A} Machine Learning Benchmark Dataset for Code Understanding
303
+ and Generation},
304
+ journal = {CoRR},
305
+ volume = {abs/2102.04664},
306
+ year = {2021}
307
+ }
308
  ```
309
 
310
  ### Contributions
common.py CHANGED
@@ -47,7 +47,7 @@ class Child:
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(
 
47
 
48
  downloaded_files = {}
49
  for k, v in urls_to_download.items():
50
+ downloaded_files[k] = dl_manager.download(v)
51
 
52
  return [
53
  datasets.SplitGenerator(
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}}