Download eval/README.md from jeff-lab/jevidence-data: direct link, hf CLI and curl.
- Browser
- Download file 7.27 kB
-
https://huggingface.co/datasets/jeff-lab/jevidence-data/resolve/refs%2Fpr%2F2/eval/README.md
- Command line
-
hf download hf://datasets/jeff-lab/jevidence-data@refs/pr/2/eval/README.md
-
curl -L -o README.md https://huggingface.co/datasets/jeff-lab/jevidence-data/resolve/refs%2Fpr%2F2/eval/README.md
Evaluation data
Seven public datasets, converted into 3,279 multiple-choice questions. In every question, human annotators marked at least one sentence of the context as evidence. This is what the paper evaluates on (Section 3, Appendix A.4).
Get the data
The data is hosted on Hugging Face as the dataset
jeff-lab/jevidence-data, in its eval/ folder. From the repository
root:
python -m jevidence.data data --download # download, unpack into data/, check every file
python -m jevidence.data data # check the files again at any time
The manual route does the same thing:
hf download jeff-lab/jevidence-data eval/jevidence-data-v1.tar.gz --repo-type dataset --local-dir data
tar -xzf data/eval/jevidence-data-v1.tar.gz -C data
The bundle unpacks into this folder: one <dataset>.jsonl file per dataset (or its fallback form, see the end of
this page), corrections.jsonl, FALLBACK.md, SHA256SUMS, and a copy of this README.
The seven datasets
| File | Questions | Original release | Part used | What the model decides | Evidence marked by annotators |
|---|---|---|---|---|---|
multirc.jsonl |
598 | MultiRC, as distributed with the ERASER benchmark | test | is a proposed answer correct? (true, false) |
sentences |
scifact.jsonl |
354 | SciFact | train and dev claims | does the abstract support, contradict, or not address a claim? | rationale sentences |
contractnli.jsonl |
206 | ContractNLI | test | does the contract entail, contradict, or not mention a hypothesis? | evidence spans |
hotpotqa.jsonl |
598 | HotpotQA, distractor setting | dev | comparison questions: yes/no or one of the two compared entities | supporting sentences |
finqa.jsonl |
551 | FinQA | test | which of four values does the report support? | supporting facts (sentences, table rows) |
evidence_inference.jsonl |
527 | Evidence Inference 2.0 | test | did the intervention increase, decrease, or not change the outcome? | evidence spans |
conditionalqa.jsonl |
445 | ConditionalQA v1.0 | train | yes/no questions answerable without conditions | page elements |
File format
One JSON object per line:
| Field | Meaning |
|---|---|
id |
question id |
dataset |
one of the seven names above |
question |
the decision question shown to the model (the criterion of the prompt) |
options |
[{"key", "text"}] in prompt order; the model reads option i as letter i with the description "<key>: <text>" |
options[].description |
optional (only in the training files): a string the model reads instead of "<key>: <text>" |
answer |
the key of the correct option (never shown to the model) |
units |
the context cut into units by jevidence.segment; "".join(units) is the context, unit order is context order |
evidence |
indices of the marked units (Section 3: a unit is marked if it overlaps an annotated span by at least half the length of the shorter of the two) |
evidence_spans |
the annotated spans, as character offsets [start, end) into the context |
document_id |
equal for questions that share a context; bootstrap intervals resample it |
source |
where the question comes from in the original release (split and record ids) |
evidence always equals the overlap rule applied to evidence_spans, and the units always equal the output of
jevidence.segment.segment on the context. Both are checked by the tests.
How each dataset was converted
Each original record becomes one decision question with a fixed, dataset-specific template; the context is rebuilt as plain text in a fixed layout (one sentence, table row, list item or heading per line where the original divides it), so that the segmenter's units line up with the original annotation units:
- MultiRC: the ERASER document's sentences, detokenized, one per line; one proposed answer per question.
- SciFact: the abstract's title and sentences, one per line; claims without a rationale for the abstract are not included (no marked unit).
- ContractNLI: the contract text exactly as released; three hypotheses per contract, of which those without an annotated span (mostly "not mentioned") are not included.
- HotpotQA: the ten paragraphs of the distractor setting, title line then one sentence per line, paragraphs separated by a blank line; yes/no questions and comparison questions whose answer is one of the two compared entities.
- FinQA: the sentences before the table (first letter capitalized), the table one row per line as
| cell | cell |, the sentences after it; the options are the correct value and three distractors computed by changing one step of the original calculation or the result. - Evidence Inference: the article's title, abstract sections and results sections, each section header on its own line; the evidence is the union of the accepted annotators' spans.
- ConditionalQA: the gov.uk page as text, one element per line (headings, paragraphs,
-list items,|table rows); only questions answerable without conditions.
Contexts with more than 64 units have their shortest neighbouring units merged (Appendix A.6); this affects 689
questions. corrections.jsonl (distributed with the files) lists, item by item, the questions whose answer, evidence
or question text differs from our first conversion of the original release, after the label review described in the
paper; questions with unresolved label conflicts were removed before release.
Datasets whose text cannot be redistributed (the fallback form)
Each dataset comes in one of two forms. Which form each dataset takes, and its licence and attribution notes, will be listed here before the data is published.
- Full form:
<dataset>.jsonlas described above. - Fallback form (for a set whose text is not redistributed):
fallback/<dataset>.jsonlwith every field except the text (ids,source, options, answer, unit character offsets, evidence, the sha256 of each question and context; rows whose text is shipped carryquestionanddocumentinline). The missing text is rebuilt from the original release bydata/fetch_<dataset>.py, which writestexts/<dataset>.jsonl;jevidence.datathen assembles<dataset>.jsonland accepts it only if it is byte-identical to the full file (same checksum):
python data/fetch_multirc.py data # downloads ERASER's multirc.tar.gz (sha256-checked), writes data/texts/multirc.jsonl
python -m jevidence.data data # assembles data/multirc.jsonl from data/fallback/ + data/texts/, verifies everything
Fetch scripts exist for: MultiRC (data/fetch_multirc.py). A fetch script for another set needs the original
release, the set's source ids (source), and the context layout and question template described above; it must
reproduce the released text exactly, which document_sha256 and question_sha256 check row by row. Questions
rewritten during the label review carry their (our) question text in the fallback row; FALLBACK.md gives the
layout rules per set.