# HellaSwag (2019)

> Pick the most plausible ending for a video caption or how-to step. Easy for people, hard for 2019 models.

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

## Key facts

- Category: LLMs
- Task: Commonsense sentence completion (pick the right ending)
- Creators: Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, Yejin Choi
- Size: ~70,000 questions in the paper; 59,950 in the public splits
- Splits: train 39,905, validation 10,042, test 10,003
- Input: A context from ActivityNet captions or WikiHow, plus 4 endings
- Labels: Index of the correct ending
- License: MIT
- Paper: [HellaSwag: Can a Machine Really Finish Your Sentence?](https://arxiv.org/abs/1905.07830)
- Homepage: https://rowanzellers.com/hellaswag/
- Hugging Face: [Rowan/hellaswag](https://huggingface.co/datasets/Rowan/hellaswag)
- Sampled at Hub revision 218ec52e09a7e7462a5400043bb9a69a41d06b76 (2026-11-07)

## Why it matters

A showcase for adversarial filtering: wrong endings were generated by a language model and kept only if models found them convincing. Humans scored over 95% while BERT scored about 47%. It became a standard LLM eval and is now saturated, with frontier models around 95%.

## Worth knowing

- The wrong endings are often fluent but physically or logically absurd. That is the point.
- The test split's labels are hidden, which is why these samples come from validation.
- Its predecessor SWAG (2018) was "solved" by BERT within months of release, which motivated the harsher filtering here.

## Get the data

```bash
# pip install -U huggingface_hub
hf download Rowan/hellaswag --repo-type dataset \
  --local-dir hellaswag
```

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

ds = load_dataset("Rowan/hellaswag")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/Rowan/hellaswag@~parquet/default/validation/*.parquet")
print(df.shape)
```

## Related datasets

- [SWAG](https://huggingface.co/datasets/allenai/swag): 2018, the predecessor
- [WinoGrande](https://huggingface.co/datasets/allenai/winogrande): 2019, adversarial Winograd schemas

## Landmark papers

- [Language Models are Few-Shot Learners (GPT-3)](https://arxiv.org/abs/2005.14165) (2020)

## Papers on this site that use it

- [GPT-3 (2020)](https://mralbu.github.io/ai-datasets/p/gpt-3.md): A 175-billion-parameter language model that learns new tasks from a few examples in its prompt.
- [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.
