Skip to content

Dataset · Muennighoff

Basic Python programming tasks with tests (MBPP)

Muennighoff/mbpp

Around 1,000 basic Python programming tasks with solutions and automated tests for evaluating coding models.

What's inside

Includes approximately 1,000 English text tasks (metadata indicates a range of 1 to 10 thousand) crowdsourced for beginner developers. Tasks cover programming fundamentals and the standard Python library. Each record consists of a task description, a ready solution, and three automated tests.

What you can do with it

  • Benchmark for checking code generation by language models
  • SFT fine-tuning small models to write basic Python code
  • Evaluation of automated testing and code repair systems
Languages
English
Size
1K–10K rows
Downloads this month
2.7K
Likes
32

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("Muennighoff/mbpp")