region:us
---
dataset_info:
  features:
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  splits:
  - name: train
    num_bytes: 294812377.0
    num_examples: 93257
  download_size: 143503343
  dataset_size: 294812377.0
---
# Dataset Card for "gpt4all_code"

We provide a code-related subset of the original [nomic-ai/gpt4all-j-prompt-generations](https://huggingface.co/datasets/nomic-ai/gpt4all-j-prompt-generations#dataset-card-for-gpt4all-j-prompt-generations) (v1.2-jazzy revision) dataset, which represents those records whose prompts were sourced from [pacovaldez/stackoverflow-questions](https://huggingface.co/datasets/pacovaldez/stackoverflow-questions) and who explicitly mention one of Python, Java, C++, SQL, Kotlin, PHP, Swift, MATLAB, Typescript, Scala, HTML, CSS, Rust, or Perl. Output records are responses from OpenAI’s GPT3.5-Turbo. Prompt/response pairs have been reformatted to fit the Alpaca format.

Numbers:
- **Prompts**: 93257
- **Tokens**: 87686551 using the [EleutherAI/gpt-neox-20b](https://huggingface.co/EleutherAI/gpt-neox-20b) tokenizer (counting instruction+input+output)