--- language: code license: apache-2.0 multilinguality: multilingual source_datasets: - code-search-net/code_search_net pretty_name: CodeSearchNet for CodeGen dataset_summary: 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. data_collection_and_processing_section: 'During processing of the original dataset, 731 records were ignored due to various reasons: - python: no docstring at function begin: 651 cases - java: code cutoff at wrong end: 49 cases - php: multiple fields/methods: 17 cases - ruby: parse error: 7 cases - python: mixing spaces and tabs: 4 cases - go: no method body: 1 cases - php: code cutoff at wrong end: 1 cases - php: no method body: 1 cases ' dataset_card_authors: Pengyu Nie --- # Dataset Card for CodeSearchNet for CodeGen 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. ## Dataset Details ### Dataset Description - **Curated by:** [More Information Needed] - **Funded by [optional]:** [More Information Needed] - **Shared by [optional]:** [More Information Needed] - **Language(s) (NLP):** code - **License:** apache-2.0 ### Dataset Sources [optional] - **Repository:** [More Information Needed] - **Paper [optional]:** [More Information Needed] - **Demo [optional]:** [More Information Needed] ## Uses ### Direct Use [More Information Needed] ### Out-of-Scope Use [More Information Needed] ## Dataset Structure [More Information Needed] ## Dataset Creation ### Curation Rationale [More Information Needed] ### Source Data #### Data Collection and Processing During processing of the original dataset, 731 records were ignored due to various reasons: - python: no docstring at function begin: 651 cases - java: code cutoff at wrong end: 49 cases - php: multiple fields/methods: 17 cases - ruby: parse error: 7 cases - python: mixing spaces and tabs: 4 cases - go: no method body: 1 cases - php: code cutoff at wrong end: 1 cases - php: no method body: 1 cases #### Who are the source data producers? [More Information Needed] ### Annotations [optional] #### Annotation process [More Information Needed] #### Who are the annotators? [More Information Needed] #### Personal and Sensitive Information [More Information Needed] ## Bias, Risks, and Limitations [More Information Needed] ### Recommendations Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations. ## Citation [optional] **BibTeX:** [More Information Needed] **APA:** [More Information Needed] ## Glossary [optional] [More Information Needed] ## More Information [optional] [More Information Needed] ## Dataset Card Authors [optional] Pengyu Nie ## Dataset Card Contact [More Information Needed]