Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
n<1K
Source Datasets:
original
ArXiv:
Tags:
code-generation
License:
albertvillanova HF staff commited on
Commit
572fa85
1 Parent(s): 9a5dd62

Fix NonMatchingChecksumError in mbpp dataset (#4788)

Browse files

* Increase patch version of mbpp dataset

* Update metadata JSON

* Rename dummy data paths

Commit from https://github.com/huggingface/datasets/commit/44af3fafb527302282f6b6507b952de7435f0979

dataset_infos.json CHANGED
@@ -1,158 +1 @@
1
- {
2
- "full": {
3
- "description": "The MBPP (Mostly Basic Python Problems) dataset consists of around 1,000 crowd-sourced Python\nprogramming problems, designed to be solvable by entry level programmers, covering programming\nfundamentals, standard library functionality, and so on. Each problem consists of a task\ndescription, code solution and 3 automated test cases.\n",
4
- "citation": "@article{austin2021program,\n title={Program Synthesis with Large Language Models},\n author={Austin, Jacob and Odena, Augustus and Nye, Maxwell and Bosma, Maarten and Michalewski, Henryk and Dohan, David and Jiang, Ellen and Cai, Carrie and Terry, Michael and Le, Quoc and others},\n journal={arXiv preprint arXiv:2108.07732},\n year={2021}\n}",
5
- "homepage": "https://github.com/google-research/google-research/tree/master/mbpp",
6
- "license": "CC-BY-4.0",
7
- "features": {
8
- "task_id": {
9
- "dtype": "int32",
10
- "id": null,
11
- "_type": "Value"
12
- },
13
- "text": {
14
- "dtype": "string",
15
- "id": null,
16
- "_type": "Value"
17
- },
18
- "code": {
19
- "dtype": "string",
20
- "id": null,
21
- "_type": "Value"
22
- },
23
- "test_list": {
24
- "feature": {
25
- "dtype": "string",
26
- "id": null,
27
- "_type": "Value"
28
- },
29
- "length": -1,
30
- "id": null,
31
- "_type": "Sequence"
32
- },
33
- "test_setup_code": {
34
- "dtype": "string",
35
- "id": null,
36
- "_type": "Value"
37
- },
38
- "challenge_test_list": {
39
- "feature": {
40
- "dtype": "string",
41
- "id": null,
42
- "_type": "Value"
43
- },
44
- "length": -1,
45
- "id": null,
46
- "_type": "Sequence"
47
- }
48
- },
49
- "post_processed": null,
50
- "supervised_keys": null,
51
- "task_templates": null,
52
- "builder_name": "mbpp",
53
- "config_name": "full",
54
- "version": {
55
- "version_str": "1.0.0",
56
- "description": null,
57
- "major": 1,
58
- "minor": 0,
59
- "patch": 0
60
- },
61
- "splits": {
62
- "test": {
63
- "name": "test",
64
- "num_bytes": 467780,
65
- "num_examples": 974,
66
- "dataset_name": "mbpp"
67
- }
68
- },
69
- "download_checksums": {
70
- "https://raw.githubusercontent.com/google-research/google-research/master/mbpp/mbpp.jsonl": {
71
- "num_bytes": 563537,
72
- "checksum": "0b7004a79cd62d9ec7ecdd5a6e5f0ef1210ff00b286df3c5d5b57bf38c58e19a"
73
- }
74
- },
75
- "download_size": 563537,
76
- "post_processing_size": null,
77
- "dataset_size": 467780,
78
- "size_in_bytes": 1031317
79
- },
80
- "sanitized": {
81
- "description": "The MBPP (Mostly Basic Python Problems) dataset consists of around 1,000 crowd-sourced Python\nprogramming problems, designed to be solvable by entry level programmers, covering programming\nfundamentals, standard library functionality, and so on. Each problem consists of a task\ndescription, code solution and 3 automated test cases.\n",
82
- "citation": "@article{austin2021program,\n title={Program Synthesis with Large Language Models},\n author={Austin, Jacob and Odena, Augustus and Nye, Maxwell and Bosma, Maarten and Michalewski, Henryk and Dohan, David and Jiang, Ellen and Cai, Carrie and Terry, Michael and Le, Quoc and others},\n journal={arXiv preprint arXiv:2108.07732},\n year={2021}\n}",
83
- "homepage": "https://github.com/google-research/google-research/tree/master/mbpp",
84
- "license": "CC-BY-4.0",
85
- "features": {
86
- "source_file": {
87
- "dtype": "string",
88
- "id": null,
89
- "_type": "Value"
90
- },
91
- "task_id": {
92
- "dtype": "int32",
93
- "id": null,
94
- "_type": "Value"
95
- },
96
- "prompt": {
97
- "dtype": "string",
98
- "id": null,
99
- "_type": "Value"
100
- },
101
- "code": {
102
- "dtype": "string",
103
- "id": null,
104
- "_type": "Value"
105
- },
106
- "test_imports": {
107
- "feature": {
108
- "dtype": "string",
109
- "id": null,
110
- "_type": "Value"
111
- },
112
- "length": -1,
113
- "id": null,
114
- "_type": "Sequence"
115
- },
116
- "test_list": {
117
- "feature": {
118
- "dtype": "string",
119
- "id": null,
120
- "_type": "Value"
121
- },
122
- "length": -1,
123
- "id": null,
124
- "_type": "Sequence"
125
- }
126
- },
127
- "post_processed": null,
128
- "supervised_keys": null,
129
- "task_templates": null,
130
- "builder_name": "mbpp",
131
- "config_name": "sanitized",
132
- "version": {
133
- "version_str": "1.0.0",
134
- "description": null,
135
- "major": 1,
136
- "minor": 0,
137
- "patch": 0
138
- },
139
- "splits": {
140
- "test": {
141
- "name": "test",
142
- "num_bytes": 219504,
143
- "num_examples": 427,
144
- "dataset_name": "mbpp"
145
- }
146
- },
147
- "download_checksums": {
148
- "https://raw.githubusercontent.com/google-research/google-research/master/mbpp/sanitized-mbpp.json": {
149
- "num_bytes": 254879,
150
- "checksum": "45fca2bbec0d898702499193e593e9bf92092dd4560ebd7c652b9c84d6aed9f5"
151
- }
152
- },
153
- "download_size": 254879,
154
- "post_processing_size": null,
155
- "dataset_size": 219504,
156
- "size_in_bytes": 474383
157
- }
158
- }
1
+ {"full": {"description": "The MBPP (Mostly Basic Python Problems) dataset consists of around 1,000 crowd-sourced Python\nprogramming problems, designed to be solvable by entry level programmers, covering programming\nfundamentals, standard library functionality, and so on. Each problem consists of a task\ndescription, code solution and 3 automated test cases.\n", "citation": "@article{austin2021program,\n title={Program Synthesis with Large Language Models},\n author={Austin, Jacob and Odena, Augustus and Nye, Maxwell and Bosma, Maarten and Michalewski, Henryk and Dohan, David and Jiang, Ellen and Cai, Carrie and Terry, Michael and Le, Quoc and others},\n journal={arXiv preprint arXiv:2108.07732},\n year={2021}\n}", "homepage": "https://github.com/google-research/google-research/tree/master/mbpp", "license": "CC-BY-4.0", "features": {"task_id": {"dtype": "int32", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "code": {"dtype": "string", "id": null, "_type": "Value"}, "test_list": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "test_setup_code": {"dtype": "string", "id": null, "_type": "Value"}, "challenge_test_list": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "mbpp", "config_name": "full", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 468088, "num_examples": 974, "dataset_name": "mbpp"}}, "download_checksums": {"https://raw.githubusercontent.com/google-research/google-research/master/mbpp/mbpp.jsonl": {"num_bytes": 563743, "checksum": "ccf64ceae9c5403bf50a044cb6d505bfd2a2963ee58338ba268fd65beab92a9f"}}, "download_size": 563743, "post_processing_size": null, "dataset_size": 468088, "size_in_bytes": 1031831}, "sanitized": {"description": "The MBPP (Mostly Basic Python Problems) dataset consists of around 1,000 crowd-sourced Python\nprogramming problems, designed to be solvable by entry level programmers, covering programming\nfundamentals, standard library functionality, and so on. Each problem consists of a task\ndescription, code solution and 3 automated test cases.\n", "citation": "@article{austin2021program,\n title={Program Synthesis with Large Language Models},\n author={Austin, Jacob and Odena, Augustus and Nye, Maxwell and Bosma, Maarten and Michalewski, Henryk and Dohan, David and Jiang, Ellen and Cai, Carrie and Terry, Michael and Le, Quoc and others},\n journal={arXiv preprint arXiv:2108.07732},\n year={2021}\n}", "homepage": "https://github.com/google-research/google-research/tree/master/mbpp", "license": "CC-BY-4.0", "features": {"source_file": {"dtype": "string", "id": null, "_type": "Value"}, "task_id": {"dtype": "int32", "id": null, "_type": "Value"}, "prompt": {"dtype": "string", "id": null, "_type": "Value"}, "code": {"dtype": "string", "id": null, "_type": "Value"}, "test_imports": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "test_list": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "mbpp", "config_name": "sanitized", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 219712, "num_examples": 427, "dataset_name": "mbpp"}}, "download_checksums": {"https://raw.githubusercontent.com/google-research/google-research/master/mbpp/sanitized-mbpp.json": {"num_bytes": 255053, "checksum": "ca95deaa9a01ef0a6f439f88bcf0dd3db3563d22f22aad6cae04ebb9a8d8c8e9"}}, "download_size": 255053, "post_processing_size": null, "dataset_size": 219712, "size_in_bytes": 474765}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dummy/full/{1.0.0 → 1.0.1}/dummy_data.zip RENAMED
File without changes
dummy/sanitized/{1.0.0 → 1.0.1}/dummy_data.zip RENAMED
File without changes
mbpp.py CHANGED
@@ -33,12 +33,12 @@ _LICENSE = "CC-BY-4.0"
33
  class MBPP(datasets.GeneratorBasedBuilder):
34
  """MBPP: Mostly Basic Python Problems Dataset"""
35
 
36
- VERSION = datasets.Version("1.0.0")
37
 
38
  BUILDER_CONFIGS = [
39
  datasets.BuilderConfig(
40
  name=f"{split}",
41
- version=datasets.Version("1.0.0"),
42
  description=_DESCRIPTION,
43
  )
44
  for split in _SPLITS
33
  class MBPP(datasets.GeneratorBasedBuilder):
34
  """MBPP: Mostly Basic Python Problems Dataset"""
35
 
36
+ VERSION = datasets.Version("1.0.1")
37
 
38
  BUILDER_CONFIGS = [
39
  datasets.BuilderConfig(
40
  name=f"{split}",
41
+ version=datasets.Version("1.0.1"),
42
  description=_DESCRIPTION,
43
  )
44
  for split in _SPLITS