region:us
---
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
dataset_info:
  features:
  - name: instruction
    dtype: string
  - name: output
    dtype: string
  splits:
  - name: train
    num_bytes: 5465833
    num_examples: 1000
  download_size: 2322359
  dataset_size: 5465833
---
# Evol-Instruct-Python-1k

Subset of the [`mlabonne/Evol-Instruct-Python-26k`](https://huggingface.co/datasets/mlabonne/Evol-Instruct-Python-26k) dataset with only 1000 samples.

It was made by filtering out a few rows (instruction + output) with more than 2048 tokens, and then by keeping the 1000 longest samples.

Here is the distribution of the number of tokens in each row using Llama's tokenizer:

![](https://i.imgur.com/nwJbg7S.png)