# Training data The 44,747 training and 2,320 development questions that the Jevidence probes were fitted on (paper, Appendix A.1). They have no evidence marks: a probe is fitted to the decision model's own leave-one-out drops, which `scripts/fit_probe.py` computes. ## Get the files and fit a probe From the root of the code repository: ```bash python -m jevidence.data data --download --training # data/training/: train.jsonl, dev.jsonl, loo/, checked python scripts/fit_probe.py --hf-id Qwen/Qwen3.5-4B --revision 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a \ --name my-probe --train data/training/train.jsonl --dev data/training/dev.jsonl --out my-probe.json ``` | File | Questions | Use | |---|---:|---| | `train.jsonl` | 44,747 | fitting | | `dev.jsonl` | 2,320 | early stopping and the choice of the window K | | `loo/gemma4-12b.json`, `loo/gemma4-31b.json` | 40,830 | stored leave-one-out drops (below) | | `overlap_with_eval.json` | 142 | ids of the questions that share a passage with an evaluation context (below) | | `SHA256SUMS` | | checksums of the files in this folder | The rows are in a fixed random order, so the first N rows of a file are a random sample. To try a fit quickly, add `--train-limit 1000 --dev-limit 200`, which uses only the first 1,000 training and 200 development questions. ## Stored leave-one-out drops We stored the leave-one-out drops of two models: `gemma4-12b` and `gemma4-31b`. The files hold them for the 40,830 questions whose prompt and units equal the research input (`research_match`). For these questions the stored drops equal what the package computes: on 180 questions checked on an H200 the largest difference was 4e-8 for `gemma4-12b`, and 2e-8 on 60 questions for `gemma4-31b`. With `--stored-drops`, `fit_probe.py` skips the leave-one-out passes of these questions and computes the rest: ```bash python scripts/fit_probe.py --hf-id google/gemma-4-12B-it --revision 707f0a3b8a3c7ad586ed01e27eafbad8a27dd0f7 \ --name my-probe --train data/training/train.jsonl --dev data/training/dev.jsonl --out my-probe.json \ --stored-drops data/training/loo/gemma4-12b.json ``` Each file holds `name`, `hf_id`, `revision` and `questions`: for each question id, the decision on the full input (`answer`, an option index) and the drops in unit order. A stored question is used only when the model makes the same decision. There are no stored drops for the Qwen models. ## Cost of a fit `fit_probe.py` runs one decision pass per question and one leave-one-out pass per unit (7.8 units per question on average). Timed on one NVIDIA H200 at batch size 1 on the first 200 training and 200 development questions (400 and 400 for `qwen3.5-4b`), then scaled to all 47,067 questions, a full fit costs about: | Model | Seconds per question | Hours for all 47,067 questions (estimate) | |---|---:|---:| | `qwen3.5-4b` | 0.50 | 6.6 (a full run took 6.9) | | `gemma4-12b` | 0.47 | 6.1 (1.3 with `--stored-drops`) | | `gemma4-31b` | 0.94 | 12.3 (2.4 with `--stored-drops`) | | `qwen3.6-27b` | 1.26 | 16.5 | The decision pass takes 0.04 to 0.12 seconds of each; the rest is leave-one-out. With `--stored-drops`, the Gemma fits run leave-one-out only for the 6,237 questions without stored drops (timed on the first 2,000 training and 400 development questions). Fitting the ten probes on the cached passes takes under a minute on a GPU (4.5 minutes on 8 CPU cores). ## Format One JSON object per line, in the format of the evaluation files ([`eval/README.md`](../eval/README.md)) without the evidence fields: | Field | Meaning | |---|---| | `id` | `train-00001` to `train-44747`, `dev-00001` to `dev-02320` | | `dataset` | `decider` or `teacher`, the two sources; the selection criterion averages over them | | `question` | the decision question (the `criterion` of the prompt) | | `options` | `[{"key", "text"}]` in prompt order; `key` is the label, and the model reads `": "` | | `options[].description` | only where the research prompt showed the option in another form: that string, which the model reads instead (`text` holds the same string) | | `answer` | the key of the labelled option; never shown to the model, and a fit does not use it | | `units` | the context cut into units by `jevidence.segment`; `"".join(units)` is the context | | `document_id` | equal for questions that share a context or a distinctive passage; no document is in both files | | `source` | `task` (one of 49) and `original`, the dataset or generator the question was converted from | | `license` | the licence group of the source: `permissive`, `share-alike`, `restricted` or `unclear` | | `research_match` | `prompt` and `units`: whether the package gives this question the same prompt and units as the research pipeline | ## Sources - `decider` (43,130 train, 2,215 dev): 47 tasks of the open training mixture of [decider](https://github.com/Mapika/decider) (commit `5f91c01`). These are public datasets recast as decision questions, plus generated rule tasks. Answers come from the original datasets or the rule generators. - `teacher` (1,617 train, 105 dev): decider's custom questions (`teacher-decider`) and business documents generated with Qwen3.6-27B (`teacher-docs`). Teacher models gave the answers. ## Licences The rows keep the terms of their sources. Each row's `license` field holds the licence group of its source: `permissive`, `share-alike`, `restricted` or `unclear`. Check the terms of the sources you use, and filter on that field to keep only the rows whose terms suit your use. The table summarizes what each source states; it is not legal advice. | `license` | Tasks | Train | Dev | |---|---:|---:|---:| | `permissive` | 26 | 23,329 | 1,218 | | `share-alike` | 4 | 3,666 | 195 | | `restricted` | 11 | 10,990 | 550 | | `unclear` | 8 | 6,762 | 357 | | `task` | Source | Licence it states | `license` | Train | Dev | |---|---|---|---|---:|---:| | `ag_news` | AG News | research and non-commercial use; no redistribution under another name (corpus page); HF card: unknown | restricted | 1,000 | 50 | | `amazon_stars` | Amazon product reviews, 1-5 stars (exact corpus not recorded) | likely the Multilingual Amazon Reviews Corpus: academic research only, no republishing | restricted | 1,000 | 50 | | `arc` | AI2 ARC | CC BY-SA 4.0 | share-alike | 666 | 45 | | `commonsense_qa` | CommonsenseQA | MIT | permissive | 632 | 36 | | `dbpedia` | DBpedia-14 | CC BY-SA 3.0 and GFDL | share-alike | 1,000 | 50 | | `fever` | FEVER | CC BY-SA 3.0 (and Wikipedia terms) | share-alike | 1,000 | 50 | | `go_emotions` | GoEmotions | Apache-2.0 | permissive | 1,000 | 50 | | `hate_offensive` | Hate speech and offensive language (Davidson et al. 2017) | MIT | permissive | 1,000 | 50 | | `hellaswag` | HellaSwag | MIT (HF card); most contexts are WikiHow text, CC BY-NC-SA 3.0 | restricted | 1,000 | 50 | | `helpsteer2` | HelpSteer2 | CC BY 4.0 | permissive | 1,000 | 50 | | `helpsteer3_pref` | HelpSteer3, preference | CC BY 4.0 | permissive | 1,000 | 50 | | `hh_rlhf` | Anthropic HH-RLHF | MIT | permissive | 1,000 | 50 | | `imdb` | IMDB Large Movie Review Dataset | not stated | unclear | 1,000 | 50 | | `insincere_questions` | Quora Insincere Questions (Kaggle) | not stated (Kaggle rules not read) | unclear | 804 | 50 | | `json_state` | decider json_state task: records of other decider tasks packed into one JSON state | the terms of the packed records, several of them restricted | restricted | 1,000 | 50 | | `liar2` | LIAR2 | Apache-2.0 | permissive | 954 | 50 | | `medmcqa` | MedMCQA | MIT | permissive | 933 | 50 | | `medqa` | MedQA (USMLE, 4 options) | MIT | permissive | 1,000 | 50 | | `mind2web` | Mind2Web | CC BY 4.0, released for research purposes | permissive | 302 | 24 | | `mmlu` | MMLU auxiliary_train (ARC, MCTest, OBQA, RACE) | MIT (MMLU); RACE: non-commercial research only; MCTest: all rights reserved | restricted | 1,000 | 50 | | `mnli` | MultiNLI | OANC terms; fiction under CC BY-SA 3.0, CC BY 3.0 or public domain | permissive | 1,000 | 50 | | `mrpc` | MRPC (GLUE) | not stated | unclear | 1,000 | 50 | | `msmarco_rel` | MS MARCO passage relevance | non-commercial research only | restricted | 1,000 | 50 | | `newsgroups` | 20 Newsgroups | CC BY 4.0 (UCI repository) | permissive | 1,000 | 50 | | `prosocial_safety` | ProsocialDialog | CC BY 4.0 | permissive | 1,000 | 50 | | `qnli` | QNLI (GLUE, from SQuAD v1.1) | CC BY-SA 4.0 (SQuAD) | share-alike | 1,000 | 50 | | `qqp` | Quora Question Pairs (GLUE) | Quora terms, no commercial use (secondary sources) | restricted | 1,000 | 50 | | `rte` | RTE (GLUE) | not stated | unclear | 1,000 | 50 | | `rules_*` | decider rule-task generator (synthetic records), 8 tasks | Apache-2.0 generator code (local notes); no third-party text | permissive | 8,000 | 400 | | `shp` | Stanford Human Preferences (SHP) | not stated (Reddit API terms) | unclear | 1,000 | 50 | | `support_tickets` | Customer Support Tickets | CC BY-NC 4.0 | restricted | 1,000 | 50 | | `synth` | decider synthetic agent scenarios | not stated (origin not documented) | unclear | 301 | 25 | | `teacher-decider` | decider custom questions, labelled by a teacher model | Apache-2.0 (local notes) | permissive | 745 | 53 | | `teacher-docs` | business documents and questions generated with Qwen3.6-27B, labelled by a teacher model | Qwen model licence (Apache-2.0, local notes) | permissive | 872 | 52 | | `toolace` | ToolACE | Apache-2.0 | permissive | 200 | 13 | | `tweet_emotion` | TweetEval emotion | not stated ("Undefined"); Twitter terms | unclear | 657 | 32 | | `tweet_hate` | TweetEval hate (HatEval) | permission needed; Twitter terms | restricted | 1,000 | 50 | | `tweet_offensive` | TweetEval offensive (OLID) | not stated ("Undefined"); Twitter terms | unclear | 1,000 | 50 | | `ultrafeedback_pref` | UltraFeedback | MIT | permissive | 1,000 | 50 | | `wic` | WiC | CC BY-NC 4.0 | restricted | 990 | 50 | | `winogrande` | WinoGrande | CC BY | permissive | 691 | 40 | | `yelp` | Yelp Review Full | Yelp terms: non-commercial, no public display | restricted | 1,000 | 50 | The `permissive` rows include the 1,617 + 105 teacher rows. Email addresses are left unchanged. 195 questions from 20 Newsgroups (`newsgroups`) contain real addresses from the original posts, which are part of that public dataset. 33 more questions contain addresses taken from other public sources: 8 `json_state` questions, which pack records of other tasks, and 25 from Mind2Web, UltraFeedback, HH-RLHF, MMLU, HelpSteer2, ToolACE, Customer Support Tickets, SHP and MS MARCO. The other email-like strings are made up: the rule tasks (`rules_*`) use example.com, example.org, example.net and example.invalid, and the teacher questions use invented addresses. ## How close a refit gets The files hold the research questions, contexts and answers unchanged, and each option's `description` keeps the string the research prompt showed. Checked token by token against the stored inputs of the Gemma-4 runs, the package gives 46,650 of the 47,067 questions the research prompt, and 40,830 the research prompt and units (`research_match`). The rest have a JSON context: - 5,820 contexts are JSON text. The prompt is the research prompt, but the research pipeline cut the JSON into keys and values, and the package cuts lines and sentences instead. 5,049 of them get a single unit (mostly one line of JSON), which adds nothing to a fit. The research units cannot be carried in `units`: they are not pieces of the text, and deleting one rewrites the JSON. - 417 contexts were JSON objects or arrays, which the research prompt showed as JSON, not as text. The package shows a context as text, so these are written as indented JSON text, and neither prompt nor units match. The released probes were fitted with the research code. A refit with `fit_probe.py` comes close to them but does not match them exactly. For `qwen3.5-4b`, a full refit from these files (model passes on an H200, the fit itself on a CPU) chose the same window as the released probe (K = 11). The two probes rank the same unit first on 92% of the 2,076 development questions with more than one unit, and the mean Spearman correlation of their unit scores on those questions is 0.89. Their weights have a cosine similarity of 0.89 on the scale the fit works on (each feature divided by its root mean square), and 0.39 on the raw weights, which heads with very little attention dominate. On the development questions the selection criterion is 0.751 for the released probe and 0.765 for the refit, which was selected on these same questions. ## Overlap with the evaluation sets No context here is the same document as a context of the seven evaluation sets: no context matches exactly or after normalizing case and punctuation, no unit of 30 or more characters is shared, and no pair shares 80% of its word 5-grams. 142 questions share a short passage (at most 38 words) with an evaluation context. 122 of these passages are in HotpotQA contexts, typically a Wikipedia lead sentence. We kept these 142 questions (135 training, 7 development). [`overlap_with_eval.json`](overlap_with_eval.json) lists their ids, so you can filter them out. A question is listed if its context shares at least one word 8-gram with an evaluation context, after lower-casing and keeping only letters and digits.