Skip to content

Dataset · openai

Grade school math word problems

openai/gsm8k

8.5K diverse grade school math problems with step-by-step solutions for reasoning evaluation.

What's inside

GSM8K is a set of 8.5K high-quality, linguistically diverse English grade school math word problems. The problems require 2 to 8 reasoning steps and are solved using a sequence of basic arithmetic operations. The dataset is designed for question answering on basic mathematics with multi-step reasoning.

What you can do with it

  • Fine-tuning models for mathematical reasoning
  • Benchmark for LLMs
  • Evaluating chain-of-thought
Tasks
Text generation
Languages
English
Size
10K–100K rows
Downloads this month
1.3M
Likes
2.1K

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("openai/gsm8k")