pengyunie commited on
Commit
5c19422
·
verified ·
1 Parent(s): f7991ea

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +183 -33
README.md CHANGED
@@ -1,35 +1,185 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: repo
5
- dtype: string
6
- - name: sha
7
- dtype: string
8
- - name: path
9
- dtype: string
10
- - name: url
11
- dtype: string
12
- - name: language
13
- dtype: string
14
- - name: split
15
- dtype: string
16
- - name: doc
17
- dtype: string
18
- - name: sign
19
- dtype: string
20
- - name: problem
21
- dtype: string
22
- - name: output
23
- dtype: string
24
- splits:
25
- - name: train
26
- num_bytes: 3090182107
27
- num_examples: 2069805
28
- download_size: 990062251
29
- dataset_size: 3090182107
30
- configs:
31
- - config_name: default
32
- data_files:
33
- - split: train
34
- path: data/train-*
 
 
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: code
3
+ license: apache-2.0
4
+ multilinguality: multilingual
5
+ source_datasets:
6
+ - code-search-net/code_search_net
7
+ task_ids:
8
+ - code-generation
9
+ pretty_name: CodeSearchNet for CodeGen
10
+ dataset_summary: This is a processed version of the CodeSearchNet dataset. Namely,
11
+ I separated the `doc` (documentation/docstring), `sign` (function signature), and
12
+ `output` (function body) into separate fields; `doc` and `sign` are concatenated
13
+ (according to the correct order of the programming language) into the `problem`
14
+ field, making it suitable for the code generation task.
15
+ data_collection_and_processing_section: 'During processing of the original dataset,
16
+ 731 records were ignored due to various reasons:
17
+
18
+
19
+ - python: no docstring at function begin: 651 cases
20
+
21
+ - java: code cutoff at wrong end: 49 cases
22
+
23
+ - php: multiple fields/methods: 17 cases
24
+
25
+ - ruby: parse error: 7 cases
26
+
27
+ - python: mixing spaces and tabs: 4 cases
28
+
29
+ - go: no method body: 1 cases
30
+
31
+ - php: code cutoff at wrong end: 1 cases
32
+
33
+ - php: no method body: 1 cases
34
+
35
+ '
36
+ dataset_card_authors: Pengyu Nie <[email protected]>
37
  ---
38
+
39
+ # Dataset Card for CodeSearchNet for CodeGen
40
+
41
+ <!-- Provide a quick summary of the dataset. -->
42
+
43
+ This is a processed version of the CodeSearchNet dataset. Namely, I separated the `doc` (documentation/docstring), `sign` (function signature), and `output` (function body) into separate fields; `doc` and `sign` are concatenated (according to the correct order of the programming language) into the `problem` field, making it suitable for the code generation task.
44
+
45
+ ## Dataset Details
46
+
47
+ ### Dataset Description
48
+
49
+ <!-- Provide a longer summary of what this dataset is. -->
50
+
51
+
52
+
53
+ - **Curated by:** [More Information Needed]
54
+ - **Funded by [optional]:** [More Information Needed]
55
+ - **Shared by [optional]:** [More Information Needed]
56
+ - **Language(s) (NLP):** code
57
+ - **License:** apache-2.0
58
+
59
+ ### Dataset Sources [optional]
60
+
61
+ <!-- Provide the basic links for the dataset. -->
62
+
63
+ - **Repository:** [More Information Needed]
64
+ - **Paper [optional]:** [More Information Needed]
65
+ - **Demo [optional]:** [More Information Needed]
66
+
67
+ ## Uses
68
+
69
+ <!-- Address questions around how the dataset is intended to be used. -->
70
+
71
+ ### Direct Use
72
+
73
+ <!-- This section describes suitable use cases for the dataset. -->
74
+
75
+ [More Information Needed]
76
+
77
+ ### Out-of-Scope Use
78
+
79
+ <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
80
+
81
+ [More Information Needed]
82
+
83
+ ## Dataset Structure
84
+
85
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ## Dataset Creation
90
+
91
+ ### Curation Rationale
92
+
93
+ <!-- Motivation for the creation of this dataset. -->
94
+
95
+ [More Information Needed]
96
+
97
+ ### Source Data
98
+
99
+ <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
100
+
101
+ #### Data Collection and Processing
102
+
103
+ <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
104
+
105
+ During processing of the original dataset, 731 records were ignored due to various reasons:
106
+
107
+ - python: no docstring at function begin: 651 cases
108
+ - java: code cutoff at wrong end: 49 cases
109
+ - php: multiple fields/methods: 17 cases
110
+ - ruby: parse error: 7 cases
111
+ - python: mixing spaces and tabs: 4 cases
112
+ - go: no method body: 1 cases
113
+ - php: code cutoff at wrong end: 1 cases
114
+ - php: no method body: 1 cases
115
+
116
+
117
+ #### Who are the source data producers?
118
+
119
+ <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
120
+
121
+ [More Information Needed]
122
+
123
+ ### Annotations [optional]
124
+
125
+ <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
126
+
127
+ #### Annotation process
128
+
129
+ <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
130
+
131
+ [More Information Needed]
132
+
133
+ #### Who are the annotators?
134
+
135
+ <!-- This section describes the people or systems who created the annotations. -->
136
+
137
+ [More Information Needed]
138
+
139
+ #### Personal and Sensitive Information
140
+
141
+ <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Bias, Risks, and Limitations
146
+
147
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
148
+
149
+ [More Information Needed]
150
+
151
+ ### Recommendations
152
+
153
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
154
+
155
+ Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
156
+
157
+ ## Citation [optional]
158
+
159
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
160
+
161
+ **BibTeX:**
162
+
163
+ [More Information Needed]
164
+
165
+ **APA:**
166
+
167
+ [More Information Needed]
168
+
169
+ ## Glossary [optional]
170
+
171
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
172
+
173
+ [More Information Needed]
174
+
175
+ ## More Information [optional]
176
+
177
+ [More Information Needed]
178
+
179
+ ## Dataset Card Authors [optional]
180
+
181
+ Pengyu Nie <[email protected]>
182
+
183
+ ## Dataset Card Contact
184
+
185
+ [More Information Needed]