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

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Hugging Face

Provides 115M public GitHub source files (≈873GB of code, ~1TB uncompressed) with per-file metadata (repo, path, language, license). Supports streaming, language/license filtering and full download for training and evaluating code LLMs and code generation models.

Hugging Face

Provides labeled prompts with full-reference answers (including chain-of-thought and code blocks) and per-example metadata to train edge routing/orchestrator models that decide whether to handle inputs locally or route them to larger models. Includes complexity scores, coding/math flags, routing justifications, and an automated override rule; suited for fine-tuning small models (50M–1.5B) for edge deployment.