sileod commited on
Commit
06f7a4c
·
verified ·
1 Parent(s): 01cf47f

Add tasksource-jev-typed-decisions dataset card

Browse files
Files changed (1) hide show
  1. README.md +71 -88
README.md CHANGED
@@ -16,81 +16,41 @@ tags:
16
  - multiple-choice
17
  size_categories:
18
  - 1M<n<10M
19
- dataset_info:
20
- features:
21
- - name: state
22
- dtype: string
23
- - name: id
24
- dtype: string
25
- - name: kind
26
- dtype: string
27
- - name: options
28
- list: string
29
- - name: target
30
- list: float64
31
- - name: question
32
- dtype: string
33
- - name: source
34
- dtype: string
35
- - name: variant
36
- dtype: string
37
- - name: split
38
- dtype: string
39
- - name: group_id
40
- dtype: string
41
- - name: question_id
42
- dtype: string
43
- splits:
44
- - name: train
45
- num_bytes: 934483229
46
- num_examples: 900000
47
- - name: validation
48
- num_bytes: 51573807
49
- num_examples: 50000
50
- - name: test
51
- num_bytes: 50498774
52
- num_examples: 50000
53
- download_size: 433230497
54
- dataset_size: 1036555810
55
- configs:
56
- - config_name: default
57
- data_files:
58
- - split: train
59
- path: data/train-*
60
- - split: validation
61
- path: data/validation-*
62
- - split: test
63
- path: data/test-*
64
  ---
65
 
66
  # tasksource-jev-typed-decisions
67
 
68
- One million decisions from **500+ Tasksource tasks across 300+ dataset families**,
69
- in a single format for models that receive their answer criteria at runtime.
70
- The value is breadth with traceable supervision: most rows inherit labels,
71
- ratings, or annotator votes from existing datasets, not labels invented by a
72
- teacher model. The `source` field identifies the originating task; existing
73
- train/dev/test boundaries are retained where the source provides them.
74
- The [Tasksource repository](https://github.com/sileod/tasksource) and
75
- [task catalog](https://github.com/sileod/tasksource/blob/main/tasks.md) document
76
- the source preprocessings.
77
-
78
- The coverage is deliberately wide: GLUE and SuperGLUE inference and language
79
- understanding; SNLI and XNLI; HellaSwag, PIQA, and ScienceQA; AG News,
80
- Banking77, and real support-ticket classification; CoNLL-2003 and WNUT-17
81
- entity tagging; MasakhaNEWS and other multilingual tasks; and graded sources
82
- such as HelpSteer and ChaosNLI. These are different decision problems with
83
- different criteria, made usable through one schema. A small, tagged procedural
84
- component adds controlled multi-question states.
85
 
86
- ## Format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
- Each Parquet row has a `state`, a `question`, runtime `options`, and a `target`.
89
- `kind` is `choice`, `noul` (one truth probability), or `score` (ordered levels).
90
- For `choice` and `score`, `target` is a distribution aligned with `options`;
91
- for `noul`, `options` is empty. `id`, `group_id`, and `question_id` let related
92
- decisions share a source example without requiring nested rows. `variant`
93
- marks deterministic subrecasts; `source` and `split` preserve provenance.
94
 
95
  ```python
96
  from datasets import load_dataset
@@ -100,31 +60,54 @@ row = ds["train"][0]
100
  print(row["state"], row["question"], row["options"], row["target"])
101
  ```
102
 
103
- Most classification targets are one-hot because the source annotations are
104
- hard labels. Sources with vote distributions or ratings retain softer or
105
- ordinal targets where justified. Low-frequency, deterministic variants cover
106
- label verification, criterion order, instruction wording, and paired-text
107
- field wording. The first 1,000 training rows are interleaved to show task
108
- variety in the Dataset Viewer; no rows are added by that display order.
 
 
109
 
110
- The release has 900,000 train, 50,000 validation (`dev` in the `split` field),
111
- and 50,000 test decisions. Publication balances dataset families while
112
- sampling their configurations and keeping related questions together. The
113
- full [source mix](release-audit.json), [failed source list](failed-tasks.json),
114
- and [build manifest](build-manifest.json) are published alongside the data.
115
- BIG-bench, MMLU, and BLiMP are not included.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
  Tasksource harmonizes datasets from many publishers; their original licenses
118
- and usage terms still apply. The aggregate is marked `license: other` because
119
- there is no single license for every source. The
120
- [build runbook](https://github.com/sileod/tasksource/blob/main/docs/jev/README.md)
121
- describes the resumable pipeline. This recast is independent of TypeSafe and
122
- OpenJev.
123
 
124
  ## Citation
125
 
126
- Please cite the Tasksource collection and preprocessing framework:
127
-
128
  ```bibtex
129
  @inproceedings{sileo-2024-tasksource,
130
  title = {tasksource: A Large Collection of {NLP} tasks with a Structured Dataset Preprocessing Framework},
 
16
  - multiple-choice
17
  size_categories:
18
  - 1M<n<10M
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ---
20
 
21
  # tasksource-jev-typed-decisions
22
 
23
+ **One million human-labeled decisions from 500+ tasks, in one format for models
24
+ that read their answer criteria at runtime.**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
+ Most instruction data teaches a model to *write*. This dataset teaches it to
27
+ *decide*: given a state and a question, pick among the options it is handed,
28
+ rate on a scale it is handed, or give a calibrated probability. The options
29
+ change from row to row, so a model has to read them rather than memorize a label set.
30
+
31
+ ## Why use it
32
+
33
+ - **Real supervision.** Labels, ratings, and annotator votes come from
34
+ established datasets, not a teacher model. Every row names its `source`.
35
+ - **Breadth.** Over 300 dataset families: NLI and reasoning, QA and
36
+ commonsense, sentiment, intent and topic, toxicity and safety, preference
37
+ pairs, fact checking, entity tagging, and dozens of languages. GLUE,
38
+ SuperGLUE, HellaSwag, PIQA, ScienceQA, Banking77, CoNLL-2003, MasakhaNEWS,
39
+ HelpSteer, ChaosNLI, and many more, with no task allowed to dominate.
40
+ - **Three decision types in one schema.** `choice` (pick one option), `score`
41
+ (an ordered scale), and `noul` (the probability that a statement is true).
42
+ Soft targets are kept wherever the source has votes or ratings.
43
+ - **Built so position, repeated eval data, and question choice give nothing away.**
44
+ - Multiple-choice options are shuffled per row, so the answer's position carries no signal.
45
+ - Validation and test rows whose content appears in train are removed.
46
+ - Derived questions are chosen without looking at their answers.
47
+ - Annotations were reviewed task by task. Inverted, unanswerable, and garbled labels were fixed or dropped.
48
+ - **Multi-question states.** Related decisions share a `group_id` and can be
49
+ asked together. Packed states test reasoning over several items at once, and
50
+ [procedural-typed-decisions](https://huggingface.co/datasets/tasksource/procedural-typed-decisions)
51
+ adds exact counting, arithmetic, retrieval, and state tracking.
52
 
53
+ ## Quick start
 
 
 
 
 
54
 
55
  ```python
56
  from datasets import load_dataset
 
60
  print(row["state"], row["question"], row["options"], row["target"])
61
  ```
62
 
63
+ ```json
64
+ {"state": "My body cast a shadow over the grass. What was the cause of this?",
65
+ "question": "Choose the criterion that best answers the question.",
66
+ "kind": "choice", "options": ["The sun was rising.", "The grass was cut."],
67
+ "target": [1.0, 0.0], "source": "super_glue/copa"}
68
+ ```
69
+
70
+ ## Format
71
 
72
+ | field | meaning |
73
+ |---|---|
74
+ | `state` | The text to decide about |
75
+ | `question` | What to decide |
76
+ | `kind` | `choice`, `score`, or `noul` |
77
+ | `options` | Runtime criteria; empty for `noul` |
78
+ | `target` | Distribution over `options`, or `[p]` for `noul` |
79
+ | `id`, `group_id`, `question_id` | Link decisions over the same source example |
80
+ | `source`, `split`, `variant` | Originating task, original split, and recast variant |
81
+
82
+ Splits: 1,000,000 train, 15,000 validation (`dev` in `split`), and 15,000 test,
83
+ following each source's own train/dev/test splits where it has them.
84
+
85
+ ## How it is built
86
+
87
+ - **Canonical recasts.** Each Tasksource task is converted deterministically.
88
+ - Criteria are the source's own label names and answer options.
89
+ - Multiple-choice rows keep every option in a per-row order.
90
+ - A final "all/none of the above" reads "all/none of the other options".
91
+ - Options that cite other options by letter or number keep their order.
92
+ - The question is the task's own when its inputs alone do not say what to predict
93
+ ("What stance does the tweet take on feminism?"), and a generic instruction otherwise.
94
+ Label-verification and packed questions carry it too.
95
+ - **Variants.** Low-frequency, deterministic variants cover label verification as `noul`, criterion order, and instruction wording.
96
+ - **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.
97
+ - **Mixing.** Formats get fixed shares of the train rows (47% classification, 30% multiple choice, 3% token labeling, 10% graded, 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). Related questions are kept together.
98
+ - The first 1,000 train rows are interleaved to show variety in the Dataset Viewer; the rest is shuffled.
99
+ - Evaluation benchmarks (BIG-bench, MMLU, BLiMP, MATH test, ...) are left out so they stay clean for evaluation.
100
+ - **Audit trail.** The [source mix](release-audit.json), [failed source list](failed-tasks.json), and [build manifest](build-manifest.json) ship with the data.
101
+ - **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).
102
+
103
+ ## License and scope
104
 
105
  Tasksource harmonizes datasets from many publishers; their original licenses
106
+ and terms still apply, hence `license: other`. This recast is independent of
107
+ TypeSafe and OpenJev.
 
 
 
108
 
109
  ## Citation
110
 
 
 
111
  ```bibtex
112
  @inproceedings{sileo-2024-tasksource,
113
  title = {tasksource: A Large Collection of {NLP} tasks with a Structured Dataset Preprocessing Framework},