AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Vision Retrieval

    Flickr30k (2014)

    31,000 Flickr photos of people and everyday scenes, each with five written captions.

    Why it matters

    With COCO Captions, the benchmark that turned "describe this picture" into a deep-learning problem: CNN-plus-RNN captioners (Show and Tell, Karpathy's alignment model) were scored on it. Its retrieval task, find the caption for this image and vice versa, outlived captioning: CLIP and later vision-language models still report zero-shot Flickr30k retrieval.

    Get the data

    # pip install -U huggingface_hub
    hf download nlphuji/flickr30k --repo-type dataset \
      --local-dir flickr30k
    Year
    2014
    Creators
    Peter Young, Alice Lai, Micah Hodosh, Julia Hockenmaier (UIUC)
    Task
    Image captioning and image–text retrieval
    Size
    31,783 images, 158,915 captions (Karpathy's split uses 31,014)
    Splits
    train 29,000 · validation 1,014 · test 1,000
    Input
    A photo
    Labels
    Five independent one-sentence descriptions
    License
    Captions for research use; images under their Flickr terms
    Paper
    From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions

    Samples

    Showing 6 of 12 sampled rows(from 31,014 in the test split)
    1. A wakeboarder performs a flip while being towed at high speed.
    2. An upside down man doing a flip on a waterski board
    3. A person did a side flip while water boarding.
    4. A man hangs upside in the air over the water.
    5. A person upside down on a water board.
    1. A man wearing a green shirt and an orange safety hat works on mechanical equipment inside a fenced area, while a group of people walk on a lawn behind him.
    2. A man wearing safety gear operates a machine with tents on the background.
    3. Man demonstrating an industrial saw at a fair.
    4. A man works outdoors with some machinery
    5. A man is milling wood at a festival.
    1. Shoppers purchase produce from a busy grocery store in Asia.
    2. A large crowd of people are checking out at a public store.
    3. Busy checkout in a oriental grocery store.
    4. A crowd of people are at a supermarket.
    5. Asian people in a SuperMarket.
    1. A young girl wearing a pink dress jumps through the air over playground equipment.
    2. A girl in a pink dress in midair over a large yellow object.
    3. A young girl jumping through the air on a playground.
    4. A girl in a pink shirt has jumped into the air.
    5. A girl is jumping.
    1. Two people are standing on sidewalk in front of a large building.
    2. A man crouches down and a little girl stops on the sidewalk.
    3. A man is kneeling on the sidewalk to talk to a little girl.
    4. A man crouches on the sidewalk next to a little girl.
    5. A man bends down to speak to a little girl.
    1. A group of four girls are in the back of a vehicle looking at a book with a pink cover.
    2. Four young girls reading a book in the back of a car with boxes of produce.
    3. A group of kids sitting in the back of a van together looking at a book.
    4. Several young girls are sitting in a minivan.
    5. A group of young girls peer at a book.
    What one record actually looks like (raw JSON, row 1306)
    {
      "caption": [
        "A wakeboarder performs a flip while being towed at high speed.",
        "An upside down man doing a flip on a waterski board",
        "A person did a side flip while water boarding.",
        "A man hangs upside in the air over the water.",
        "A person upside down on a water board."
      ],
      "filename": "1396064003.jpg",
      "image": {
        "height": 500,
        "src": "samples/flickr30k/1306-image.jpg",
        "width": 376
      },
      "img_id": "1306",
      "sentids": [
        "6530",
        "6531",
        "6532",
        "6533",
        "6534"
      ],
      "split": "test"
    }

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

    Sampled 2026-11-07 from nlphuji/flickr30k at revision 2b239be

    Worth knowing

    Related datasets

    Landmark papers