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