File size: 2,889 Bytes
c325494 4cf5425 c325494 4cf5425 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | ---
license: odc-by
language:
- en
tags:
- evaluation
- instruction-following
dataset_info:
features:
- name: key
dtype: string
- name: prompt
dtype: string
- name: instruction_id_list
list: string
- name: kwargs
dtype: json
splits:
- name: test
num_bytes: 378650
num_examples: 300
download_size: 83688
dataset_size: 378650
configs:
- config_name: default
data_files:
- split: test
path: data/test-*
---
| subset | description | num_samples |
| --- | --- | ---: |
| `default` | Official single-turn IFBench test prompts, unchanged; `test` split | 300 |
# IFBench
An exact mirror of the single-turn test data from [AllenAI IFBench](https://github.com/allenai/IFBench).
Credit: Valentina Pyatkin, Saumya Malik, Victoria Graf, Hamish Ivison, Shengyi Huang, Pradeep Dasigi,
Nathan Lambert, and Hannaneh Hajishirzi, [Generalizing Verifiable Instruction Following](https://huggingface.co/papers/2507.02833).
## Provenance and license
- Source revision: `1c40f0c10d9b5c5c2f10a175a28007ebb64f7f4d`.
- Source file: [`ifbench/data/IFBench_test.jsonl`](https://raw.githubusercontent.com/allenai/IFBench/1c40f0c10d9b5c5c2f10a175a28007ebb64f7f4d/ifbench/data/IFBench_test.jsonl).
- Original file SHA-256: `a2bf7b8e7ed11d39c65b4ec781da8b99663ed0121f97033d70fcecb61f8a9d85`.
- No filtering, prompt changes, or row reordering. All original fields and values are preserved.
- `kwargs` uses the Hugging Face Datasets JSON feature to preserve heterogeneous argument dictionaries;
use `datasets>=4.7.0` to load it as a list of dictionaries. Other fields are `key`, `prompt`, and `instruction_id_list`.
- The data is licensed under [ODC-BY-1.0](https://opendatacommons.org/licenses/by/1-0/), as stated in the
[upstream README](https://github.com/allenai/IFBench/blob/1c40f0c10d9b5c5c2f10a175a28007ebb64f7f4d/README.md#licensing).
It is intended for research and educational use under Ai2's Responsible Use Guidelines.
It includes outputs generated by third-party models, which may be subject to separate terms.
- Verifier code is separately Apache-2.0 licensed; it is not part of this dataset release.
## Reproducing
The builder is published at `scripts/create_dataset.py`. Exact publication invocation:
```bash
python scripts/create_dataset.py --output-dataset HuggingFaceH4/IFBench --source-revision 1c40f0c10d9b5c5c2f10a175a28007ebb64f7f4d
```
To reproduce independently, use an unused repository name under your own namespace. The builder refuses to overwrite
an existing repository. It requires `datasets>=4.7.0` and `huggingface_hub`, and a token with write access to the destination.
## Loading
```python
from datasets import load_dataset
dataset = load_dataset("HuggingFaceH4/IFBench", "default", split="test")
```
Pin a Hub commit revision for reproducible evaluation. This repository contains evaluation data, not training data.
|