@mailwoman/neural-weights-en-us 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/model-card.json +35 -17
- package/package.json +1 -1
- package/postcode-us.bin +0 -0
- package/scripts/link-dev-weights.ts +13 -5
package/model-card.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neural-weights-en-us",
|
|
3
|
-
"version": "6.6.
|
|
4
|
-
"staged_candidate_version": "6.7.0",
|
|
5
|
-
"$staged_candidate_version_comment": "The intended promote-time version number for the feed-8k candidate this card stages (final-review fix, 2026-07-23: controller adjudication — version numbers are assigned ON PROMOTE, not on staging, so `version` above stays at the last-shipped 6.6.0 until the operator actually promotes; bumping it early would freeze the release train on an unshipped number). Consolidation verdict update (`v3.11.1-deploc-consolidate`, same day): NOT CLEAN — the Gauntlet's comma-drop break is byte-identical 8k→10k (a stable learned behavior, not training-run churn); STOP RULE EXECUTED, the v3.11.x lineage is CLOSED for shipping. This candidate does not promote to 6.7.0 or any other number; see `phase` below and `docs/superpowers/plans/2026-07-23-v312-comma-robust-recipe.md` for the redesign path (v3.12, operator-gated) that would supersede this staged candidate entirely.",
|
|
3
|
+
"version": "6.6.2",
|
|
6
4
|
"model_lineage": "v3.11.0-deploc-feed step-8000 (\"feed-8k\") — init_from v385 (6.6.0) step-8000, same-vocab fine-tune, `--resume none`, 8k steps (2k probe → 8k resume), LR 1.0e-5 constant. ONE escalation over the probe-2 checkpoint (v3.10.1-gb-probe2): dependent_locality training mass split across FOUR locales (GB 6.1% + NZ 2.4% + ES 3.0% + FR-lieudit 1.8% of stream; combined ≈6.66%, matching probe-2's 6.6% total but at a MUCH lower max single-locale share — 20.2%→6.1% — the diversity fix for probe-2's skew costs) instead of GB alone. THREE resurrection levers, bundled (each alone is a known no-op per #456/#1100): (1) `reinit_label_rows: [B-dependent_locality, I-dependent_locality]` — mean-of-live re-init of the baked-dead classifier rows; (2) `classifier_learning_rate: 1.0e-3` — a dedicated hot Adam param group on `classifier.*` (Adam's update is scale-invariant, so only a real param group moves a baked-negative row); (3) `class_weights` B-/I-dependent_locality 0.3→1.0 (Task 4a's third suppressor: re-init + hot LR are useless under a downweight). Tokenizer v0.9.0-multisplice (73,143) UNCHANGED; every lexicon UNCHANGED; architecture identical. Weights-only vs 6.6.0.",
|
|
7
|
-
"phase": "
|
|
5
|
+
"phase": "SHIPPED (6.6.2, 2026-07-24) — bundle revision on UNCHANGED model bytes (v385, model.onnx md5 700f3cf4c08f31536f0bc053c281b19e, same files_md5 as 6.6.0): the en-gb overlay's pair-index-gb.bin is re-cut at δ=10 and @mailwoman/neural 7.7.0's auto probe chain activates GB dependent_locality on this shipped model (see neural-weights-en-gb/model-card.json 6.6.1 for the capability record). The 6.7.0 staged-candidate lineage is CLOSED: no checkpoint of v3.10–v3.13 passed the Gauntlet's metamorphic layer; five mechanisms falsified (starvation, encoder drift, save anomaly, comma-share, LR-hold/anneal); stop rule executed three times; the break is established in the first ≤1k steps of encoder+head co-training and is stable. Model-side redesign is unhurried research — the dep-loc capability no longer depends on it. Falsification record: docs/superpowers/plans/2026-07-23-deploc-redesign-dossier.md + .superpowers/sdd/task-8-report.md. 6.6.2 adds the en-nz overlay (pair-index-nz.bin, LINZ census, δ=10) + the identical-adjacent-segment (x,x) rule in @mailwoman/neural 7.8.0 — NZ dependent_locality live (246/246, 100% as-written; the repeated-name convention handled as registry evidence). Model bytes STILL v385/unchanged.",
|
|
8
6
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
9
7
|
"locale": "en-us",
|
|
10
8
|
"training": {
|
|
@@ -180,14 +178,37 @@
|
|
|
180
178
|
"result": "outside magnitude, favorable direction"
|
|
181
179
|
},
|
|
182
180
|
"dependent_locality_boards": {
|
|
183
|
-
"gb_prior_on_at_delta_5": {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
"gb_prior_on_at_delta_5": {
|
|
182
|
+
"n": 69,
|
|
183
|
+
"emit": 69,
|
|
184
|
+
"tag_correct": 67,
|
|
185
|
+
"tag_correct_pct": 97.1
|
|
186
|
+
},
|
|
187
|
+
"nz_checkpoint_only": {
|
|
188
|
+
"n": 246,
|
|
189
|
+
"emit": 0,
|
|
190
|
+
"tag_correct": 0
|
|
191
|
+
},
|
|
192
|
+
"es_checkpoint_only": {
|
|
193
|
+
"n": 65,
|
|
194
|
+
"emit": 9,
|
|
195
|
+
"tag_correct": 7,
|
|
196
|
+
"tag_correct_pct": 10.8
|
|
197
|
+
},
|
|
198
|
+
"fr_lieudit_checkpoint_only": {
|
|
199
|
+
"n": 80,
|
|
200
|
+
"emit": 2,
|
|
201
|
+
"tag_correct": 1,
|
|
202
|
+
"tag_correct_pct": 1.25
|
|
203
|
+
}
|
|
187
204
|
},
|
|
188
205
|
"dependent_locality_ablation": {
|
|
189
206
|
"$comment": "The prior — not the checkpoint's own resurrected classifier row — carries nearly all of GB's measured recall. NZ/ES/FR-lieudit have no equivalent prior and show the checkpoint's own resurrection is weak-to-absent.",
|
|
190
|
-
"v385_plus_prior_at_delta_6_rung3_control": {
|
|
207
|
+
"v385_plus_prior_at_delta_6_rung3_control": {
|
|
208
|
+
"n": 69,
|
|
209
|
+
"emit_tag_correct": "3/69",
|
|
210
|
+
"note": "weights matter"
|
|
211
|
+
},
|
|
191
212
|
"feed_checkpoint_prior_off": {
|
|
192
213
|
"n": 69,
|
|
193
214
|
"emit_tag_correct": "0/69",
|
|
@@ -207,7 +228,11 @@
|
|
|
207
228
|
"floor": "<= 122/6500 (the retired δ=6.0 working number)"
|
|
208
229
|
},
|
|
209
230
|
"demo_presets": "6/6 byte-identical (both weights worlds — en-us control path AND en-gb weights with the prior wired)",
|
|
210
|
-
"error_analysis_2pp_rule": {
|
|
231
|
+
"error_analysis_2pp_rule": {
|
|
232
|
+
"worst_mover": "street -1.5pp",
|
|
233
|
+
"no_tag_regresses_gt_2pp": true,
|
|
234
|
+
"result": "PASS"
|
|
235
|
+
},
|
|
211
236
|
"gauntlet": {
|
|
212
237
|
"regression": "PASS (33/33 gated; 1 tracked known_fail now passes and should be promoted to status=pass — fr-chat-qui-peche-street-swallows-locality)",
|
|
213
238
|
"metamorphic": "FAIL — NEW gate-failing violation: INV[comma-drop] '1600 Pennsylvania Ave NW, Washington DC 20500' -> comma-dropped form loses the rooftop resolution entirely (38.8977,-77.0365 -> 0,0). v385 HOLDS this exact case (confirmed same session). feed-2k independently FAILS the same layer with DIFFERENT violations on '350 Fifth Avenue, New York, NY' (283.5km off) — reads as a lineage-wide v3.11.0-deploc-feed robustness regression on NY/DC-class admin resolution, not a single-checkpoint fluke. Neither Task 6 nor Task 7 ran the Gauntlet; this is a NEW finding from Task 8.",
|
|
@@ -497,13 +522,6 @@
|
|
|
497
522
|
"model.onnx": "700f3cf4c08f31536f0bc053c281b19e",
|
|
498
523
|
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9"
|
|
499
524
|
},
|
|
500
|
-
"staged_candidate_files_md5": {
|
|
501
|
-
"$comment": "6.7.0's candidate artifact (feed-8k) — NOT yet the shipped identity above. int8, v3.11.0-deploc-feed step-008000, init_from v385 (6.6.0) step-8000. Tokenizer UNCHANGED from the shipped v385 tokenizer (same v0.9.0-multisplice bytes — no tokenizer change this cycle).",
|
|
502
|
-
"model.onnx": "7f75fc449d8abcaa06fb6d4a5502ced7",
|
|
503
|
-
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9",
|
|
504
|
-
"model_bytes": 39411976,
|
|
505
|
-
"source_path": "$MAILWOMAN_DATA_ROOT/models/quantized/model-v3110-deploc-feed-step-008000-int8.onnx"
|
|
506
|
-
},
|
|
507
525
|
"capabilities": {
|
|
508
526
|
"$carried_forward_comment": "NOT regenerated for 6.7.0 (Task 8 ship-prep did not re-run `mailwoman eval capability-manifest`) — these numbers are the 6.6.0/v385 measurement, carried forward as the best available reference. Flagged explicitly rather than silently reused; a fresh manifest is a tracked follow-up if 6.7.0 promotes.",
|
|
509
527
|
"server": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/neural-weights-en-us",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.8.0",
|
|
4
4
|
"description": "Mailwoman neural-classifier weights for locale 'en-us'. Data-only package — loaded by @mailwoman/neural at runtime.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
package/postcode-us.bin
CHANGED
|
Binary file
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
import { spawnSync } from "node:child_process"
|
|
43
43
|
import { createHash } from "node:crypto"
|
|
44
|
-
import { existsSync, readFileSync, symlinkSync, unlinkSync } from "node:fs"
|
|
44
|
+
import { existsSync, readFileSync, renameSync, symlinkSync, unlinkSync } from "node:fs"
|
|
45
45
|
import { resolve } from "node:path"
|
|
46
46
|
|
|
47
47
|
import { $public } from "@mailwoman/core/env"
|
|
@@ -91,13 +91,21 @@ if (!existsSync(SRC_TOKENIZER)) {
|
|
|
91
91
|
process.exit(1)
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Replicate `ln -sf SRC DEST` ATOMICALLY: symlink under a temp name, then rename over the destination. A plain
|
|
96
|
+
* unlink-then-symlink leaves a no-file window that concurrent vitest workers (weights.test.ts + every other suite
|
|
97
|
+
* resolving weights on the lab runners) can hit mid-suite — bit CI on 2026-07-24 (v1-parse-gate: "missing model files"
|
|
98
|
+
* while the materialize step had verifiably succeeded). rename(2) replaces the destination atomically.
|
|
99
|
+
*/
|
|
95
100
|
function linkForce(src: string, dest: string): void {
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
const tmp = `${dest}.tmp-link`
|
|
102
|
+
|
|
103
|
+
if (existsSync(tmp)) {
|
|
104
|
+
unlinkSync(tmp)
|
|
98
105
|
}
|
|
99
106
|
|
|
100
|
-
symlinkSync(src,
|
|
107
|
+
symlinkSync(src, tmp)
|
|
108
|
+
renameSync(tmp, dest)
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
const MODEL_DEST = resolve(PKG_DIR, "model.onnx")
|