SAVRN
Search Contact SAVRN

Dataset · Text to text

mbpp

by Google Research Datasets google-research-datasets/mbpp

The benchmark consists of around 1,000 crowd-sourced Python programming problems, designed to be solvable by entry level programmers, covering programming fundamentals, standard library functionality, and so on.

Rows1,401
Configurations2
Size361.7 KB
Licensecc-by-4.0
AccessPublicly accessible
Monthly Downloads498.6k

Dataset Card

By Google Research Datasets, published under cc-by-4.0, revision 4bb6404fdc6c.

Dataset Card for Mostly Basic Python Problems (mbpp)

Table of Contents

  • Dataset Card for Mostly Basic Python Problems (mbpp)
  • Table of Contents
  • Dataset Description
    • Dataset Summary
    • Supported Tasks and Leaderboards
    • Languages
  • Dataset Structure
    • Data Instances
    • Data Fields
    • Data Splits
  • Dataset Creation
    • Curation Rationale
    • Source Data
    • Initial Data Collection and Normalization
    • Who are the source language producers?
    • Annotations
    • Annotation process
    • Who are the annotators?
    • Personal and Sensitive Information
  • Considerations for Using the Data
    • Social Impact of Dataset
    • Discussion of Biases
    • Other Known Limitations
  • Additional Information
    • Dataset Curators
    • Licensing Information
    • Citation Information
    • Contributions

Dataset Description

Dataset Summary

The benchmark consists of around 1,000 crowd-sourced Python programming problems, designed to be solvable by entry level programmers, covering programming fundamentals, standard library functionality, and so on. Each problem consists of a task description, code solution and 3 automated test cases. As described in the paper, a subset of the data has been hand-verified by us.

Read the full dataset card (797 words)

Structure

full 974 rows

SplitRowsSize
train374176.9 KB
test500244.2 KB
validation9042.4 KB
prompt104.6 KB
task_idint32textstringcodestringtest_listSequencetest_setup_codestringchallenge_test_listSequence

sanitized 427 rows

SplitRowsSize
train12063.5 KB
test257132.8 KB
validation4320.1 KB
prompt73.4 KB
source_filestringtask_idint32promptstringcodestringtest_importsSequencetest_listSequence

Details

Repository
google-research-datasets/mbpp
Publisher
Google Research Datasets
Task category
Text to text
Tags
code-generation
Size category
n<1K
Languages
en
Revision
4bb6404fdc6cacfda99d4ac4205087b89d32030c
Last updated
2024-01-04

SAVRN's Notes on mbpp

MBPP is 1,401 crowd-sourced entry-level Python problems in 361.7 KB, 10 files, 498.6k monthly downloads, cc-by-4.0, from Google Research under the google-research-datasets account, task category text-to-text, tagged code-generation. Two configs: full at 974 rows (374 train, 500 test, 90 validation) and sanitized at 427 rows (120, 257, 43). The sanitized split exists because the original had noise; prefer it for reporting.

This is an eval for code models, and a contaminated one, since every code LLM has been benchmarked against it for years. Do not train on it unless you enjoy invalidating your own numbers, and at 1,401 rows it is useless as training data anyway. If you need basic Python problems, generate synthetically and keep MBPP as a held-out check.

Files

10 files, 361.7 KB in total.

Data8 files · 351.5 KB
Documentation1 file · 9.1 KB
Repository1 file · 1.2 KB
Every file
FileTypeSizeSHA-256
full/prompt-00000-of-00001.parquetData7.9 KBa053e4bb85ce
full/test-00000-of-00001.parquetData115.8 KB566fd53060ff
full/train-00000-of-00001.parquetData87.2 KB09d125ca31ed
full/validation-00000-of-00001.parquetData25.1 KB3f0ec0609874
sanitized/prompt-00000-of-00001.parquetData6.7 KB73c623309b7b
sanitized/test-00000-of-00001.parquetData60.9 KBe9e9efa2c0d5
sanitized/train-00000-of-00001.parquetData33.9 KBd95f8ad6d2ff
sanitized/validation-00000-of-00001.parquetData14.0 KB27e065fcab3c
README.mdDocumentation9.1 KB—
.gitattributesRepository1.2 KB—

License and Download

License
cc-by-4.0
Access
No access gate
Download from Google Research Datasets

Released by Google Research Datasets through its official repository on Hugging Face. Read the license.