# MMLU (2020)

> 15,908 four-option exam questions, from high-school math to law and medicine.

Page: https://mralbu.github.io/ai-datasets/d/mmlu

## Key facts

- Category: LLMs
- Task: Multiple-choice knowledge and reasoning across 57 subjects
- Creators: Dan Hendrycks, Collin Burns, Steven Basart et al.
- Size: 15,908 questions in the paper (15,858 in this copy)
- Splits: dev 285, validation 1,531, test 14,042
- Input: A question and four answer choices
- Labels: The correct letter (A–D)
- License: MIT
- Paper: [Measuring Massive Multitask Language Understanding](https://arxiv.org/abs/2009.03300)
- Homepage: https://github.com/hendrycks/test
- Hugging Face: [cais/mmlu](https://huggingface.co/datasets/cais/mmlu)
- Sampled at Hub revision c30699e8356da336a370243923dbaf21066bb9fe (2026-11-07)

## Why it matters

For years the headline number on every LLM release. It tested broad, exam-style knowledge at a time when GPT-3 scored 43.9% (random is 25%). Frontier models now score around 90%, near the authors' estimate of expert level, so MMLU is mostly saturated and replaced by harder variants.

## Worth knowing

- The 5 dev questions per subject exist for few-shot prompting, so "5-shot MMLU" means those exact examples.
- A 2024 audit ("Are We Done with MMLU?") estimated about 6.5% of questions have errors, such as wrong answer keys or unclear wording.
- Small changes in prompt format or answer extraction can move scores by several points, so numbers from different reports are not always comparable.

## Get the data

```bash
# pip install -U huggingface_hub
hf download cais/mmlu --repo-type dataset \
  --include "all/*" \
  --local-dir mmlu
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("cais/mmlu", "all")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/cais/mmlu@~parquet/all/test/*.parquet")
print(df.shape)
```

## Related datasets

- [MMLU-Pro](https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro): 2024, 10 options and harder questions (on this site: https://mralbu.github.io/ai-datasets/d/mmlu-pro)
- [MMLU-Redux](https://huggingface.co/datasets/edinburgh-dawg/mmlu-redux): 2024, re-annotated subset
- [MMMU](https://huggingface.co/datasets/MMMU/MMMU): 2023, the multimodal counterpart (on this site: https://mralbu.github.io/ai-datasets/d/mmmu)
- [GPQA](https://huggingface.co/datasets/Idavidrein/gpqa): 2023, graduate-level, Google-proof questions
- [Humanity's Last Exam](https://huggingface.co/datasets/cais/hle): 2025, expert-written questions at the frontier of knowledge
- [MedQA (USMLE)](https://huggingface.co/datasets/GBaker/MedQA-USMLE-4-options): 2020, medical licensing exam questions, a deeper test of MMLU's medical subjects (on this site: https://mralbu.github.io/ai-datasets/d/medqa)

## Landmark papers

- [Language Models are Few-Shot Learners (GPT-3)](https://arxiv.org/abs/2005.14165) (2020)
- [Are We Done with MMLU?](https://arxiv.org/abs/2406.04127) (2024)

## Papers on this site that use it

- [Chinchilla (2022)](https://mralbu.github.io/ai-datasets/p/chinchilla.md): For a fixed compute budget, train a smaller model on more data; 70 billion parameters on 1.4 trillion tokens beat models four times its size.
- [Helpful and harmless (2022)](https://mralbu.github.io/ai-datasets/p/helpful-harmless.md): Anthropic's RLHF assistant, and the public preference data on helpfulness and harmlessness that much of open alignment research has trained on since.
- [LLaMA (2023)](https://mralbu.github.io/ai-datasets/p/llama.md): Smaller models trained longer on public data alone, matching models many times their size, with the weights given to researchers.
- [DeepSeek-R1 (2025)](https://mralbu.github.io/ai-datasets/p/deepseek-r1.md): Reasoning learned through reinforcement learning on checkable answers, released with open weights.
- [Muon (2025)](https://mralbu.github.io/ai-datasets/p/muon.md): Shows that Muon, which orthogonalizes each weight matrix's update, trains large language models with about half the compute AdamW needs.
- [SWE-RL (2025)](https://mralbu.github.io/ai-datasets/p/swe-rl.md): Trained an open model to fix GitHub issues with reinforcement learning on public pull requests, rewarding patches by how closely they match the real fix.
