# AQuA-RAT: 100,000 Algebraic Word Problems with Multiple-Choice Answers and Step-by-Step Natural Language Rationales (DeepMind)

## Facts

- Provider: DeepMind (Ling et al.)
- License: Apache-2.0 (https://github.com/deepmind/AQuA/blob/master/LICENSE)
- Size: 8 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/deepmind/aqua_rat
- Access: public, readable without an account
- Category: Mathematics
- Source: https://arxiv.org/abs/1705.04146
- Page: https://scigantic.com/archive/35445d54-2905-5bb1-97e8-c9d88ac6cc44
- Keywords: Mathematics, benchmark, Parquet, Hugging Face

## About

AQuA-RAT (Algebra Question Answering with Rationales) is a set of about 100,000 algebraic and arithmetic word problems, each with five multiple-choice options, the correct option and a rationale that explains the solution step by step in natural language mixed with equations. It was built by DeepMind to train models that generate an explanation and a program that solves the problem, and is now a common benchmark for math word problem solving, quantitative reasoning and chain-of-thought rationale generation. Splits: 97,467 training, 254 validation and 254 test problems. The repository has two configurations as Parquet files: raw/ (question, options, rationale, correct answer) and tokenized/ (the same fields pre-tokenized), about 52 MB in total. Load with the Hugging Face datasets library (load_dataset('deepmind/aqua_rat', 'raw')) or pandas. The data is published in the deepmind/AQuA GitHub repository under the Apache License 2.0; cite Ling et al., Program Induction by Rationale Generation: Learning to Solve and Explain Algebraic Word Problems, ACL 2017.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("deepmind/aqua_rat")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `raw/test-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/35445d54-2905-5bb1-97e8-c9d88ac6cc44
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/35445d54-2905-5bb1-97e8-c9d88ac6cc44
- Over MCP: `get_schema_card` with id `35445d54-2905-5bb1-97e8-c9d88ac6cc44` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Benchmark datasets](https://scigantic.com/topics/benchmark)
- [Mathematics datasets](https://scigantic.com/topics/mathematics)
