AI GLOSSARY · AI CONCEPTS

HellaSwag

Markdown version · Wikidata Q124039666

Definition

HellaSwag is a benchmark in which a language model reads the start of an everyday scene and must pick the most plausible continuation from four options. Its wrong answers were machine-generated and filtered to be hard for models to reject.

Also called: Hella Swag, HellaSwag benchmark, HellaSwag dataset, commonsense NLI benchmark.

In plain language

HellaSwag is a multiple-choice test of everyday common sense. The model is given the opening of a scene, such as a person doing a household task, and four possible endings, and it has to pick the one a sensible person would expect. The wrong endings were written by a machine and then filtered so that wrong endings fool models, per the paper's adversarial filtering description. People use it to compare how models handle common sense. It is a narrow test: it says nothing direct about coding, tool use or following your instructions, and a benchmark can lose its power to tell models apart once they all do well on it.

Technical definition

The paper 'HellaSwag: Can a Machine Really Finish Your Sentence?' (Zellers, Holtzman, Bisk, Farhadi and Choi, ACL 2019, arXiv 1905.07830) presents a commonsense natural language inference dataset. It is built with adversarial filtering, in which a series of discriminators repeatedly select machine-generated wrong answers that are hard for models to reject. The Hugging Face dataset card lists fields such as activity_label, the context text, a list of candidate endings, and a label giving the correct one. The paper argues that benchmarks should evolve alongside models. Evaluation compares a model's choice with the label.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A builder and checker for an eval dataset for any LLM feature, flagging duplicates, missing graders, imbalance and leakage.
    Why it exercises the concept
    HellaSwag is a public multiple-choice set. This skill builds a private one for your feature, and its leakage check addresses a problem public sets can have when models have seen the data.
  2. Skill by Skill Almanac · Illustrative, not executed

    prompt-writing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A writer and linter for LLM prompts with a fixed structure, injection rules and a numeric test plan.
    Why it exercises the concept
    Multiple-choice benchmarks depend on how the question is formatted in the prompt. This skill shows what a structured prompt and a test plan look like.
  3. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    /model
    What you see
    Claude Code lets you switch the model mid-session.
    Why it exercises the concept
    A public common-sense score is a weak guide to a coding session. Switching models on the same task is a direct comparison on the work you care about.

How it shows up when you use agents

HellaSwag shows up as a column in model comparison tables and model cards, next to other benchmarks such as MMLU. It is not something you run in Claude Code, Codex or Cursor. For agent users it is mostly a reading skill: knowing what the number does and does not tell you. The test is a four-option multiple-choice task about plausible continuations of everyday scenes. It checks a kind of commonsense inference in text.

What breaks when it is misunderstood: a reader treats a strong common-sense score as evidence that a model will follow a long instruction file, call tools correctly or write working code. None of those are in the test. The paper itself argues that benchmarks need to evolve as models improve, which is a reason to treat older benchmarks as one signal among several.

A good next action is to run your own small check. Pick real tasks from your project, run them on the models you are weighing, and compare. In Claude Code the /model command switches models mid-session. The LLM eval test sets skill helps you build a private set with a leakage check. For the wider picture, see LLM benchmark.

Common confusions

  • HellaSwag versus MMLU. HellaSwag asks for the most plausible continuation of a scene. MMLU is a knowledge test across subjects. They measure different things.
  • Common sense versus coding ability. HellaSwag has no code, tools or long documents. A score does not transfer automatically to agent work.
  • Machine-written wrong answers versus human-written ones. The wrong endings were generated by a model and filtered by discriminators. That is the method the paper calls adversarial filtering.
  • Myth: a benchmark stays hard forever. The paper argues that benchmarks should evolve alongside models to keep posing harder challenges.

More in AI concepts

Next steps

  1. llm-eval-test-sets A skill that exercises it.
  2. LLM benchmark Related term.
  3. MMLU (Massive Multitask Language Understanding) Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: applied verifier corrections to unsupported or inferred claims.