Skip to content
RAG Repo

AMPS (Auxiliary Mathematics Problems and Solutions) was released alongside the MATH benchmark as pretraining material for maths problem solving. It pairs two kinds of content: more than 100,000 problems from Khan Academy with worked, step-by-step solutions written in LaTeX, and over 5 million problems generated programmatically with Mathematica scripts.

Together they add up to roughly 23 GB. The Khan Academy portion gives natural, human-written explanations, while the Mathematica portion provides scale and coverage across many problem types, from algebra to calculus.

The dataset ships from the MATH benchmark repository on GitHub under the MIT licence. The step-by-step LaTeX solutions make it a good source for RAG systems that need to retrieve worked examples rather than bare answers.

mathematicsproblem-solvinglatexkhan-academystep-by-step

Related sources