File size: 12,103 Bytes
57664c7
6ec3f6b
57664c7
8140401
f5000ed
57664c7
 
3c0f049
 
57664c7
440aa35
57664c7
 
 
 
 
f5000ed
57664c7
80dbc5c
4791d02
 
 
 
 
 
 
0d547ab
 
28c3912
55394a0
 
 
 
 
 
 
 
d7d0d9a
 
 
 
 
 
 
 
4b73d68
28c3912
 
4b73d68
1114dd7
 
 
 
 
 
 
 
4b73d68
28c3912
 
4b73d68
28c3912
4b73d68
 
 
28c3912
55394a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d7d0d9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b73d68
8cd9fa8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b73d68
 
 
 
1114dd7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f92aad
 
1114dd7
 
 
 
 
 
6f92aad
 
4b73d68
28c3912
4b73d68
 
 
28c3912
 
 
4b73d68
 
28c3912
 
 
 
4b73d68
 
28c3912
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b965b66
 
28c3912
4b73d68
 
 
 
 
b965b66
 
4791d02
 
 
57664c7
 
6ec3f6b
 
80dbc5c
06f7a4c
80dbc5c
0327e82
57664c7
 
 
80dbc5c
 
4791d02
80dbc5c
6ec3f6b
57664c7
 
80dbc5c
 
 
 
 
 
4791d02
80dbc5c
 
 
 
 
 
 
 
 
 
 
 
 
 
5d5af20
80dbc5c
 
 
 
 
06f7a4c
 
 
 
 
 
 
80dbc5c
7bc1d22
80dbc5c
84008c8
80dbc5c
06f7a4c
1a22a9e
06f7a4c
80dbc5c
06f7a4c
5d5af20
06f7a4c
80dbc5c
0d547ab
80dbc5c
0cbea24
 
80dbc5c
0cbea24
 
80dbc5c
 
 
0cbea24
80dbc5c
 
 
 
57664c7
 
 
 
 
bb9a60c
 
 
 
 
 
57664c7
 
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
---
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
- decision-model
- extraction
- information-extraction
- extractive-qa
- span-extraction
- named-entity-recognition
- structured-extraction
- clairic
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: extraction
  data_files:
  - split: train
    path: extraction/train-*
  - split: validation
    path: extraction/validation-*
  - split: test
    path: extraction/test-*
- config_name: filtered-full
  data_files:
  - split: train
    path: filtered-full/train-*.parquet
- config_name: full
  data_files:
  - split: train
    path: full/train-*
  - split: validation
    path: full/validation-*
  - split: test
    path: full/test-*
- config_name: vision
  data_files:
  - split: train
    path: vision/train-*
  - split: test
    path: vision/test-*
  - split: validation
    path: vision/validation-*
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: source_index
    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: 1534153675
    num_examples: 999832
  - name: validation
    num_bytes: 23419061
    num_examples: 15000
  - name: test
    num_bytes: 21143086
    num_examples: 15000
  download_size: 694326150
  dataset_size: 1578715822
- config_name: extraction
  features:
  - name: id
    dtype: string
  - name: source
    dtype: string
  - name: split
    dtype: string
  - name: state
    dtype: string
  - name: fields
    list:
    - name: name
      dtype: string
    - name: type
      dtype: string
    - name: instruction
      dtype: string
  - name: answers
    list:
    - name: 'null'
      dtype: bool
    - name: values
      list:
      - name: text
        dtype: string
      - name: start
        dtype: int32
      - name: end
        dtype: int32
  - name: metadata
    dtype: string
  - name: license
    dtype: string
  - name: license_use
    dtype: string
  splits:
  - name: train
    num_bytes: 226623187
    num_examples: 123023
  - name: validation
    num_bytes: 13262072
    num_examples: 7316
  - name: test
    num_bytes: 5505089
    num_examples: 5413
  download_size: 161093727
  dataset_size: 245390348
- 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
- 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: source_index
    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: 3871839670
    num_examples: 2550012
  - name: validation
    num_bytes: 23419061
    num_examples: 15000
  - name: test
    num_bytes: 21143086
    num_examples: 15000
  download_size: 1950002463
  dataset_size: 3916401817
- config_name: vision
  features:
  - name: images
    list: image
  - name: metadata
    dtype: string
  - name: id
    dtype: string
  - name: kind
    dtype: string
  - name: options
    list: string
  - name: target
    list: float64
  - name: state
    dtype: string
  - 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: 236883226428
    num_examples: 722314
  - name: test
    num_bytes: 146575133
    num_examples: 475
  - name: validation
    num_bytes: 274444703
    num_examples: 972
  download_size: 140122509371
  dataset_size: 237304246264
task_ids:
- extractive-qa
- named-entity-recognition
---

# tasksource-jev-typed-decisions

Typed decisions from hundreds of curated [Tasksource](https://github.com/sileod/tasksource) tasks: classification, multiple choice, ordered ratings, probabilities and visual reasoning. Targets come from source annotations or deterministic transformations of them. Native annotation noise and subjective judgments remain.

## Load

```python
from datasets import load_dataset

text = load_dataset("tasksource/tasksource-jev-typed-decisions")
vision = load_dataset("tasksource/tasksource-jev-typed-decisions", "vision")
extraction = load_dataset("tasksource/tasksource-jev-typed-decisions", "extraction")
row = text["train"][0]
print(row["state"], row["question"], row["options"], row["target"])
```

| Config | Contents |
|---|---|
| `default` | Steered text training mix, plus reviewed incremental additions; validation and test included. |
| `full` | Larger text pool with per-source caps, including incremental additions; validation and test included. |
| `filtered-full` | Filtered, training-only historical snapshot. Later additions are not included. See [selection policy and counts](filtered-full/README.md). |
| `vision` | Multimodal decisions with ordered images and text choices. See [visual sources, sampling and provenance](vision/README.md). |
| `extraction` | A text and several typed fields (questions, entity types) answered with character spans or null, Clairic-style. See [extraction format and sources](extraction/README.md). |

Exact split sizes are in the Dataset Viewer metadata. Task coverage and counts are in [sources.yaml](sources.yaml) and [vision/sources.yaml](vision/sources.yaml).

## Row format

| Field | Meaning |
|---|---|
| `state` | Text to reason about. |
| `question` | The decision to make. |
| `kind` | `choice`, `score` or `noul`. |
| `options` | Criteria in their presented order; empty for `noul`. |
| `target` | Distribution aligned with `options`, or `[p_true]` for `noul`. |
| `id`, `group_id`, `question_id` | Decision identity and grouping of related questions. |
| `example_id` | Content-derived example identity used by the build. |
| `source_index` | Original row of the example in its source dataset, as `split:row` (the split before any re-splitting); empty for packed and generated rows. |
| `source`, `split`, `variant` | Task identity, split annotation and recast variant. |
| `license`, `license_use` | Recorded source terms and their usage classification. |
| `images` | **Vision only:** ordered Hugging Face image features, decoded on access. |
| `metadata` | **Vision only:** JSON-string source identity, geometry, augmentation and license evidence. |

```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"}
```

`choice` selects a criterion; `score` uses an ordered scale. Soft targets preserve annotator disagreement or interpolate numerical ratings between neighboring scale anchors. `noul` represents the probability that a proposition is true. Scale meaning is determined by the question and criteria.

Rows sharing `group_id` can be assembled into a multi-question request. Vision images stay separate from text and must be passed through the model's image adapter; answer options remain text. See [AGENTS.md](AGENTS.md) for request assembly and row semantics.

## Construction and evaluation

Tasksource standardizes native labels and choices, adds task-specific questions where needed, and applies deterministic option permutations and low-frequency text variants. Some text rows pack related decisions over a shared state. A decision's majority label keeps at most three rows per row of its other labels (graded answers count as yes above 0.5; a question with a single label is dropped), so skewed binary sources such as answer selection or toxicity no longer reward always answering the common label; procedural questions keep each label under 60%. The visual config contains direct decisions and shares sampling budgets across related task views.

Native source partitions are retained where available; derived group-based holdouts and overlap exclusions are documented per source. These checks do not establish absence of all cross-dataset or benchmark contamination. For example, Mind2Web text tasks use derived holdouts from public training trajectories, not official benchmark tests; alignment with private Decision Index evaluation rows is unverified. Mind2Web is excluded from the visual config.

Source and recast reviews are coarse checks, not corpus-wide correctness guarantees. [English examples](https://github.com/sileod/tasksource/blob/main/docs/examples.md) illustrate the exported and canonical representations.

## Licenses

This collection has **mixed source terms**, hence `license: other`. Original annotation and image terms still apply. `license_use` is a best-effort classification: `commercial`, `non-commercial` or `unspecified`; it is not legal clearance. Missing or scoped evidence is retained explicitly.

```python
text = text.filter(lambda use: use == "commercial", input_columns="license_use")
```

Visual annotation licenses may not cover third-party images. The visual license review records unresolved image rights and explicit restrictions, including FigureQA's prohibition on redistribution. See [component-level evidence](vision/license-review.json) and the [vision documentation](vision/README.md) before reuse.

## Documentation and provenance

- [Text sources and revisions](sources.yaml), [release audit](release-audit.json), [build manifest](build-manifest.json) and [failed sources](failed-tasks.json).
- [Vision documentation](vision/README.md) and [filtered-full selection evidence](quality/filtered-full-v1/README.md).
- [Build runbook](https://github.com/sileod/tasksource/blob/main/docs/jev/README.md), [base build recipe](BUILD.md) and [task catalogs](https://github.com/sileod/tasksource#task-catalogs).
- [Release history](CHANGELOG.md). Addition manifests and sampled reviews retain their original snapshot context.

## 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/}
}
```