File size: 14,377 Bytes
57664c7 6ec3f6b 57664c7 8140401 f5000ed 57664c7 3c0f049 57664c7 440aa35 57664c7 f5000ed 57664c7 0d547ab 0af7cbf 2b2620e 0af7cbf dd0992d 0af7cbf 2b2620e 47f1e18 2b2620e 47f1e18 2b2620e 0af7cbf 47f1e18 0af7cbf 47f1e18 dd0992d 57664c7 6ec3f6b 6414043 06f7a4c a50cb0d 806a7bd 06f7a4c 59bc318 0d547ab 06f7a4c 57664c7 0327e82 57664c7 7bc1d22 6ec3f6b 57664c7 06f7a4c 7bc1d22 eee4efe 7bc1d22 dd0992d 06f7a4c 0d547ab 06f7a4c 2744cab 06f7a4c 0cbea24 06f7a4c eee4efe 06f7a4c eee4efe bba89eb eee4efe bba89eb eee4efe 0cbea24 06f7a4c 0cbea24 06f7a4c 0d547ab 0cbea24 06f7a4c 57664c7 6ec3f6b 57664c7 47f1e18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | ---
pretty_name: tasksource-jev-typed-decisions
language:
- en
- multilingual
license: other
task_categories:
- zero-shot-classification
- text-classification
- question-answering
- token-classification
tags:
- tasksource
- jev
- system-one
- runtime-defined-decisions
- decision-models
- multiple-choice
size_categories:
- 1M<n<10M
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- split: test
path: data/test-*
- config_name: full
data_files:
- split: train
path: full/train-*
- split: validation
path: full/validation-*
- split: test
path: full/test-*
- config_name: filtered-full
data_files:
- split: train
path: filtered-full/train-*.parquet
dataset_info:
- config_name: default
features:
- name: state
dtype: string
- name: kind
dtype: string
- name: id
dtype: string
- name: options
list: string
- name: target
list: float64
- name: question
dtype: string
- name: source
dtype: string
- name: variant
dtype: string
- name: split
dtype: string
- name: group_id
dtype: string
- name: question_id
dtype: string
- name: example_id
dtype: string
- name: license
dtype: string
- name: license_use
dtype: string
splits:
- name: train
num_bytes: 1289122975
num_examples: 1028298
- name: validation
num_bytes: 18385089
num_examples: 15000
- name: test
num_bytes: 18461953
num_examples: 15122
download_size: 674574301
dataset_size: 1325970017
- config_name: full
features:
- name: state
dtype: string
- name: kind
dtype: string
- name: id
dtype: string
- name: options
list: string
- name: target
list: float64
- name: question
dtype: string
- name: source
dtype: string
- name: variant
dtype: string
- name: split
dtype: string
- name: group_id
dtype: string
- name: question_id
dtype: string
- name: example_id
dtype: string
- name: license
dtype: string
- name: license_use
dtype: string
splits:
- name: train
num_bytes: 3197698989
num_examples: 2528440
- name: validation
num_bytes: 18385089
num_examples: 15000
- name: test
num_bytes: 18461953
num_examples: 15122
download_size: 1596761311
dataset_size: 3234546031
- config_name: filtered-full
features:
- name: state
dtype: string
- name: kind
dtype: string
- name: id
dtype: string
- name: options
list: string
- name: target
list: float64
- name: question
dtype: string
- name: source
dtype: string
- name: variant
dtype: string
- name: split
dtype: string
- name: group_id
dtype: string
- name: question_id
dtype: string
- name: license
dtype: string
- name: license_use
dtype: string
splits:
- name: train
num_bytes: 1633306939
num_examples: 1305478
download_size: 335270018
dataset_size: 1633306939
---
# tasksource-jev-typed-decisions
**2.5 million typed decisions (choices, ratings and probabilities) from 670 sources.**
## Why use it
- **Real supervision.** Labels, ratings, and annotator votes come from
established datasets, not a teacher model. Every row names its `source`.
- **Breadth.** Over 300 dataset families: NLI and reasoning, QA and
commonsense, sentiment, intent and topic, toxicity and safety, preference
pairs, fact checking, entity tagging, and dozens of languages. GLUE,
SuperGLUE, HellaSwag, PIQA, ScienceQA, Banking77, CoNLL-2003, MasakhaNEWS,
HelpSteer, ChaosNLI, and many more, with no task allowed to dominate.
- **Three decision types in one schema.** `choice` (pick one option), `score`
(an ordered scale), and `noul` (the probability that the answer to a yes/no
question is yes). `noul` holds only probabilities: entailment likelihoods, and the
share of annotators who answered yes. Mean ratings and similarity are `score`
distributions whose expected level is the mean (3.4 on 1–5 puts 0.6 on 3 and 0.4
on 4). Ordinal label sets appear as both `choice` and `score`, split
deterministically per row, so a model learns both requests for the same scale.
Soft targets are kept wherever the source has mean ratings or votes from at
least five annotators per item (vote shares from fewer are too noisy): STS,
ChaosNLI, civil_comments, Measuring Hate Speech, WouldYouRather, ProtoQA,
LeWiDi and more. They make up the graded share.
- **Built so position, repeated eval data, and question choice give nothing away.**
- Multiple-choice options are shuffled per row, so the answer's position carries no signal.
- Validation and test rows whose content appears in train are removed.
- Derived questions are chosen without looking at their answers.
- Annotations were reviewed task by task. Inverted, unanswerable, and garbled labels were fixed or dropped.
- **Multi-question states.** Related decisions share a `group_id` and can be
asked together. Packed states test reasoning over several items at once, and
[procedural-typed-decisions](https://huggingface.co/datasets/tasksource/procedural-typed-decisions)
adds exact counting, arithmetic, retrieval, state tracking, routing among
up to 60 options, and exact posteriors when a policy applies to a requester
whose role is uncertain.
## Quick start
Coding agent? Read [AGENTS.md](AGENTS.md): row semantics, rebuilding multi-question requests from `group_id`, filtering, and evaluation caveats.
```python
from datasets import load_dataset
ds = load_dataset("tasksource/tasksource-jev-typed-decisions") # steered 1M-row mix
# full = load_dataset("tasksource/tasksource-jev-typed-decisions", "full") # every row of the build
row = ds["train"][0]
print(row["state"], row["question"], row["options"], row["target"])
```
```json
{"state": "My body cast a shadow over the grass. What was the cause of this?",
"question": "Choose the criterion that best answers the question.",
"kind": "choice", "options": ["The sun was rising.", "The grass was cut."],
"target": [1.0, 0.0], "source": "super_glue/copa"}
```
## Configs
- `default`: a steered mix of about 1M train rows. Sources are first gated on label correctness, then weighted by how interesting they are and how close they sit to the zone of proximal development (judged by decision models). Two-option tasks get fewer rows, and procedural generators get 12%. No row is repeated. Validation and test are the full eval splits, restricted to the mixed sources. Buckets and shares are in [`jev_mixes.py`](https://github.com/sileod/tasksource/blob/main/src/tasksource/metadata/jev_mixes.py) and per-source scores in `jev_source_scores.csv`.
- `full`: every row that passed the build, with per-source caps (about 2.5M train rows).
- `filtered-full`: 1,305,478 retained `train` decisions from the frozen `full` revision `d2ab1d12be4463fb7ac1f877ed2193b3bb59642a`. Applies commercial-license metadata gating, benchmark-overlap/structural filters, and conservative GLM-5.3-Flash review. Uncertain cases are retained; original row values and soft targets are preserved. No validation or test split is added. This is a filtered historical snapshot and excludes additions made after that revision. See [filtering methods and counts](filtered-full/README.md).
## Format
| field | meaning |
|---|---|
| `state` | The text to decide about |
| `question` | What to decide |
| `kind` | `choice`, `score`, or `noul` |
| `options` | Runtime criteria; empty for `noul` |
| `target` | Distribution over `options`, or `[p]` for `noul` |
| `id`, `group_id`, `question_id` | Link decisions over the same source example |
| `example_id` | Stable hash of the source example's input and gold; the same across releases unless the label changes |
| `source`, `split`, `variant` | Originating task, original split, and recast variant |
| `license`, `license_use` | The source's license(s), and `commercial`, `non-commercial` or `unspecified` (see below) |
Splits: train (about 1M rows in `default`, 2.5M in `full`), 15,000 validation (`dev` in `split`), and 15,000 test,
following each source's own train/dev/test splits where it has them.
## How it is built
- **Canonical recasts.** Each Tasksource task is converted deterministically.
- Criteria are the source's own label names and answer options.
- Multiple-choice rows keep every option in a per-row order.
- A final "all/none of the above" reads "all/none of the other options".
- Options that cite other options by letter or number keep their order.
- The question is the task's own when its inputs alone do not say what to predict
("What stance does the tweet take on feminism?"), and a generic instruction otherwise.
Label-verification and packed questions carry it too.
- **Variants.** Low-frequency, deterministic variants cover label verification as `noul`, criterion order, and instruction wording.
- **Packing.** Up to 10% of each classification task's examples are packed, two to four at a time, into `packed_derived` states. Their questions (an item's label, agreement, existence, counts) follow exactly from the gold labels.
- **Mixing (`full`).** Formats get fixed shares of the train rows (47% classification, 30% multiple choice, 3% token labeling, 10% graded (soft-label sources), 10% procedural). Within a format, dataset families get equal shares, scaled by [hand-set weights](https://github.com/sileod/tasksource/blob/main/src/tasksource/metadata/weights.py) (more for adversarial NLI, long documents and preference pairs; less for templated probes), times [audit weights](https://github.com/sileod/tasksource/blob/main/src/tasksource/metadata/audit_weights.py) from a per-task check of Jev on 200 examples: ×1.5 for hard tasks whose gold is right by construction (synthetic logic, theory of mind, spatial reasoning), ×0.5 for near-solved tasks and for hard tasks whose gold is a judgment call (ratings, preferences, crowd sentiment). Sources with many options get slightly more room. Related questions are kept together.
- **Mixing (`default`).** About 1M rows drawn from `full`, never repeating a row. Buckets of related sources get set shares ([jev_mixes.py](https://github.com/sileod/tasksource/blob/main/src/tasksource/metadata/jev_mixes.py): 15% logic, 10% NLI, 10% knowledge QA, 9% long documents and fact-checking, 8% intent and routing, 12% procedural, ...). Inside a bucket, sources get rows by score × √size. The [score](https://github.com/sileod/tasksource/blob/main/src/tasksource/metadata/jev_source_scores.csv) multiplies:
- correctness: sources that failed label review get 0;
- the zone of proximal development: how much probability the decision models (Jev, Liquid D1) give the gold answer. Near-solved sources and sources the models miss outright both get less;
- interest and cleanliness, from Jev yes/no checks for transferable skills, trivial examples and malformed rows;
- ×0.6 for two-option tasks (about a third of the rows);
- ×2 for sources picked by reading them.
- **Order and coverage.**
- The first 1,000 train rows are interleaved to show variety in the Dataset Viewer; the rest is shuffled. Questions of a group stay adjacent throughout.
- Evaluation benchmarks (BIG-bench, MMLU, BLiMP, MATH test, ...) are left out so they stay clean for evaluation.
- **Sources.** [sources.yaml](sources.yaml) lists every source with its rows, the Hub dataset and revision it was loaded from, the original dataset behind each tasksource copy, and its licenses.
- **Audit trail.** The [source mix](release-audit.json), [failed source list](failed-tasks.json), and [build manifest](build-manifest.json) ship with the data.
- **Reproducible.** The [build runbook](https://github.com/sileod/tasksource/blob/main/docs/jev/README.md) rebuilds the release from [Tasksource](https://github.com/sileod/tasksource)'s [task catalog](https://github.com/sileod/tasksource/blob/main/tasks.md).
## License and scope
Tasksource harmonizes datasets from many publishers; their original licenses
and terms still apply, hence `license: other`.
Each row carries its source's license, to help filter:
```python
ds = ds.filter(lambda use: use == "commercial", input_columns="license_use")
```
- `license` lists the `license` of the Hub dataset card the source was loaded from,
and of the original dataset behind a tasksource copy. It also lists licenses recorded
by the [Data Provenance Initiative](https://www.dataprovenance.org/), marked `(DPI)`.
- `license_use` takes the most restrictive of those: `non-commercial` if any is
non-commercial or academic-only, `commercial` if one allows commercial use (share-alike
and copyleft included), and `unspecified` otherwise. That covers missing licenses and
`other`, bare `cc`, and no-derivatives licenses.
- [sources.yaml](sources.yaml) records each card and DPI license per source.
This is a best-effort aid, not legal advice. Licenses on cards can be wrong or
incomplete, and a source's terms may differ from its card's. Check the
original terms before relying on them. This recast is independent of
TypeSafe and OpenJev.
## Citation
```bibtex
@inproceedings{sileo-2024-tasksource,
title = {tasksource: A Large Collection of {NLP} tasks with a Structured Dataset Preprocessing Framework},
author = {Sileo, Damien},
booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
year = {2024},
pages = {15655--15684},
url = {https://aclanthology.org/2024.lrec-main.1361/}
}
```
## Incremental filtered WebInstruct addition
Filtered `tasksource/webinstruct` configs `mc` and `binary`, pinned at `05e8b528d68c628c1af682d47bdb53f85535876a`, are appended as standalone shards to both `default` and `full`. The original train/test split assignment is preserved; validation is unchanged. All choices of included rows are retained, with canonical Jev option permutation and one-hot targets; 47 MC rows with duplicate option text are omitted under the existing choice contract. binary questions use explicit no/false and yes/true choices. No repairs or derived variants are included. Existing shards and mixture sampling are unchanged. See `webinstruct-addition.json` for exact counts, transformations and provenance.
|