AIAny
Icon for item

Grade School Math 8K (GSM8K)

Benchmark dataset of ~8.5k grade-school math word problems with step-by-step solutions and calculator annotations for evaluating multi-step arithmetic reasoning in language models. Provided in two configs (main and socratic) and commonly used for chain-of-thought prompting, fine-tuning, and verifier training.

Introduction

Most LLM weaknesses on elementary arithmetic show up not because models can’t compute single operations, but because they fail to reliably chain a handful of correct arithmetic steps under natural-language reasoning. GSM8K provides a compact, high-quality set of grade-school word problems with human-written multi-step solutions and embedded calculation annotations to isolate and measure that capability.

What Sets It Apart
  • Human-crafted, linguistically diverse problems (≈8.5K instances) designed to require 2–8 reasoning steps, with explicit calculator-style annotations that make intermediate arithmetic visible. This makes it suitable for evaluating both final-answer accuracy and the quality of intermediate reasoning traces.
  • Two configurations: “main” (question + final multi-step solution) and “socratic” (same solutions broken into guided sub-questions), enabling experiments that compare direct chain-of-thought prompting vs. stepwise Socratic approaches.
  • Small enough to iterate quickly (train: 7473 / test: 1319) yet widely adopted, so performance numbers are comparable across papers and leaderboards.
Who It’s For — Tradeoffs

Great fit if you need a focused benchmark to measure or improve multi-step arithmetic reasoning in English LLMs (prompting strategies, chain-of-thought, verifier training, fine-tuning). Look elsewhere if you need large-scale or domain-specific math (college-level math, symbolic manipulation), multilingual coverage, or tasks that test non-arithmetic reasoning. The dataset is licensed under MIT, making it easy to reuse, but its narrow scope means strong performance on GSM8K does not guarantee broad mathematical competence.

Information

Categories

More Items

Hugging Face

Selected ~245B-token corpus of algorithmically relevant code across 11 languages from The Stack v3, produced by file-level language-adaptive selection (UltraData-Code-L2-Classifier). Concentrates problem-solving implementations for LLM code pretraining while preserving broad language coverage; released under ODC-By.

Hugging Face

Contains 73 images used in Hugging Face library documentation, packaged in Parquet and imagefolder formats for examples, demos, and small-scale image experiments; distributed under CC BY‑NC‑SA 4.0.

Hugging Face

A monthly-updated, hive-partitioned parquet corpus of billions of standard rated chess games from Lichess for data analysis and ML — includes move lists with clock info, player Glicko2 ratings, openings, timestamps, and some Stockfish evals under CC0.