AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Text

    SNLI (2015)

    570k sentence pairs: does the premise entail, contradict, or say nothing about the hypothesis?

    Why it matters

    Earlier entailment datasets (the RTE challenges) had a few thousand examples. SNLI had half a million, enough to train neural networks on "does this sentence follow from that one?". It drove a run of attention models and sentence encoders (InferSent was trained on it). It also became the standard example of annotation artifacts: models could guess the label from the hypothesis alone, without reading the premise.

    Get the data

    # pip install -U huggingface_hub
    hf download stanfordnlp/snli --repo-type dataset \
      --local-dir snli
    Year
    2015
    Creators
    Samuel R. Bowman, Gabor Angeli, Christopher Potts, Christopher D. Manning (Stanford)
    Task
    Natural language inference (entailment)
    Size
    570,152 sentence pairs
    Splits
    train 550,152 · validation 10,000 · test 10,000
    Input
    A premise (an image caption) and a hypothesis written by a crowdworker
    Labels
    entailment, neutral or contradiction
    License
    CC BY-SA 4.0
    Paper
    A large annotated corpus for learning natural language inference

    Samples

    Showing 9 of 24 sampled rows(from 10,000 in the validation split)

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    A crowd of people are standing against a railing.
    hypothesis
    The people are all sitting.
    label
    contradiction

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    Two tanned men wearing shorts are pulling a fishing net along a beach shore.
    hypothesis
    The men are on the beach.
    label
    entailment

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    A small girl in a blue shirt with a posy pattern brushes her teeth with a red and yellow toothbrush.
    hypothesis
    The little girl is preparing for bed
    label
    neutral

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    Cyclist participating in an organized event cross a large suspension bridge and two women riders have stopped to pose for a picture.
    hypothesis
    some cyclists jump
    label
    contradiction

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    A black woman wearing black walking by a window with a mannequin in it.
    hypothesis
    A black woman walks by a window.
    label
    entailment

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    Three adults and one child are waiting outside of a building, perhaps a school.
    hypothesis
    Four people are waiting for the school to open.
    label
    no consensus (-1)

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    Young boys playing indoor basketball, one team has black and white uniforms, the other has orange and white.
    hypothesis
    Several friends are playing a game of basketball.
    label
    neutral

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    A band on stage playing a song with a banner in the background that says Screaming Orphans.
    hypothesis
    The band is unloading their equipment from their van.
    label
    contradiction

    plain_text Does the premise entail, contradict, or say nothing about the hypothesis?

    premise
    A young boy with blue shorts, at an indoor pool jumping into the water.
    hypothesis
    a young kid eats a bagel in the pool
    label
    contradiction
    What one record actually looks like (raw JSON, row 4592)
    {
      "hypothesis": "The people are all sitting.",
      "label": 2,
      "premise": "A crowd of people are standing against a railing."
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from stanfordnlp/snli at revision cdb5c3d

    Worth knowing

    Related datasets

    Landmark papers