CrazyJames26's picture
Add prepared routing and QA datasets with provenance manifest
67d6fb4 verified
|
Raw History Blame Contribute Delete
4.53 kB
metadata
pretty_name: Dynamic Routing DeltaNet Fine-tuning Dataset
language:
  - en
license: other
task_categories:
  - question-answering

Dynamic Routing DeltaNet fine-tuning data

Prepared question-answering examples with evidence labels for the Dynamic_Routing_DeltaNet code. This repository repackages and tokenizes existing research datasets; the questions and source documents were created by the original dataset authors, not by this project. Because the sources have different licenses, there is no single license that replaces their upstream terms. Preserve the upstream attributions and licenses below when reusing subsets.

Files

Directory Purpose
router_four_8k/ DeltaNet-tokenized, evidence-labeled HotpotQA (8,000 and first-4,000 subset), 2WikiMultiHopQA (8,000), MuSiQue (8,000), and QASPER (1,697) training questions.
probe_routed_state_router_dev512/ A disjoint 512-question HotpotQA validation pool; the reported router experiments use its first 64 questions.
probe_routed_state_full/delta/ Prepared DeltaNet train/dev/test QA splits and generated RULER probes from earlier I+/C+ experiments.
probe_routed_state_full/gated_delta/ Corresponding Gated DeltaNet-tokenized splits and generated RULER probes.
MANIFEST.json File sizes, row counts, and SHA-256 checksums.

The 8,000 target is not met for QASPER: only 1,697 distinct official train questions have a mappable answer and evidence within the pretrained model's 2,048-token total limit. There is exactly one record per QASPER question. The rejected repeated-window archive, generated native-query caches (.npy), pretrained model weights, and experiment checkpoints are intentionally not part of this dataset.

Each JSONL line represents one prepared question and includes source_id, document/question/answer, token IDs for the relevant checkpoint, and evidence spans/pages. Evidence is mapped to 128-token pages after cropping; documents are capped at 1,792 model tokens to leave room for the question and answer. For QASPER answer F1, the code consults the included qasper_{dev,test}_raw.jsonl records so all released human answer annotations can be considered.

Sources and terms

Source This repository uses Upstream terms and attribution
HotpotQA Distractor train/validation questions and supporting sentences CC BY-SA 4.0; Yang et al., EMNLP 2018.
2WikiMultiHopQA Released train split with supporting facts, via parquet repackage See the official repository license; Ho et al., COLING 2020.
MuSiQue Released train questions and supporting paragraphs CC BY 4.0; Trivedi et al., TACL 2022.
QASPER Released train questions, answers, and evidence spans/paragraphs CC BY 4.0; Dasigi et al., NAACL 2021.
SQuAD v2 Answerable questions from released train/validation splits in the older QA experiment CC BY-SA 4.0; Rajpurkar et al., ACL 2018.
RULER Generated needle-in-a-haystack evaluation examples Consult the upstream repository's terms; Hsieh et al., COLM 2024.

The router_four_8k/hotpotqa_train_4k.jsonl file is exactly the first 4,000 rows of hotpotqa_train.jsonl. Use it for the reported 2-epoch R=4 router training. The 512-question development pool was drawn from released HotpotQA validation examples after excluding source IDs already in this project's other train/dev/test files. Development and test samples are exploratory and have been inspected repeatedly; they should not be interpreted as a fresh blinded benchmark.

To regenerate model-specific native-query caches on your own GPU, follow the code repository's scripts/vastlab/build_r4_q_cache.sh. The caches are derived from a particular pretrained DeltaNet revision and therefore should not be treated as generic dataset features.