|
Download eval/FALLBACK.md from jeff-lab/jevidence-data: direct link, hf CLI and curl.
- Browser
- Download file 5.16 kB
-
https://huggingface.co/datasets/jeff-lab/jevidence-data/resolve/refs%2Fpr%2F2/eval/FALLBACK.md
- Command line
-
hf download hf://datasets/jeff-lab/jevidence-data@refs/pr/2/eval/FALLBACK.md
-
curl -L -o FALLBACK.md https://huggingface.co/datasets/jeff-lab/jevidence-data/resolve/refs%2Fpr%2F2/eval/FALLBACK.md
5.16 kB
| # Fallback form of the evaluation sets (no text) | |
| If a set cannot be redistributed in converted form, `fallback/<dataset>.jsonl` gives everything except text: one line | |
| per question with | |
| | field | meaning | | |
| |---|---| | |
| | `id`, `dataset`, `document_id`, `source` | as in the full files (`source`: the record in the original release) | | |
| | `options`, `answer` | the options in prompt order (our keys and option texts; FinQA's are our constructed values) and the correct key | | |
| | `unit_offsets` | `[start, end)` character offsets of every unit in the rebuilt document (they tile it) | | |
| | `evidence`, `evidence_spans` | marked unit indices and annotated spans (character offsets into the rebuilt document) | | |
| | `question_sha256`, `document_sha256` | sha256 (UTF-8) of the question and the document: a rebuild is correct when both match | | |
| | `question` | only for the 28 questions rewritten during the label review (MultiRC 5, HotpotQA 4, FinQA 19): our text | | |
| A row may also carry `question` and `document` inline (for example the Evidence Inference rows whose articles are | |
| CC BY or CC0, if that set ships as a hybrid). `jevidence.data.assemble` joins the fallback rows with the text that a | |
| fetch script writes to `texts/<dataset>.jsonl` and accepts the result only if it is byte-identical to the full file | |
| (the released sha256). `data/fetch_multirc.py` in the repository is a complete fetch script (verified: it rebuilds all | |
| 598 MultiRC questions from ERASER's `multirc.tar.gz` and the assembled file matches the released checksum). | |
| What a user needs besides these files, per dataset: the original release, the document layout rule, the question | |
| template and the option texts. The templates and option texts are fixed strings per dataset (below, and in the full | |
| files); the document layouts are deterministic functions of the original record. A rebuild script would implement | |
| the layouts below, fill the templates, and check every document against `document_sha256`. | |
| | dataset | original release | record key in `source` | document layout (rebuild rule) | question template | | |
| |---|---|---|---|---| | |
| | MultiRC | ERASER benchmark, `multirc` test split (`test.jsonl` + `docs/`) | `annotation_id` | the document's sentences, space-tokenized in ERASER, detokenized (fixed rules for punctuation and quotes), one sentence per line | `Question about the passage: {q}\nProposed answer: {a}\nIs the proposed answer correct according to the passage?` (q, a detokenized from the ERASER query `q \|\| a`) | | |
| | SciFact | SciFact data release (`claims_train.jsonl`, `claims_dev.jsonl`, `corpus.jsonl`) | `claim_id`, `doc_id` | the abstract's title, then each abstract sentence, stripped, one per line | `Claim: {claim}\nWhat does the abstract say about this claim?` | | |
| | ContractNLI | ContractNLI `test.json` | `doc_id`, `hypothesis` | the contract `text` exactly as released (`unit_offsets` index into it directly) | `Hypothesis about this agreement: {hypothesis}\nWhat does the agreement say about the hypothesis?` | | |
| | HotpotQA | HotpotQA distractor setting, validation split | `question_id` | for each of the ten paragraphs: the title, then each non-empty stripped sentence on its own line; paragraphs separated by a blank line | the original question; options `true`/`false` (yes/no) or the two compared entities (keys: lower-cased, non-alphanumerics replaced by `_`) | | |
| | FinQA | FinQA `test.json` | `finqa_id` | `pre_text` sentences (stripped, first letter upper-cased), blank line, table rows as `\| c1 \| c2 \|`, blank line, `post_text` sentences | `Question about the financial report: {q}\nWhich value does the report support?` | | |
| | Evidence Inference | Evidence Inference 2.0 repository (annotations and PubMed Central texts), test split | `prompt_id`, `pmcid` | the title, the abstract sections and the results sections of the article, each non-title section introduced by its header on its own line (dots and whitespace collapsed to spaces, then `:`), whitespace tidied, sections separated by a blank line | `Question about the clinical trial report: With respect to {outcome}, how did {intervention} compare with {comparator}?\nWhat does the report say about this comparison?` | | |
| | ConditionalQA | ConditionalQA v1.0 (`train.json`, `documents.json`) | `condqa_id`, `url` | the page title, then the page elements in order: headings and paragraphs as text, list items as `- text` (consecutive items one per line), table rows as `\| text \|`; blocks separated by a blank line; whitespace collapsed | `Scenario: {scenario}\nQuestion about the guidance: {question}` | | |
| Caveats: the 28 rewritten questions carry their text in the fallback rows, and the corrected labels (answers, evidence | |
| marks; `corrections.jsonl` lists them by id) are part of the fallback rows already, so a fetch script only rebuilds | |
| original text. The Evidence Inference and ConditionalQA layouts involve more rules | |
| (section windowing, whitespace normalization, element parsing) than fit in a table; fetch scripts for them are not | |
| written yet (the research conversion code exists and would have to be ported). SciFact, ContractNLI and HotpotQA follow | |
| directly from the rules above; MultiRC's script is written. | |