--- license: apache-2.0 pretty_name: LIFT-Bench language: - en task_categories: - text-generation tags: - instruction-following - benchmark - document-drafting - verifiers size_categories: - 10K`, `d` | Outline shape: up to `n` children per header, `n` levels deep | | `sh` | Up to `n` sections carry constraints | | `sv`, `snv` | Up to `n` verifiable and `n` judged constraints per section (per task, for flat) | | `flat` | No outline; every constraint applies to the whole response | ## Columns | Column | Type | Content | | --- | --- | --- | | `prompt` | list of messages | The task shown to the model, one user message | | `info` | dict | `{"evaluations": [...]}`, the rubric the task is scored against | | `example_id` | string | Identifier of the task | | `topic` | string | Seed topic, a Wikipedia article title | | `document_outline` | string | The markdown outline the task was built from | | `dataset_name` | string | The config name | | `dataset_id` | string | The generation-parameter code | | `split` | string | `train` or `test` | | `metadata` | dict | Empty | Each entry of `info.evaluations` is one constraint: ```json { "evaluation_id": "content_verifiable_constraints_3", "weight_group": "content", "weight": 0.175, "metric_name": "lexical_count", "metric_args": { "string": "climate", "lower_bound": 2, "upper_bound": 5 }, "parser_name": "nested_html", "parser_args": { "selector_lst": [["H2", 1]], "is_shallow": false, "document_type": "markdown" } } ``` `parser_name` and `parser_args` name the section of the document the constraint is scored on; `metric_name` and `metric_args` name the check. The score of a task is the weighted sum of its per-constraint scores. ## Scoring Score a model with the `drafting_constraint` taskset from the repository, which runs under [`verifiers`](https://github.com/PrimeIntellect-ai/verifiers): ```bash hf download ai21labs/LIFTBench --repo-type dataset --local-dir data/splits ENV_ID=drafting_constraint VLLM_MODEL= ./run_eval.sh \ --env.taskset.dataset-path data/splits/short_doc_few_constraints/test.jsonl ``` Judged constraints are scored by the LLM judge each task names in `metric_args.critic_model_name`, `google/gemma-4-31B-it`, called through an OpenAI-compatible endpoint. `--env.taskset.judge-model ` scores them with another judge instead, without changing the data. Results with a different judge are not comparable to the published ones. ## Loading notes - The rubric fields `metric_args` and `parser_args.selector_lst` hold values whose type varies between rows, which `datasets` stores as JSON fields and decodes on access. Loading was verified with `datasets` 4.8 and 5.1. - When `datasets` loads the files it re-encodes them, and constraint `weight`s come back rounded to 10 decimal places (0.16666666666666666 becomes 0.1666666667). A task's score changes by less than 1e-9 as a result. The JSONL files themselves hold the exact values, and the `verifiers` taskset reads them directly. ## License and attribution The data is released under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0). Topics are titles of Wikipedia's vital articles, available under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). ## Citation