task_categories:conversational task_categories:text-generation task_categories:text2text-generation language:en license:apache-2.0 Python Code generation Instruction Response region:us
---
dataset_info:
  features:
  - name: INSTRUCTION
    dtype: string
  - name: RESPONSE
    dtype: string
  - name: SOURCE
    dtype: string
  splits:
  - name: train
    num_bytes: 451473573
    num_examples: 418545
  download_size: 172777462
  dataset_size: 451473573
license: apache-2.0
task_categories:
- conversational
- text-generation
- text2text-generation
language:
- en
tags:
- Python
- Code generation
- Instruction Response
pretty_name: Instructional Python Dataset
---
# Dataset Card for "instructional_code-search-net-python"

## Dataset Description

- **Homepage:** None
- **Repository:** https://huggingface.co/datasets/Nan-Do/instructional_code-search-net-python
- **Paper:** None
- **Leaderboard:** None
- **Point of Contact:** [@Nan-Do](https://github.com/Nan-Do)

### Dataset Summary

This is an instructional dataset for Python.
The dataset contains two different kind of tasks:
 - Given a piece of code generate a description of what it does.
 - Given a description generate a piece of code that fulfils the description.

### Languages

The dataset is in English.

### Data Splits

There are no splits.

## Dataset Creation

May of 2023

### Curation Rationale

This dataset was created to improve the coding capabilities of LLMs. 

### Source Data

The summarized version of the code-search-net dataset can be found at https://huggingface.co/datasets/Nan-Do/code-search-net-python

### Annotations

The dataset includes an instruction and response columns.

#### Annotation process

The annotation procedure was done using templates and NLP techniques to generate human-like instructions and responses.
A sample notebook of the process can be found at https://github.com/Nan-Do/OpenAssistantInstructionResponsePython
The annontations have been cleaned to make sure there are no repetitions and/or meaningless summaries.

### Licensing Information

Apache 2.0