Hanish commited on
Commit
79bc8cf
·
verified ·
1 Parent(s): e5d14de

LQ-Decide training data: 141k typed decisions, licence-tagged sources, synthetic families

Browse files
Files changed (5) hide show
  1. .gitattributes +2 -0
  2. README.md +106 -0
  3. families.jsonl +3 -0
  4. train.jsonl +3 -0
  5. valid.jsonl +0 -0
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ families.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-classification
5
+ - zero-shot-classification
6
+ language:
7
+ - en
8
+ size_categories:
9
+ - 100K<n<1M
10
+ tags:
11
+ - typed-decisions
12
+ - decision-model
13
+ - calibration
14
+ - routing
15
+ ---
16
+
17
+ # LQ-Decide training data
18
+
19
+ 141,038 rows for training models that answer **typed decisions**: given a state and a question with a fixed option set,
20
+ return a probability over the options rather than generated text. Built for
21
+ [LQ-Decide 0.6B](https://huggingface.co/Hanish/lq-decide-0.6b) by [Hanish Keloth](https://huggingface.co/Hanish).
22
+
23
+ Every source is licence-checked and named. Non-commercial and unclear-licence sources were excluded by a flag rather
24
+ than being quietly included; the excluded list is below so you can decide for yourself.
25
+
26
+ ## Files
27
+
28
+ | file | rows | contents |
29
+ |---|---|---|
30
+ | `train.jsonl` | 109,523 | public datasets recast as typed decisions |
31
+ | `valid.jsonl` | 2,235 | held-out split of the same mixture |
32
+ | `families.jsonl` | 29,280 | synthetic rows in three decision families |
33
+
34
+ ## Row format
35
+
36
+ ```json
37
+ {
38
+ "id": "65d834b2683fd321",
39
+ "family": "evidence_interpretation",
40
+ "kind": "choice",
41
+ "state": "The optician ordered replacement lenses. The workshop confirms they have not yet been fitted.",
42
+ "question": "Assess the claim: the replacement lenses have been fitted.",
43
+ "options": [
44
+ {"id": "supported", "description": "The evidence establishes the claim"},
45
+ {"id": "insufficient", "description": "The evidence does not establish either"},
46
+ {"id": "contradicted", "description": "The evidence establishes the opposite"}
47
+ ],
48
+ "label": 2,
49
+ "source": "authored_synthetic",
50
+ "licence": "generated by Ornith-1.5-35B-A3B (MIT)"
51
+ }
52
+ ```
53
+
54
+ `kind` is `choice`, `noul` (yes/no) or `score` (ordered levels). `label` indexes `options`. Option order is already
55
+ shuffled per row, so a model trained on this reads descriptions rather than positions.
56
+
57
+ ## Sources in `train.jsonl`
58
+
59
+ | source | rows | licence |
60
+ |---|---|---|
61
+ | MNLI | 20,000 | OANC + CC-BY-SA (mixed) |
62
+ | SNLI | 20,000 | CC-BY-SA 4.0 |
63
+ | WANLI | 20,000 | CC-BY 4.0 |
64
+ | CLINC150 | 15,250 | CC-BY 3.0 |
65
+ | MASSIVE (mteb mirror) | 11,514 | CC-BY 4.0 |
66
+ | Banking77 (mteb mirror) | 9,993 | CC-BY 4.0 |
67
+ | BoolQ | 9,427 | CC-BY-SA 3.0 |
68
+ | SMS Spam (UCI) | 5,574 | CC-BY 4.0 |
69
+
70
+ Deliberately excluded: ANLI (CC-BY-NC), DAIR Emotion (research only), AG News (unclear), Amazon Reviews 2023 (custom
71
+ research licence), papluca language-identification (derived, unclear). Regenerate with or without them using the script
72
+ referenced below.
73
+
74
+ ## `families.jsonl`
75
+
76
+ 29,280 synthetic rows across three families, fifteen mechanisms each, balanced across answers:
77
+
78
+ | family | rows | answers |
79
+ |---|---|---|
80
+ | evidence interpretation | 9,880 | supported / insufficient / contradicted |
81
+ | candidate selection | 9,825 | Candidate A / Candidate B / neither |
82
+ | rule application | 9,575 | permitted / prohibited / unsettled |
83
+
84
+ Mechanisms include authority hierarchy, delegation limits, exception and exclusion, partial deliverables, priority
85
+ fallback, revocation, timing sequence, and family-specific ones such as approval stage and retained-versus-replaced.
86
+
87
+ **Generation method.** The family, mechanism, intended answer and domain were chosen first, and
88
+ `Ornith-1.5-35B-A3B` (MIT) wrote only the surface text for that predetermined answer. The label therefore never came
89
+ from the teacher, which removes teacher-labelling noise. Rows whose returned answer did not match the requested one were
90
+ discarded; yield was 98.6%. Sixty professional domains are used to spread vocabulary.
91
+
92
+ **Known weakness, measured.** A model trained on this reaches 0.646 on candidate selection on a clean held-out fixture
93
+ but 0.389 on perturbed variants of the same items, which says these generated candidate-selection rows are too
94
+ formulaic and teach a surface cue. The other two families hold up much better. If you use this data, consider
95
+ regenerating that family with harder negatives.
96
+
97
+ ## Evaluation
98
+
99
+ Not included here. Use the labelled fixtures from the [SemIf](https://github.com/TheoLeeCJ/openjev) project
100
+ (`authored144`, `perturbations108`, MIT). They were never trained on, generated from, or shown to the teacher when this
101
+ data was built.
102
+
103
+ ## Reproduce
104
+
105
+ Built by `ml/decide/build_data.py` (public sources) and `ml/modal/gen_decide_families.py` (synthetic families) in the
106
+ LocalQuill repository. The first takes a `--commercial-only` flag that produces exactly the source list above.
families.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4856411d56c76c17a3339d41fe55cd869fdbe7d3e156ec67beb5f0fbb10e9b48
3
+ size 29368917
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02b0dfc0c033095ced72d382dbeb892d7787fba48943a2e93ee36524432d9431
3
+ size 88198869
valid.jsonl ADDED
The diff for this file is too large to render. See raw diff