Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:

facebook/blenderbot-400M-distill

#3
by TheKitten - opened
README.md CHANGED
@@ -9,6 +9,7 @@ license:
9
  - mit
10
  multilinguality:
11
  - monolingual
 
12
  size_categories:
13
  - n<1K
14
  source_datasets:
@@ -16,12 +17,10 @@ source_datasets:
16
  task_categories:
17
  - text2text-generation
18
  task_ids: []
19
- paperswithcode_id: humaneval
20
- pretty_name: OpenAI HumanEval
21
  tags:
22
  - code-generation
 
23
  dataset_info:
24
- config_name: openai_humaneval
25
  features:
26
  - name: task_id
27
  dtype: string
@@ -33,18 +32,13 @@ dataset_info:
33
  dtype: string
34
  - name: entry_point
35
  dtype: string
 
36
  splits:
37
  - name: test
38
- num_bytes: 194394
39
  num_examples: 164
40
- download_size: 83920
41
- dataset_size: 194394
42
- configs:
43
- - config_name: openai_humaneval
44
- data_files:
45
- - split: test
46
- path: openai_humaneval/test-*
47
- default: true
48
  ---
49
 
50
  # Dataset Card for OpenAI HumanEval
 
9
  - mit
10
  multilinguality:
11
  - monolingual
12
+ pretty_name: OpenAI HumanEval
13
  size_categories:
14
  - n<1K
15
  source_datasets:
 
17
  task_categories:
18
  - text2text-generation
19
  task_ids: []
 
 
20
  tags:
21
  - code-generation
22
+ paperswithcode_id: humaneval
23
  dataset_info:
 
24
  features:
25
  - name: task_id
26
  dtype: string
 
32
  dtype: string
33
  - name: entry_point
34
  dtype: string
35
+ config_name: openai_humaneval
36
  splits:
37
  - name: test
38
+ num_bytes: 194414
39
  num_examples: 164
40
+ download_size: 44877
41
+ dataset_size: 194414
 
 
 
 
 
 
42
  ---
43
 
44
  # Dataset Card for OpenAI HumanEval
dataset_infos.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "openai_humaneval": {
3
+ "description": "The HumanEval dataset released by OpenAI contains 164 handcrafted programming challenges together with unittests to very the viability of a proposed solution.\n",
4
+ "citation": "@misc{chen2021evaluating,\n title={Evaluating Large Language Models Trained on Code},\n author={Mark Chen and Jerry Tworek and Heewoo Jun and Qiming Yuan and Henrique Ponde de Oliveira Pinto and Jared Kaplan and Harri Edwards and Yuri Burda and Nicholas Joseph and Greg Brockman and Alex Ray and Raul Puri and Gretchen Krueger and Michael Petrov and Heidy Khlaaf and Girish Sastry and Pamela Mishkin and Brooke Chan and Scott Gray and Nick Ryder and Mikhail Pavlov and Alethea Power and Lukasz Kaiser and Mohammad Bavarian and Clemens Winter and Philippe Tillet and Felipe Petroski Such and Dave Cummings and Matthias Plappert and Fotios Chantzis and Elizabeth Barnes and Ariel Herbert-Voss and William Hebgen Guss and Alex Nichol and Alex Paino and Nikolas Tezak and Jie Tang and Igor Babuschkin and Suchir Balaji and Shantanu Jain and William Saunders and Christopher Hesse and Andrew N. Carr and Jan Leike and Josh Achiam and Vedant Misra and Evan Morikawa and Alec Radford and Matthew Knight and Miles Brundage and Mira Murati and Katie Mayer and Peter Welinder and Bob McGrew and Dario Amodei and Sam McCandlish and Ilya Sutskever and Wojciech Zaremba},\n year={2021},\n eprint={2107.03374},\n archivePrefix={arXiv},\n primaryClass={cs.LG}\n}",
5
+ "homepage": "https://github.com/openai/human-eval",
6
+ "license": "MIT",
7
+ "features": {
8
+ "task_id": {
9
+ "dtype": "string",
10
+ "id": null,
11
+ "_type": "Value"
12
+ },
13
+ "prompt": {
14
+ "dtype": "string",
15
+ "id": null,
16
+ "_type": "Value"
17
+ },
18
+ "canonical_solution": {
19
+ "dtype": "string",
20
+ "id": null,
21
+ "_type": "Value"
22
+ },
23
+ "test": {
24
+ "dtype": "string",
25
+ "id": null,
26
+ "_type": "Value"
27
+ },
28
+ "entry_point": {
29
+ "dtype": "string",
30
+ "id": null,
31
+ "_type": "Value"
32
+ }
33
+ },
34
+ "post_processed": null,
35
+ "supervised_keys": null,
36
+ "task_templates": null,
37
+ "builder_name": "openai_humaneval",
38
+ "config_name": "openai_humaneval",
39
+ "version": {
40
+ "version_str": "1.0.0",
41
+ "description": null,
42
+ "major": 1,
43
+ "minor": 0,
44
+ "patch": 0
45
+ },
46
+ "splits": {
47
+ "test": {
48
+ "name": "test",
49
+ "num_bytes": 194414,
50
+ "num_examples": 164,
51
+ "dataset_name": "openai_humaneval"
52
+ }
53
+ },
54
+ "download_checksums": {
55
+ "https://raw.githubusercontent.com/openai/human-eval/master/data/HumanEval.jsonl.gz": {
56
+ "num_bytes": 44877,
57
+ "checksum": "b796127e635a67f93fb35c04f4cb03cf06f38c8072ee7cee8833d7bee06979ef"
58
+ }
59
+ },
60
+ "download_size": 44877,
61
+ "post_processing_size": null,
62
+ "dataset_size": 194414,
63
+ "size_in_bytes": 239291
64
+ }
65
+ }
openai_humaneval.py ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ import datasets
4
+
5
+
6
+ _DESCRIPTION = """\
7
+ The HumanEval dataset released by OpenAI contains 164 handcrafted programming challenges together with unittests to very the viability of a proposed solution.
8
+ """
9
+ _URL = "https://raw.githubusercontent.com/openai/human-eval/master/data/HumanEval.jsonl.gz"
10
+
11
+ _CITATION = """\
12
+ @misc{chen2021evaluating,
13
+ title={Evaluating Large Language Models Trained on Code},
14
+ author={Mark Chen and Jerry Tworek and Heewoo Jun and Qiming Yuan and Henrique Ponde de Oliveira Pinto and Jared Kaplan and Harri Edwards and Yuri Burda and Nicholas Joseph and Greg Brockman and Alex Ray and Raul Puri and Gretchen Krueger and Michael Petrov and Heidy Khlaaf and Girish Sastry and Pamela Mishkin and Brooke Chan and Scott Gray and Nick Ryder and Mikhail Pavlov and Alethea Power and Lukasz Kaiser and Mohammad Bavarian and Clemens Winter and Philippe Tillet and Felipe Petroski Such and Dave Cummings and Matthias Plappert and Fotios Chantzis and Elizabeth Barnes and Ariel Herbert-Voss and William Hebgen Guss and Alex Nichol and Alex Paino and Nikolas Tezak and Jie Tang and Igor Babuschkin and Suchir Balaji and Shantanu Jain and William Saunders and Christopher Hesse and Andrew N. Carr and Jan Leike and Josh Achiam and Vedant Misra and Evan Morikawa and Alec Radford and Matthew Knight and Miles Brundage and Mira Murati and Katie Mayer and Peter Welinder and Bob McGrew and Dario Amodei and Sam McCandlish and Ilya Sutskever and Wojciech Zaremba},
15
+ year={2021},
16
+ eprint={2107.03374},
17
+ archivePrefix={arXiv},
18
+ primaryClass={cs.LG}
19
+ }"""
20
+
21
+ _HOMEPAGE = "https://github.com/openai/human-eval"
22
+
23
+ _LICENSE = "MIT"
24
+
25
+
26
+ class OpenaiHumaneval(datasets.GeneratorBasedBuilder):
27
+ """HumanEval: A benchmark for code generation."""
28
+
29
+ VERSION = datasets.Version("1.0.0")
30
+
31
+ BUILDER_CONFIGS = [
32
+ datasets.BuilderConfig(
33
+ name="openai_humaneval",
34
+ version=datasets.Version("1.0.0"),
35
+ description=_DESCRIPTION,
36
+ )
37
+ ]
38
+
39
+ def _info(self):
40
+ features = datasets.Features(
41
+ {
42
+ "task_id": datasets.Value("string"),
43
+ "prompt": datasets.Value("string"),
44
+ "canonical_solution": datasets.Value("string"),
45
+ "test": datasets.Value("string"),
46
+ "entry_point": datasets.Value("string"),
47
+ }
48
+ )
49
+
50
+ return datasets.DatasetInfo(
51
+ description=_DESCRIPTION,
52
+ features=features,
53
+ supervised_keys=None,
54
+ homepage=_HOMEPAGE,
55
+ license=_LICENSE,
56
+ citation=_CITATION,
57
+ )
58
+
59
+ def _split_generators(self, dl_manager):
60
+ """Returns SplitGenerators."""
61
+ data_dir = dl_manager.download_and_extract(_URL)
62
+ return [
63
+ datasets.SplitGenerator(
64
+ name=datasets.Split.TEST,
65
+ gen_kwargs={
66
+ "filepath": data_dir,
67
+ },
68
+ )
69
+ ]
70
+
71
+ def _generate_examples(self, filepath):
72
+ """Yields examples."""
73
+ with open(filepath, encoding="utf-8") as file:
74
+ data = [json.loads(line) for line in file]
75
+ id_ = 0
76
+ for sample in data:
77
+ yield id_, sample
78
+ id_ += 1
openai_humaneval/test-00000-of-00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f2871a15fbc95b6c683043359f4ed8e144c5a1c4f24f25f66bc51f598dfcfb6
3
- size 83920