vinhable commited on
Commit
8ee5d29
·
verified ·
1 Parent(s): f0e36a4

Add dataset card and build metadata

Browse files
Files changed (4) hide show
  1. README.md +136 -0
  2. summary.json +72 -0
  3. thinking-audit.json +31 -0
  4. train-shards.json +41 -0
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - dpo
9
+ - preference
10
+ - swe-agent
11
+ - code
12
+ - reasoning
13
+ size_categories:
14
+ - 10K<n<100K
15
+ ---
16
+
17
+ # Gen Vinhable — King vs challenger preference pairs
18
+
19
+ Preference data for DPO on multi-turn software-engineering agent trajectories from the Albedo
20
+ subnet (Bittensor SN97). Each pair compares two rollouts of the **same** sample in the **same**
21
+ evaluation run: one by the reigning King model and one by the challenger it was evaluated against.
22
+
23
+ Both sides are Qwen3.6-35B-A3B fine-tunes generated by production with thinking enabled, and both
24
+ were scored by the same judge on the same checklist. The label is simply which rollout scored
25
+ higher. Unlike a teacher-vs-model dataset, the two sides therefore think in the same way, so the
26
+ presence or absence of reasoning cannot become a shortcut for the preference.
27
+
28
+ ## Layout
29
+
30
+ | File | Samples | Pairs |
31
+ |---|---:|---:|
32
+ | `train-00000-of-00005.jsonl` | 9,314 | 1,570 |
33
+ | `train-00001-of-00005.jsonl` | 10,188 | 1,714 |
34
+ | `train-00002-of-00005.jsonl` | 11,997 | 2,012 |
35
+ | `train-00003-of-00005.jsonl` | 17,205 | 2,873 |
36
+ | `train-00004-of-00005.jsonl` | 17,335 | 2,893 |
37
+ | `dev.jsonl` | 7,083 | 1,188 |
38
+ | **Total** | **73,122** | **12,250** |
39
+
40
+ Train and dev are disjoint by `task_group`. All samples of a pair live in the same file.
41
+
42
+ Evaluation runs finished between 2026-09-04 and 2026-09-23 and were taken newest first, so the
43
+ newest Kings dominate:
44
+
45
+ | King version | Pairs |
46
+ |---|---:|
47
+ | 127 | 2,636 |
48
+ | 126 | 2,609 |
49
+ | 125 | 2,679 |
50
+ | 124 | 1,693 |
51
+ | 123 | 1,706 |
52
+ | 122 | 927 |
53
+
54
+ Preferences: King 6,236, challenger
55
+ 5,769, tie 245
56
+ (2% of pairs).
57
+
58
+ ## Pair selection
59
+
60
+ Every sample has two King rollouts and two challenger rollouts, so four King-vs-challenger
61
+ pairings. A pairing is eligible when:
62
+
63
+ * both rollouts were scored;
64
+ * each side has at least four assistant turns, split into the same number (4-6) of behaviour groups;
65
+ * the first behaviour group matches on both sides;
66
+ * the winner is not flagged for amputated thinking (a rejected rollout may be).
67
+
68
+ Of the eligible pairings, the one with the **largest score gap** is kept. One side is always the
69
+ King and the other always the challenger. Each exact context appears once, from its newest run.
70
+ Tasks used in the authors' local evaluation batch are excluded.
71
+
72
+ ## Row schema
73
+
74
+ | Field | Meaning |
75
+ |---|---|
76
+ | `pair_id`, `sample_uid` | pair id; `sample_uid` is `pair_id#k<prefix_groups>` |
77
+ | `prompt` | shared prefix, every message `loss: false` |
78
+ | `chosen`, `rejected` | the two continuations |
79
+ | `preference` | `king`, `challenger` or `tie` |
80
+ | `chosen_side`, `rejected_side` | which model produced each side |
81
+ | `chosen_rollout`, `rejected_rollout` | rollout ids (`#r1` / `#r2`) in the source run |
82
+ | `king_score`, `challenger_score`, `margin` | production scores of the two rollouts and their gap |
83
+ | `rejected_amputated_thinking` | the rejected rollout was flagged for amputated thinking |
84
+ | `eligible_pairings` | how many of the four pairings passed the filters |
85
+ | `prefix_groups`, `group_count`, `is_full_trajectory` | turn-split position |
86
+ | `chosen_behavior_sequence`, `rejected_behavior_sequence` | per-group behaviour labels |
87
+ | `eval_run_id`, `finished_at`, `king_version`, `challenger_uid` | provenance of the run |
88
+ | `split`, `sample_id`, `task_group`, `source`, `sample_phase`, `question_mode`, `scoring_mode` | provenance of the sample |
89
+
90
+ ## Loss contract
91
+
92
+ Within a sample, `loss: true` marks **only the assistant turns of the final behaviour group**. The
93
+ prompt, environment observations and earlier groups are unsupervised context, so across the
94
+ `k = 1..K` samples of a pair each assistant turn is a target exactly once. Harness-written turns
95
+ (`harness_text: true`, a truncation notice) and empty turns are never supervised.
96
+
97
+ ## Thinking contract — read before training
98
+
99
+ Assistant `content` is the **exact text the model generated** after production's generation prompt
100
+ `<|im_start|>assistant\n<think>\n`: its reasoning, `</think>`, then the action. Render every
101
+ completion turn verbatim:
102
+
103
+ ```
104
+ <|im_start|>assistant\n<think>\n + content + <|im_end|>
105
+ ```
106
+
107
+ Do **not** pass these turns through the chat template. About a quarter of production turns never
108
+ close the think block (`think_closed: false`); the template would re-render them with an empty
109
+ `<think>\n\n</think>` in front, which is exactly the fingerprint Albedo penalises (a rollout where
110
+ most turns open with an empty `</think>` has its score halved). The prompt is ordinary chat history
111
+ and can go through the template.
112
+
113
+ Audit of the released data (genesis tokenizer):
114
+
115
+ | | chosen | rejected |
116
+ |---|---:|---:|
117
+ | turns that close the think block | 70.1% | 71.0% |
118
+ | turns opening with an empty `</think>` | 0.00% | 0.00% |
119
+ | median reasoning length (chars) | 516.0 | 443 |
120
+
121
+ The supervised span starts on a token boundary after `<think>\n`, and `</think>` inside content
122
+ encodes as its single special token.
123
+
124
+ ## Turn splitting
125
+
126
+ A pair yields one sample per prefix length `k`: `chosen` is the first `k` behaviour groups of the
127
+ winning rollout and `rejected` the first `k` of the losing one, against the same prompt. From
128
+ `k >= 2` each side carries its own earlier groups as context, so the objective is a contrastive
129
+ variant of DPO rather than the textbook derivation. Filter to `is_full_trajectory == true` for one
130
+ plain trajectory-level pair per sample.
131
+
132
+ ## Caveats
133
+
134
+ * Labels come from production's three-vote binary checklist judge. Small gaps are noisy.
135
+ * Kings and challengers are closely related models, so many pairs differ in a few turns only.
136
+ * Observations were produced by Albedo's LLM environment simulator, not by executing code.
summary.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "albedo-gen-dpo-summary-v1",
3
+ "counts": {
4
+ "pairing_rejected:fewer_than_four_turns": 78,
5
+ "pairing_rejected:first_group_mismatch": 2433,
6
+ "pairs:dev": 1188,
7
+ "pairs:king_version:122": 927,
8
+ "pairs:king_version:123": 1706,
9
+ "pairs:king_version:124": 1693,
10
+ "pairs:king_version:125": 2679,
11
+ "pairs:king_version:126": 2609,
12
+ "pairs:king_version:127": 2636,
13
+ "pairs:preference:challenger": 5769,
14
+ "pairs:preference:king": 6236,
15
+ "pairs:preference:tie": 245,
16
+ "pairs:question_mode:None": 49,
17
+ "pairs:question_mode:milestone_ladder": 8868,
18
+ "pairs:question_mode:sota_anchored": 3333,
19
+ "pairs:train": 11062,
20
+ "rollout_unusable:challenger": 524,
21
+ "rollout_unusable:king": 525,
22
+ "sample_dropped:context_seen_in_newer_run": 21,
23
+ "sample_dropped:no_eligible_pairing": 421,
24
+ "sample_dropped:no_usable_rollout": 285,
25
+ "sample_dropped:rollout_contexts_differ": 213,
26
+ "sample_dropped:task_in_eval_batch": 453,
27
+ "samples:dev": 7083,
28
+ "samples:dropped_no_supervised_turn": 156,
29
+ "samples:k1": 12250,
30
+ "samples:k2": 12250,
31
+ "samples:k3": 12250,
32
+ "samples:k4": 12246,
33
+ "samples:k5": 12191,
34
+ "samples:k6": 11935,
35
+ "samples:train": 66039,
36
+ "samples_seen": 15476,
37
+ "skipped_truncated_artifact_line": 1
38
+ },
39
+ "pairs": 12250,
40
+ "samples": 73122,
41
+ "tie_share_of_pairs": 0.02,
42
+ "runs_used": 155,
43
+ "finished_at_range": [
44
+ "2026-09-04T13:35:54.633426+00:00",
45
+ "2026-09-23T02:22:12.392116+00:00"
46
+ ],
47
+ "selection": {
48
+ "run_order": "newest first; one pair per exact context (the newest run wins)",
49
+ "pairing": "best score gap among the 4 King x challenger rollout pairings that pass the filters; one side is always King, the other challenger",
50
+ "filters": [
51
+ "both rollouts scored",
52
+ ">= 4 assistant turns per side",
53
+ "4-6 equal behaviour groups",
54
+ "first behaviour group matches",
55
+ "winner not flagged amputated_thinking",
56
+ "task not in local eval batch"
57
+ ],
58
+ "tie_share": 0.02,
59
+ "label": "production three-vote score of each rollout on the run's checklist"
60
+ },
61
+ "loss_contract": {
62
+ "assistant_tokens_of_the_final_group_only": true,
63
+ "earlier_groups_are_unsupervised_context": true,
64
+ "observations_are_context": true,
65
+ "harness_text_and_empty_turns": "loss false"
66
+ },
67
+ "think_contract": {
68
+ "content": "exact generation after '<|im_start|>assistant\\n<think>\\n'",
69
+ "render": "'<|im_start|>assistant\\n<think>\\n' + content + '<|im_end|>' verbatim; never through the chat template",
70
+ "think_closed": "false for turns that never closed the think block"
71
+ }
72
+ }
thinking-audit.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "E:\\albedo-storage-temp\\gen_vinhable-kc-dpo-20260923-v1",
3
+ "rows": 73122,
4
+ "violations": {},
5
+ "supervised_turns": {
6
+ "chosen": 163751,
7
+ "rejected": 162737,
8
+ "model:king": 162538,
9
+ "model:challenger": 163950
10
+ },
11
+ "closed_think_rate": {
12
+ "chosen": 0.7006,
13
+ "rejected": 0.7096,
14
+ "model:king": 0.7003,
15
+ "model:challenger": 0.7099
16
+ },
17
+ "empty_think_rate": {
18
+ "chosen": 0.0,
19
+ "rejected": 0.0,
20
+ "model:king": 0.0,
21
+ "model:challenger": 0.0
22
+ },
23
+ "reasoning_chars_median": {
24
+ "chosen": 516.0,
25
+ "rejected": 443
26
+ },
27
+ "tokens": {
28
+ "turns": 400
29
+ },
30
+ "pass": true
31
+ }
train-shards.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "split": "train",
3
+ "shards": 5,
4
+ "files": [
5
+ {
6
+ "file": "train-00000-of-00005.jsonl",
7
+ "rows": 9314,
8
+ "pairs": 1570,
9
+ "bytes": 1214668977,
10
+ "sha256": "da96ad5b3e2744e4e40db04bd3bbc9e99e2b612e4896995c57155b5cc85e963b"
11
+ },
12
+ {
13
+ "file": "train-00001-of-00005.jsonl",
14
+ "rows": 10188,
15
+ "pairs": 1714,
16
+ "bytes": 1213949725,
17
+ "sha256": "d678c293b3d4260bb942945cb2d4193d6df5f3f160895f30b9768659fe4c9b93"
18
+ },
19
+ {
20
+ "file": "train-00002-of-00005.jsonl",
21
+ "rows": 11997,
22
+ "pairs": 2012,
23
+ "bytes": 1214246081,
24
+ "sha256": "8f0dc88c8e596310c615c87c9bd6b3fd450e82065d35b9a128a65c7f2962b115"
25
+ },
26
+ {
27
+ "file": "train-00003-of-00005.jsonl",
28
+ "rows": 17205,
29
+ "pairs": 2873,
30
+ "bytes": 1214439872,
31
+ "sha256": "17fccdbe71d13454088efa5572d5334ee34575727adf7286c1e7c4b3998d64cb"
32
+ },
33
+ {
34
+ "file": "train-00004-of-00005.jsonl",
35
+ "rows": 17335,
36
+ "pairs": 2893,
37
+ "bytes": 1214043043,
38
+ "sha256": "77265a5e53421dea8c1a8e57ccc0367a4d0eebe9150773c9d80e681debdfd8e7"
39
+ }
40
+ ]
41
+ }