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
Catalog / LLMs
541 prompts with constraints like "no commas" or "at least 300 words", checked by code instead of a judge model.
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.
# pip install -U huggingface_hub
hf download google/IFEval --repo-type dataset \
--local-dir ifevalfrom datasets import load_dataset # pip install datasets
ds = load_dataset("google/IFEval")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/google/IFEval@~parquet/default/train/*.parquet")
print(df.shape)Write a short fiction about adulthood. Make sure the word cousins appears more than 2 times.
keywords:frequencyWrite 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]
combination:two_responsescreate 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.
change_case:english_lowercasekeywords:existenceWrite a rap for moms about the pros and cons of breast feeding versus formula. The rap song should have exactly 3 paragraphs each separated by *** and exactly 3 bullet points in markdown format.
length_constraints:number_paragraphsdetectable_format:number_bullet_listsWrite a strange rap song about Alexander the Great becoming the king of Macedon. Finish the song with: Peace! No additional words should follow "Peace!"
startend:end_checkerWrite a blog post about the echoing biotechnology field in 2023, then criticize the blog post. Your answer must contain a title, wrapped in double angular brackets, such as <<blog post of ...>>. Also, add a postscript starting with P.S.
detectable_format:titledetectable_content:postscriptCould you give me a table of pros and cons of juvenile detention? Add a postscript that starts with P.S. at the end.
detectable_content:postscriptWrite a professional email that you could send to ask your boss for a raise. At the end of your response, explicitly add a postscript starting with P.P.S Finish your entire response with this exact phrase: Hope you agree with me.
detectable_content:postscriptstartend:end_checkerWrite a persuasive email to a teenager who lives in Aberdeen, Scotland. The main point is to encourage them to volunteer at a local soup kitchen. At least 5 words in the output should be in all caps.
change_case:capital_word_frequencyWrite a tweet storm with a weird tone about a time when you found out that the earth is indeed not flat. Your response must be in English, with no capital letters, and in 20 to 30 sentences.
change_case:english_lowercaselength_constraints:number_sentenceslength_constraints:number_sentencesMake a rubric for a home theater installation targeting moms. Your answer must contain exactly 4 bullet points. Use markdown bullet points such as: * This is point 1
detectable_format:number_bullet_listsGenerate a list of 100 random names. Make sure that no name is repeated and every name is unique. All letters in your entire response should be capitalized. Italicize 5 of your favorite names. For example: 1. *FAVORITE NAME 1* 2. *FAVORITE NAME 2* 3. ...
detectable_format:number_highlighted_sectionschange_case:english_capitalCan you please continue and expand: "A man is performing for a crowd on a stage, ..." Use at least 60 sentences, but less than 600 words.
length_constraints:number_sentenceslength_constraints:number_wordsTLDR the article "How to dress like a football manager: waistcoats and the style lessons from the Premier League". Your entire response (including the repeated request) should have 45 or less words. First repeat the request above without changing a single letter, then give your answer.
combination:repeat_promptlength_constraints:number_wordsI want to write a reflective essay on how my life has changed since I started college. Do you have any recommendation? Please reply in English and capitalize all your words. Control the length of your reply. I don't want anything longer than 30 words.
change_case:english_capitallength_constraints:number_wordsWrite a story about a man who is in love with a woman who has turrets. The story should be in at least 4 sections with each section starting with Section X (where X is 1, 2, 3, 4) and the entire response should have at least 100 sentences.
detectable_format:multiple_sectionslength_constraints:number_sentences{
"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