Skip to content

Dataset · Vezora

22.6k verified Python examples in Alpaca format

Vezora/Tested-22k-Python-Alpaca

22,600 tested and working Python code snippets collected from Alpaca datasets.

What's inside

An internal Python dataset of 22,600 code examples in Alpaca format; all examples have been verified and confirmed as working. Collected via a script that extracted Python code from the output section of Alpaca datasets and ran each snippet through tests. Volume is between 10k and 100k records, text modality.

What you can do with it

  • SFT of code models on reliably working Python code
  • Evaluating code generation models using executable examples
  • LoRA fine-tuning for Python code writing tasks
Size
10K–100K rows
Downloads this month
3.6K
Likes
68

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("Vezora/Tested-22k-Python-Alpaca")