Datasets:

Languages:
English
ArXiv:
Tags:
code
License:
gabeorlanski commited on
Commit
cc75a93
1 Parent(s): a6974e5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +125 -0
README.md CHANGED
@@ -1,3 +1,128 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ - text2text-generation
6
+ language:
7
+ - en
8
+ tags:
9
+ - code
10
+ pretty_name: BabelCode MBPP
11
+ size_categories:
12
+ - 1K<n<10K
13
  ---
14
+ # Dataset Card for BabelCode HumanEval
15
+
16
+ ## Dataset Description
17
+
18
+ - **Repository:** [GitHub Repository](https://github.com/google-research/babelcode)
19
+ - **Paper:** [Measuring The Impact Of Programming Language Distribution](https://arxiv.org/abs/2302.01973)
20
+
21
+ ### How To Use This Dataset
22
+
23
+ To quickly evaluate BC-HumanEval predictions, save the `qid` and `language` keys along with the postprocessed prediction code in a JSON lines file. Then follow the install instructions for [BabelCode](https://github.com/google-research/babelcode), and you can evaluate your predictions.
24
+
25
+ ### Dataset Summary
26
+
27
+ The BabelCode-MBPP (BC-MBPP) dataset converts the [MBPP dataset released by Google](https://arxiv.org/abs/2108.07732) to 16 programming languages.
28
+
29
+ ### Supported Tasks and Leaderboards
30
+
31
+ ### Languages
32
+ BC-MBPP supports:
33
+ * C++
34
+ * C#
35
+ * Dart
36
+ * Go
37
+ * Haskell
38
+ * Java
39
+ * Javascript
40
+ * Julia
41
+ * Kotlin
42
+ * Lua
43
+ * PHP
44
+ * Python
45
+ * R
46
+ * Rust
47
+ * Scala
48
+ * TypeScript
49
+
50
+ ## Dataset Structure
51
+
52
+ ```python
53
+ >>> from datasets import load_dataset
54
+ >>> load_dataset("gabeorlanski/bc-humaneval")
55
+ DatasetDict({
56
+ test: Dataset({
57
+ features: ['qid', 'title', 'language', 'text', 'signature_with_docstring', 'signature', 'arguments', 'entry_fn_name', 'entry_cls_name', 'test_code'],
58
+ num_rows: 2576
59
+ })
60
+ })
61
+ ```
62
+
63
+ ### Data Fields
64
+
65
+ - `qid`: The question ID used for running tests.
66
+ - `title`: The title of the question.
67
+ - `language`: The programming language of the example.
68
+ - `text`: The description of the problem.
69
+ - `signature`: The signature for the problem.
70
+ - `signature_with_docstring`: The signature with the adequately formatted docstring for the given problem.
71
+ - `arguments`: The arguments of the problem.
72
+ - `entry_fn_name`: The function's name to use an entry point.
73
+ - `entry_cls_name`: The class name to use an entry point.
74
+ - `test_code`: The raw testing script used in the language. If you want to use this, replace `PLACEHOLDER_FN_NAME` (and `PLACEHOLDER_CLS_NAME` if needed) with the corresponding entry points. Next, replace `PLACEHOLDER_CODE_BODY` with the postprocessed prediction.
75
+
76
+ ## Dataset Creation
77
+ See section 2 of the [BabelCode Paper](https://arxiv.org/abs/2302.01973) to learn more about how the datasets are translated.
78
+
79
+ ### Curation Rationale
80
+
81
+ ### Source Data
82
+
83
+ #### Initial Data Collection and Normalization
84
+
85
+ #### Who are the source language producers?
86
+
87
+ ### Annotations
88
+
89
+ #### Annotation process
90
+
91
+ #### Who are the annotators?
92
+
93
+ ### Personal and Sensitive Information
94
+ None.
95
+
96
+ ## Considerations for Using the Data
97
+
98
+ ### Social Impact of Dataset
99
+
100
+
101
+ ### Discussion of Biases
102
+
103
+ ### Other Known Limitations
104
+
105
+ ## Additional Information
106
+
107
+ ### Dataset Curators
108
+ Google Research
109
+
110
+ ### Licensing Information
111
+ CC-BY-4.0
112
+
113
+ ### Citation Information
114
+ ```
115
+ @article{orlanski2023measuring,
116
+ title={Measuring The Impact Of Programming Language Distribution},
117
+ author={Orlanski, Gabriel and Xiao, Kefan and Garcia, Xavier and Hui, Jeffrey and Howland, Joshua and Malmaud, Jonathan and Austin, Jacob and Singh, Rishah and Catasta, Michele},
118
+ journal={arXiv preprint arXiv:2302.01973},
119
+ year={2023}
120
+ }
121
+ @article{Austin2021ProgramSW,
122
+ title={Program Synthesis with Large Language Models},
123
+ author={Jacob Austin and Augustus Odena and Maxwell Nye and Maarten Bosma and Henryk Michalewski and David Dohan and Ellen Jiang and Carrie J. Cai and Michael Terry and Quoc V. Le and Charles Sutton},
124
+ journal={ArXiv},
125
+ year={2021},
126
+ volume={abs/2108.07732}
127
+ }
128
+ ```