IFEval
by Google
What is IFEval? IFEval is a writing & instruction following eval made by Google. Prompts with instructions a program can check automatically (word counts, formats, keywords), so no judge model is needed.
Editor note
Prompts with instructions a program can check automatically (word counts, formats, keywords), so no judge model is needed.
- What it tests
- Following explicit, verifiable instructions.
- Original source
- arxiv.org/abs/2311.07911
- Last updated
- Not checked yet
- License
- Not checked yet — see source
When to use IFEval
- You want an instruction-following score that is checked by code, not by a human or an LLM judge.
- You need a fast, cheap regression test for formatting rules such as word counts, keyword use or output structure.
Limitations
- It only covers instructions that a program can verify (25 types), so it misses instructions about tone, helpfulness or correctness.
- About 500 prompts is small, and the prompts are public, which makes it easy to tune for.
How to run it
- Install the requirements from the instruction_following_eval folder in google-research.
- Create a JSONL file of prompt/response pairs from your model.
- Run evaluation_main on that file.
python3 -m instruction_following_eval.evaluation_main \
--input_data=./instruction_following_eval/data/input_data.jsonl \
--input_response_data=<your_responses.jsonl> --output_dir=<out>Notable results
- The paper defines 25 types of verifiable instructions across about 500 prompts and reports results for two widely available models. [Paper (arXiv)]
Sources
Related writing & instruction following evals
- EQ-Bench Creative Writing — Creative writing quality judged against a rubric.
- AlpacaEval — General helpfulness of chat responses.
- MT-Bench (LLM-as-a-judge paper) — Multi-turn conversation quality; how reliable LLM judges are.
- LMArena (Chatbot Arena) — Which models people prefer on their own real prompts, by pairwise human votes.
Discussion
No one has discussed IFEval yet. Have you run it? Share what it caught, what it missed or how you set it up.