AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / LLMs

    IFEval (2023)

    541 prompts with constraints like "no commas" or "at least 300 words", checked by code instead of a judge model.

    Why it matters

    Whether a model follows instructions is usually judged by people, which is slow, or by another model, which is biased. IFEval only uses instructions a short Python function can verify: a word count, a required keyword, JSON output, all lowercase, exactly three bullet points. Scoring is cheap and fully reproducible, so it became the default instruction-following number in model reports and one of the six benchmarks of Hugging Face's Open LLM Leaderboard v2.

    Get the data

    # pip install -U huggingface_hub
    hf download google/IFEval --repo-type dataset \
      --local-dir ifeval
    Year
    2023
    Creators
    Jeffrey Zhou, Tianjian Lu, Swaroop Mishra et al. (Google)
    Task
    Following instructions that a program can check
    Size
    541 prompts, 25 types of instruction
    Splits
    train 541
    Input
    A prompt containing one or more verifiable instructions
    Labels
    The instruction ids (and their parameters) that the response is checked against
    License
    Apache 2.0
    Paper
    Instruction-Following Evaluation for Large Language Models

    Samples

    Showing 3 of 16 sampled rows(from 541 in the train split)

    Write a short fiction about adulthood. Make sure the word cousins appears more than 2 times.

    Show what the response is checked for
    • keywords:frequency

    Write an essay about the life of Benjamin Franklin. Then summarize your essay into a poem. Separate the essay and the poem with 6 asterisk symbols: ****** In other words, your response should have the following form: [essay] ****** [poem]

    Show what the response is checked for
    • combination:two_responses

    create a job description for a clifford blu employee who works at the cash register, and also monitors the shelves for stock level. Use the keyword 'people' and 'skills'. use only lowercase letters.

    Show what the response is checked for
    • change_case:english_lowercase
    • keywords:existence
    What one record actually looks like (raw JSON, row 403)
    {
      "instruction_id_list": [
        "keywords:frequency"
      ],
      "key": 3109,
      "prompt": "Write a short fiction about adulthood. Make sure the word cousins appears more than 2 times."
    }

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

    Sampled 2026-11-08 from google/IFEval at revision 966cd89

    Worth knowing

    Related datasets