Skip to content

Dataset · flytech

Python instructions for 25k tasks

flytech/python-codes-25k

Cleaned set of ~25k Python instructions with input/output for training and evaluating code models.

What's inside

A dataset of 24,813 records with instruction, input, output, and text fields; 24,580 unique instructions and 24,581 unique outputs. It covers Python tasks and behavioral aspects with an average length of about 508 tokens. MIT license, language en.

What you can do with it

  • fine-tune a Python assistant
  • run SFT or LoRA
  • evaluate code generation and summarization
Tasks
Text classification, Question answering, Token classification, Summarization, Text generation
Size
10K–100K rows
Downloads this month
10.3K
Likes
193

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("flytech/python-codes-25k")