Skip to content

Dataset · iamtarun

Python code tasks in Alpaca style

iamtarun/python_code_instructions_18k_alpaca

18k Python task descriptions and solutions in Alpaca format for code generation training.

What's inside

The dataset contains task descriptions and Python code. It is sourced from sahil2801/code_instructions_120k, with an added Alpaca-style prompt column. The data is text-based; the language is not specified in the card.

What you can do with it

  • fine-tuning LoRA for Python code generation
  • testing a code assistant on academic tasks
  • training a text-to-code model
Tasks
Question answering, Text generation
Size
10K–100K rows
Downloads this month
26.5K
Likes
367

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("iamtarun/python_code_instructions_18k_alpaca")