lordpizzo commited on
Commit
cb9e1ca
Β·
verified Β·
1 Parent(s): 4658a94

model card: composition A (v6 head cat/dec + v4 adapter urgency) = 0.6923 on the ruler

Browse files
Files changed (1) hide show
  1. README.md +63 -18
README.md CHANGED
@@ -49,7 +49,8 @@ per case (joint-schema head).
49
 
50
  ## What it is (honestly)
51
 
52
- Veredicto was trained as an end-to-end classifier for the three questions
 
53
  (category 17-way, decision 5-way, urgency 4-way). Two independent training
54
  runs (v4: mixed-quality data, v5: clean deduplicated data) produced the
55
  same profile: excellent urgency, failed category/decision. On our private
@@ -63,30 +64,73 @@ human-curated ruler (1,499 real cases, seed-42 split, temperature-scaled):
63
  | overall | 0.3838 | 0.3316 | 0.6233 | **0.7127** |
64
 
65
  \* Same ruler, same seed-42 test split, same protocol (n=753 cases).
66
- v5 = retrained on clean deduplicated data (2 epochs) β€” category got WORSE,
67
- confirming the architecture limitation is real, not a data quality issue.
 
 
 
 
 
 
68
 
69
  **On urgency, the student beats its own benchmark**: v4 0.745 vs JEV 0.724
70
  (+2.1 pp) β€” a 9B model specialized on PT-BR support data outperforms the
71
- frontier decision API on the question where it was closest. This result is
72
- **robust**: both v4 and v5 (independent training runs) score 0.73-0.75 on
73
- urgency, far above any Decisum (ceiling 0.679).
74
-
75
- Category and decision did not transfer at any scale or data quality β€” this
76
- is a fundamental limitation of the joint-schema prompt format for
77
- fine-grained PT-BR classification, not a training issue.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
  **On urgency, the student beats its own teacher**: 0.745 vs 0.724 (+2.1 pp)
80
  β€” a 9B distillation of the decision API, specialized on PT-BR support
81
  data, outperforms the frontier API on the question where it was closest.
82
- Category and decision did not transfer at this scale (see below), which is
83
- exactly why we publish it as a **specialist**:
84
 
85
  - as a **urgency specialist** (answers one question better than anything
86
  else we measured, including the teacher);
87
  - as a **distillation teacher for urgency** into lighter models;
88
- - as a reproducible data point on what scale does and does not buy on
89
- typed-decision tasks.
90
 
91
  ## Adapter details
92
 
@@ -97,8 +141,8 @@ exactly why we publish it as a **specialist**:
97
  - **Training (v4)**: 14,768 cases (Γ—3 questions), 1 epoch, BF16, single
98
  24 GB GPU (~6 h); OOM-resilient loader.
99
  - **Training (v5)**: clean deduplicated 3-question cases, 2 epochs, BF16,
100
- RTX PRO 6000 (~4 h). Same urgency profile, worse category β€” confirming
101
- the architecture limitation.
102
  - **Format**: this repo contains the adapter (`adapter_model.safetensors`,
103
  `adapter_config.json` with `base_model_name_or_path: Cloudflare/clef-flash`).
104
 
@@ -130,8 +174,9 @@ probs = logits.float().softmax(-1)
130
 
131
  ## Limitations
132
 
133
- - Not a general classifier β€” category/decision accuracy is far below the
134
- 322M specialists (see table); use Decisum for those.
 
135
  - Urgency numbers are in-domain (PT-BR e-commerce support).
136
  - Requires the base model's custom code (`trust_remote_code`) and its
137
  joint-schema processor.
 
49
 
50
  ## What it is (honestly)
51
 
52
+ The legacy v4/v5 pipeline trained Veredicto as an end-to-end classifier
53
+ for the three questions
54
  (category 17-way, decision 5-way, urgency 4-way). Two independent training
55
  runs (v4: mixed-quality data, v5: clean deduplicated data) produced the
56
  same profile: excellent urgency, failed category/decision. On our private
 
64
  | overall | 0.3838 | 0.3316 | 0.6233 | **0.7127** |
65
 
66
  \* Same ruler, same seed-42 test split, same protocol (n=753 cases).
67
+ v5 = retrained on clean deduplicated data (2 epochs) β€” category got worse.
68
+ These historical scores do not isolate architecture from data or pipeline
69
+ defects. An audit of the observed v4/v5 pipeline copies found targets
70
+ misaligned with reordered `option_ids`, a trained head omitted from
71
+ adapter saves, and hard-label category cases omitted when `probs_alvo`
72
+ was absent. The copies' identity with the remote execution was not
73
+ verified, and the historical head was not recovered; each defect's
74
+ contribution to these scores remains unquantified.
75
 
76
  **On urgency, the student beats its own benchmark**: v4 0.745 vs JEV 0.724
77
  (+2.1 pp) β€” a 9B model specialized on PT-BR support data outperforms the
78
+ frontier decision API on the question where it was closest. Both
79
+ historical v4 and v5 evaluations score about 0.73-0.75 on urgency; the
80
+ later documented Decisum v10+swa reference reaches 0.6919. These are
81
+ historical point comparisons, without a paired confidence interval.
82
+
83
+ **Local update β€” 20 October 2026:** Veredicto v6 A1 trained `head_only`
84
+ with a frozen backbone. Its complete checkpoint `step-2208`, selected
85
+ on dev, scored **66.1355% overall, 68.2603% category, 64.9402% decision
86
+ and 65.2058% urgency** on 753 seed-42 test cases, at T=1 with no fitting
87
+ or calibration on the gold set. This refutes the absolute claim that
88
+ the architecture cannot handle category/decision, without isolating
89
+ each correction's effect. The v6 checkpoint is **not yet published**;
90
+ it is distinct from the legacy v4/v5 LoRA adapter described in this
91
+ card, whose identity and historical scores are retained. Urgency
92
+ regresses against Decisum v10+swa's documented 69.19%. **No production
93
+ promotion or switch was made.** Source:
94
+ [local v6 final report](../veredicto_v6/resultado_final.md).
95
+
96
+ **Second update β€” 20 October 2026 (evening):** a zero-training
97
+ composition of the two artifacts above was measured on the same
98
+ official ruler (same 753 seed-42 test cases, T=1, paired per-case
99
+ predictions): the **v6 head answers category and decision**, the **v4
100
+ adapter in this repo answers urgency**. The composition scores **0.6923
101
+ overall** (n=2,259 answers):
102
+
103
+ | system | category | decision | urgency | overall |
104
+ |---|---|---|---|---|
105
+ | JEV (frontier API) | **0.7251** | **0.6892** | 0.7238 | **0.7127** |
106
+ | **A: v6 head (cat/dec) + v4 adapter (urgency)** | 0.6826 | 0.6494 | **0.7450** | 0.6923 |
107
+ | Veredicto v6 A1 alone | 0.6826 | 0.6494 | 0.6521 | 0.6614 |
108
+ | Decisum v10+swa (champion) | 0.5618 | 0.6481 | 0.6919 | 0.6339 |
109
+ | Veredicto v4 adapter alone (this repo) | 0.2430 | 0.1633 | **0.7450** | 0.3838 |
110
+
111
+ That is **+5.8 pp over the production champion** and 2.0 pp below the
112
+ frontier teacher β€” the best local number ever measured on the ruler,
113
+ with each question answered by the artifact that historically masters
114
+ it. Per-subset: human-adjudicated hard core 0.6693, random slice 0.7370.
115
+ A 0.75/0.25 teacher/student blend on urgency reaches 0.6932 overall but
116
+ was selected on the test split β€” reported as diagnostic only, not as
117
+ the headline. No new training was run and **no production change was
118
+ made**; the serving question (whether the two heads can share one
119
+ backbone instance, given the v6 head was trained on the frozen base and
120
+ the urgency head operates over the LoRA-adapted one) is under separate
121
+ evaluation.
122
 
123
  **On urgency, the student beats its own teacher**: 0.745 vs 0.724 (+2.1 pp)
124
  β€” a 9B distillation of the decision API, specialized on PT-BR support
125
  data, outperforms the frontier API on the question where it was closest.
126
+ The legacy evaluations reported weak category/decision scores, so the
127
+ legacy adapter was published as a **specialist**:
128
 
129
  - as a **urgency specialist** (answers one question better than anything
130
  else we measured, including the teacher);
131
  - as a **distillation teacher for urgency** into lighter models;
132
+ - as a historical result whose interpretation must account for the
133
+ audited pipeline defects.
134
 
135
  ## Adapter details
136
 
 
141
  - **Training (v4)**: 14,768 cases (Γ—3 questions), 1 epoch, BF16, single
142
  24 GB GPU (~6 h); OOM-resilient loader.
143
  - **Training (v5)**: clean deduplicated 3-question cases, 2 epochs, BF16,
144
+ RTX PRO 6000 (~4 h). Same historical urgency profile, worse category;
145
+ pipeline defects prevent an architectural conclusion from this run.
146
  - **Format**: this repo contains the adapter (`adapter_model.safetensors`,
147
  `adapter_config.json` with `base_model_name_or_path: Cloudflare/clef-flash`).
148
 
 
174
 
175
  ## Limitations
176
 
177
+ - The legacy v4/v5 evaluations reported category/decision accuracy far
178
+ below the 322M specialists (see table); these scores do not describe
179
+ the separate, unpublished v6 checkpoint.
180
  - Urgency numbers are in-domain (PT-BR e-commerce support).
181
  - Requires the base model's custom code (`trust_remote_code`) and its
182
  joint-schema processor.