Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Khan Math – Geometry

Geometry problems from Khan Academy in ChatML format. Covers triangles, circles, coordinate geometry, and more.

Quick Start

from datasets import load_dataset

dataset = load_dataset("NecroMOnk/khan-math-geometry")

print(dataset["train"][0])

Example record:

{
  "messages": [
    {"role": "system", "content": "You are a mathematics tutor. Answer the following math problem."},
    {"role": "user", "content": "Find the arclength of the function $f(x) = \\log(2x)$ on the interval $x=4$ to $x=5$"},
    {"role": "assistant", "content": "$-\\sqrt{17}+\\sqrt{26}+\\tanh^{-1}\\left(\\sqrt{17}\\right)-\\tanh^{-1}\\left(\\sqrt{26}\\right)$"}
  ],
  "topic": "calculus",
  "subtopic": "arclength"
}

Dataset Stats

  • 300K problems
  • ChatML format
  • Source: Khan Academy geometry materials
  • Language: English
  • Math notation: LaTeX

Fields

Field Type Description
messages list ChatML turns: system, user, assistant
topic string Top-level math topic (e.g. calculus)
subtopic string Specific subtopic (e.g. arclength)

Source

Problems sourced from Khan Academy via the AMPS dataset. Problems and answers are in LaTeX format.

Versions

  • v1 – raw extraction, minor artifacts possible (e.g. degenerate intervals, +- notation)
  • v2 – cleaned formulas, extraction artifacts removed (coming soon)
Downloads last month
36