@mailwoman/neural-weights-en-us 6.3.0 → 6.5.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 +96 -30
- package/model.onnx +0 -0
- package/package.json +1 -1
package/model-card.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neural-weights-en-us",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"model_lineage": "
|
|
5
|
-
"phase": "PROMOTED (6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
|
+
"model_lineage": "v3.8.1-punct-fix-full (v381) — init_from v310 (v3.1.0-fr-fragment, the shipped 6.4.0), TWO folded changes: (1) the synth-no-fragment shard at the all-length long-number boost (corpus/src/shard-recipes/no-fragment.ts, --long-number-boost 6 --long-number-min-digits 1) — the digit-ownership lever that teaches the street/number boundary; (2) augment_punct_drop_prob 0.3 — the delimiter-free training augmentation (#1101), an extra comma-stripped copy per row with spans re-targeted. Tokenizer v0.9.0-multisplice (73,143) UNCHANGED; every lexicon UNCHANGED; architecture identical. Weights-only vs 6.4.x.",
|
|
5
|
+
"phase": "PROMOTED (6.5.0) — v381: the digit-ownership no-fragment shard + the #1101 punct-drop augmentation, init_from v310. FIRST model to pass the full Gauntlet clean (regression + metamorphic + held-out): shipped 6.4.0 FAILS the metamorphic INV[comma-drop] on '1600 Pennsylvania Ave NW Washington DC' (absorbs the locality into the street, loses the rooftop, falls to admin ~2km); v381 fixes it. Gated on v6.0.0-shipped-baseline (PASS, 0 tags >2pp below shipped, +2.3pp us.country_homograph) + the Gauntlet (PASS — clear to ship). Weights-only: no lexicon, inference, or browser change from 6.4.x.",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
7
7
|
"locale": "en-us",
|
|
8
8
|
"training": {
|
|
9
|
-
"corpus_version": "
|
|
9
|
+
"corpus_version": "v0.11.0-no-fragment overlay (v0.10.9-fr-fragment base + the synth-no-fragment shard at all-length long-number boost 6) + augment_punct_drop_prob 0.3",
|
|
10
10
|
"tokenizer_version": "0.9.0-multisplice",
|
|
11
11
|
"steps": 8000,
|
|
12
12
|
"best_step": 8000,
|
|
13
13
|
"hardware": "NVIDIA A100-SXM4-40GB (Modal cloud)",
|
|
14
|
-
"recipe": "
|
|
14
|
+
"recipe": "v3.8.1-punct-fix-full.yaml — init_from v310 step-8000, LR 1.0e-5 constant, 8k, warmup 500; the ONE-at-a-time additions over 6.4.0 are the no-fragment digit-ownership shard and augment_punct_drop_prob 0.3 (#1101).",
|
|
15
15
|
"tokenizer_splice": "tokenizer_splice.py build-tokenizer --locales fr --per-file-cap 2000000 over OA fr/countrywide.csv (seed 42, 350k-line corpus, unigram vocab 24000) -> splice 2406 non-ASCII FR pieces into v0.7.1-nsplice (English byte-identity asserted). UNCHANGED from v240 (md5 04995524). The v241 delta over v240 is that the new embedding rows now receive GRADIENT via the init_from fine-tune, not just FVT mean-init.",
|
|
16
16
|
"data_attribution": [
|
|
17
|
+
"BAN — Base Adresse Nationale (DINUM / IGN, Licence Ouverte 2.0): the `synth-fr-fragment` training shard (144,865 rows) NEW in 6.4.0, and the FR fragment eval board. Street surfaces are disjoint between the two.",
|
|
17
18
|
"OpenAddresses CZ — ČÚZK RÚIAN (CC-BY 4.0): tokenizer-splice training text + the oa-cz coord eval sets",
|
|
18
19
|
"OpenAddresses PL — GUGiK / PRG (public, BDOT-derived): tokenizer-splice training text + the oa-pl coord eval sets",
|
|
19
20
|
"OpenAddresses SK — MINV/ZBGIS (CC-0/CC-BY per OA source): oa-sk coord eval set (free-rider validation)",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"max_position_embeddings": 128,
|
|
30
31
|
"vocab_size": 73143,
|
|
31
32
|
"num_labels": 33,
|
|
32
|
-
"params": "~29M (6-layer/384-hidden encoder + 73,143-piece multisplice embedding; init_from
|
|
33
|
+
"params": "~29M (6-layer/384-hidden encoder + 73,143-piece multisplice embedding; init_from v264, 8k fine-tune w/ a non-exported span-boundary aux head)",
|
|
33
34
|
"crf_at_training": false,
|
|
34
35
|
"crf_at_inference": true,
|
|
35
36
|
"phrase_priors": true
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
"intersection_a",
|
|
108
109
|
"intersection_b"
|
|
109
110
|
],
|
|
110
|
-
"notes": "
|
|
111
|
+
"notes": "v3.8.1-punct-fix-full (v381), shipped as 6.5.0. TWO folded improvements over 6.4.0, both init_from v310: (1) the synth-no-fragment digit-ownership shard (all-length long-number boost) — teaches the street/number boundary so bare 'Street 178' reads house_number, not postcode (NO board 3 bare-street-hn 0.693->0.733); (2) the #1101 punct-drop augmentation — a comma-free copy per row so the model segments street from locality without the comma. WHAT #1101 FIXES: a comma-free address like '1600 Pennsylvania Ave NW Washington DC' absorbed 'Washington' into the street, lost the rooftop, and fell to the admin centroid (~2km); v381 parses it identically to the comma form. This is the FIRST model to pass the full Gauntlet clean — shipped 6.4.0 fails the same metamorphic comma-drop invariant. Golden gate PASS, 0 tags >2pp below shipped, +2.3pp us.country_homograph. Weights-only — no lexicon, inference, or browser change from 6.4.x. KNOWN OPEN: the FR comma-free 'Rue du Chevaleret Paris' is NOT fixed — it is the no-anchor bare-terminal-locality case (a locality as the last token with no trailing state/postcode to anchor it, genuinely ambiguous vs a street continuation); it needs a locality name-index (#30) or a targeted no-anchor augmentation, tracked separately. CALIBRATION: the isotonic tables carry from the v5.3.0 lineage; opt-in, default output unaffected; re-fit is a tracked follow-up.",
|
|
111
112
|
"format": {
|
|
112
113
|
"model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
|
|
113
114
|
"tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=73143 (v0.9.0-multisplice; ships WITH the model, both runtimes load it from this bundle)",
|
|
@@ -129,8 +130,73 @@
|
|
|
129
130
|
"held_out_ece_calibrated": 0.0017,
|
|
130
131
|
"note": "RE-FIT on v5.3.0 (2026-07-04): calibration.json + calibration-per-locale.json are now fitted on THIS model's confidence distribution (35,600 spans over the 8k held-out set), not carried from v4.x. The from-scratch model was under-confident (meanConf 0.913 vs acc 0.980, gap -0.067); the fit corrects held-out OA ECE 0.0698→0.0017 (overall 0.0677→0.0028, per-locale NL 0.166→0.000 / DE 0.114→0.003). Reproduce: collect-span-confidences.ts → fit-isotonic-calibration.py --model-version 5.3.0. Apply via @mailwoman/core/decoder's createCalibrator; default parse output is byte-stable when omitted."
|
|
131
132
|
},
|
|
132
|
-
"base_relpath": "
|
|
133
|
+
"base_relpath": "models/quantized/model-v381-step-8000-int8.onnx under $MAILWOMAN_DATA_ROOT; training output on Modal volume mailwoman-training:/output-v381-punct-fix-full-s42 (run ap-7XHnsfHoP0eP8K6MpYOMIm)",
|
|
133
134
|
"eval": {
|
|
135
|
+
"gate_2026_07_17_v650_punct_digit": "v6.0.0-shipped-baseline gate: PASS, 0 tags >2pp below shipped v310, +2.3pp us.country_homograph_f1 (only >2pp mover). Gauntlet: PASS — clear to ship (regression 33/33; metamorphic INV[comma-drop] 9/10 held — the US '1600 Pennsylvania Ave NW Washington DC' comma-free rooftop RESTORED, the FR 'Rue du Chevaleret' remains the tracked #1101 xfail; held-out FR/BAN n=300 not significantly worse). Digit ownership (NO board 3): bare-street-hn 0.693->0.733 (+4pp), bare-pc guard held 1.000. Grade: package-shaped --weights-cache (#718), int8 candidate vs int8 shipped, on 2026-07-17.",
|
|
136
|
+
"gate_2026_07_16_v640_fr_fragment": {
|
|
137
|
+
"promotion_gate": "v6.0.0-shipped-baseline gate: PASS 18/18, no revision, no relaxation. This spec was cut from the SHIPPED v264's own readings BEFORE v310 was graded, with per-metric noise margins (floor = shipped − max(1.0pp, 2 × the 95% binomial half-width)); it tightened 15 of 18 floors over the retired v5.3.0-family spec. The FR fragment board's targets and guards were pre-registered in the v3.1.0-fr-fragment config header and in baselines.json (profile fragment-fr-v264), registered against the shipped model before the run. 2pp pre-publish bar: clear on every tag. No trade was measured and none is claimed.",
|
|
138
|
+
"gate_docs": [
|
|
139
|
+
"docs/articles/evals/2026-07-16-t2-fr-fragment-verdict.md (the read)",
|
|
140
|
+
"docs/articles/evals/2026-07-16-t1c-fragment-board-verdict.md (the diagnosis this fix confirms)",
|
|
141
|
+
"docs/articles/evals/2026-07-16-span-head-closed.md (the pre-registered follow-up: the span head does NOT compose with this shard)"
|
|
142
|
+
],
|
|
143
|
+
"fr_fragment_board": {
|
|
144
|
+
"$note": "Board 2 — BAN-sampled, 2800 fixtures, street surfaces disjoint from the training shard. Wilson 95% CIs. No target's interval overlaps its baseline.",
|
|
145
|
+
"bare_street": {
|
|
146
|
+
"v264": 0.215,
|
|
147
|
+
"v310": 0.715,
|
|
148
|
+
"ci95_v310": [0.669, 0.757]
|
|
149
|
+
},
|
|
150
|
+
"street_particle": {
|
|
151
|
+
"v264": 0.273,
|
|
152
|
+
"v310": 0.855,
|
|
153
|
+
"ci95_v310": [0.817, 0.886]
|
|
154
|
+
},
|
|
155
|
+
"admin_street_homonym": {
|
|
156
|
+
"v264": 0.087,
|
|
157
|
+
"v310": 0.517,
|
|
158
|
+
"ci95_v310": [0.469, 0.566]
|
|
159
|
+
},
|
|
160
|
+
"date_name": {
|
|
161
|
+
"v264": 0.055,
|
|
162
|
+
"v310": 0.158,
|
|
163
|
+
"ci95_v310": [0.125, 0.196]
|
|
164
|
+
},
|
|
165
|
+
"street_housenumber_guard": {
|
|
166
|
+
"v264": 0.925,
|
|
167
|
+
"v310": 0.948
|
|
168
|
+
},
|
|
169
|
+
"alnum_housenumber_guard": {
|
|
170
|
+
"v264": 0.925,
|
|
171
|
+
"v310": 0.96
|
|
172
|
+
},
|
|
173
|
+
"bare_locality_counter_guard": {
|
|
174
|
+
"v264": 0.98,
|
|
175
|
+
"v310": 0.98,
|
|
176
|
+
"$note": "PRE-REGISTERED as the cell that might collapse by design. It held exactly, same interval — the model learned the distinction, not a new default."
|
|
177
|
+
},
|
|
178
|
+
"overall": {
|
|
179
|
+
"v264": 0.494,
|
|
180
|
+
"v310": 0.733
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"global_parity_floor": {
|
|
184
|
+
"$note": "Board 1 — the guard. The FAIL verdicts eval parity prints on street/house_number are the v7 CAMPAIGN floors (0.90 / 0.97); shipped v264 fails them too. They are a target, not a regression gate.",
|
|
185
|
+
"street": {
|
|
186
|
+
"v264": "154/267 = 0.577",
|
|
187
|
+
"v310": "162/267 = 0.6067"
|
|
188
|
+
},
|
|
189
|
+
"house_number": {
|
|
190
|
+
"v264": "117/146 = 0.8014",
|
|
191
|
+
"v310": "117/146 = 0.8014"
|
|
192
|
+
},
|
|
193
|
+
"postcode": {
|
|
194
|
+
"v264": "71/72 = 0.9861",
|
|
195
|
+
"v310": "71/72 = 0.9861"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"known_open_not_addressed": "Digit ownership — which tag owns a digit-bearing token (house_number vs postcode vs route number). Untouched by this shard and explicitly out of its scope. Parity PRECISION (new in this cycle — the half no floor could previously see, since every floor did `if (!goldValues?.length) continue`) reads postcode 25/249 = 0.100, street 12/54 = 0.222, house_number 6/175 = 0.034 emitted where the gold has none. v310 moves this by −1 row. Tracked as its own workstream; whether these become formal floors is an open operator decision."
|
|
199
|
+
},
|
|
134
200
|
"gate_2026_07_04_v530_full_family": {
|
|
135
201
|
"promotion_gate": "v5.3.0-family gate (clone of v5.2.0-nordic + the fr.postcode 99.3→99.2 revision): PASS with the three operator-approved trades stated above. The promote decision ran on the 2026-07-03 RE-GATE of the archived candidate under the #942-floored stack — fresh dumps BOTH arms, same stack (the #942-D1 stack-drift lesson): 6/6 ni legs PASS; the SI wrong-city re-gate bar (≤+2pp) failed at +2.7pp and was adjudicated at the fork, not silently absorbed. Original 100k battery: 15/17 floors (the two above), mask-regression PASS, zero NaN.",
|
|
136
202
|
"gate_docs": [
|
|
@@ -343,40 +409,40 @@
|
|
|
343
409
|
}
|
|
344
410
|
},
|
|
345
411
|
"files_md5": {
|
|
346
|
-
"$comment": "Shipped: model.onnx = int8
|
|
347
|
-
"model.onnx": "
|
|
412
|
+
"$comment": "Shipped: model.onnx = int8 v381-punct-fix-full step-8000; tokenizer v0.9.0-multisplice (UNCHANGED from 6.4.0). md5 of the graded int8 artifact.",
|
|
413
|
+
"model.onnx": "2025ac6e593c780a5dd0f8d104202e4b",
|
|
348
414
|
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9"
|
|
349
415
|
},
|
|
350
416
|
"capabilities": {
|
|
351
417
|
"server": {
|
|
352
418
|
"us": {
|
|
353
419
|
"street_prefix": {
|
|
354
|
-
"maskOffF1": 0.
|
|
420
|
+
"maskOffF1": 0.8
|
|
355
421
|
},
|
|
356
422
|
"street": {
|
|
357
|
-
"maskOffF1":
|
|
423
|
+
"maskOffF1": 25.6
|
|
358
424
|
},
|
|
359
425
|
"street_suffix": {
|
|
360
426
|
"maskOffF1": 0.3,
|
|
361
427
|
"maskOnF1": 0.3
|
|
362
428
|
},
|
|
363
429
|
"house_number": {
|
|
364
|
-
"maskOffF1": 94
|
|
430
|
+
"maskOffF1": 94
|
|
365
431
|
},
|
|
366
432
|
"locality": {
|
|
367
|
-
"maskOffF1": 79
|
|
433
|
+
"maskOffF1": 79.5
|
|
368
434
|
},
|
|
369
435
|
"region": {
|
|
370
|
-
"maskOffF1": 90.
|
|
436
|
+
"maskOffF1": 90.3
|
|
371
437
|
},
|
|
372
438
|
"postcode": {
|
|
373
|
-
"maskOffF1": 96.
|
|
439
|
+
"maskOffF1": 96.5
|
|
374
440
|
},
|
|
375
441
|
"country": {
|
|
376
|
-
"maskOffF1":
|
|
442
|
+
"maskOffF1": 66.8
|
|
377
443
|
},
|
|
378
444
|
"unit": {
|
|
379
|
-
"maskOffF1": 5.
|
|
445
|
+
"maskOffF1": 5.2
|
|
380
446
|
},
|
|
381
447
|
"intersection_a": {
|
|
382
448
|
"maskOffF1": 100
|
|
@@ -385,10 +451,10 @@
|
|
|
385
451
|
"maskOffF1": 100
|
|
386
452
|
},
|
|
387
453
|
"po_box": {
|
|
388
|
-
"maskOffF1":
|
|
454
|
+
"maskOffF1": 65.5
|
|
389
455
|
},
|
|
390
456
|
"venue": {
|
|
391
|
-
"maskOffF1": 93.
|
|
457
|
+
"maskOffF1": 93.2
|
|
392
458
|
},
|
|
393
459
|
"dependent_locality": {
|
|
394
460
|
"maskOffF1": 0
|
|
@@ -415,44 +481,44 @@
|
|
|
415
481
|
"pocket": {
|
|
416
482
|
"us": {
|
|
417
483
|
"street_prefix": {
|
|
418
|
-
"maskOffF1": 0.
|
|
484
|
+
"maskOffF1": 0.8
|
|
419
485
|
},
|
|
420
486
|
"street": {
|
|
421
|
-
"maskOffF1":
|
|
487
|
+
"maskOffF1": 24.3
|
|
422
488
|
},
|
|
423
489
|
"street_suffix": {
|
|
424
490
|
"maskOffF1": 0.3,
|
|
425
491
|
"maskOnF1": 0.3
|
|
426
492
|
},
|
|
427
493
|
"house_number": {
|
|
428
|
-
"maskOffF1":
|
|
494
|
+
"maskOffF1": 86.5
|
|
429
495
|
},
|
|
430
496
|
"locality": {
|
|
431
|
-
"maskOffF1":
|
|
497
|
+
"maskOffF1": 60.3
|
|
432
498
|
},
|
|
433
499
|
"region": {
|
|
434
|
-
"maskOffF1": 73.
|
|
500
|
+
"maskOffF1": 73.6
|
|
435
501
|
},
|
|
436
502
|
"postcode": {
|
|
437
|
-
"maskOffF1":
|
|
503
|
+
"maskOffF1": 90.8
|
|
438
504
|
},
|
|
439
505
|
"country": {
|
|
440
506
|
"maskOffF1": 0
|
|
441
507
|
},
|
|
442
508
|
"unit": {
|
|
443
|
-
"maskOffF1": 5
|
|
509
|
+
"maskOffF1": 5
|
|
444
510
|
},
|
|
445
511
|
"intersection_a": {
|
|
446
|
-
"maskOffF1":
|
|
512
|
+
"maskOffF1": 66.7
|
|
447
513
|
},
|
|
448
514
|
"intersection_b": {
|
|
449
515
|
"maskOffF1": 40
|
|
450
516
|
},
|
|
451
517
|
"po_box": {
|
|
452
|
-
"maskOffF1":
|
|
518
|
+
"maskOffF1": 63.2
|
|
453
519
|
},
|
|
454
520
|
"venue": {
|
|
455
|
-
"maskOffF1":
|
|
521
|
+
"maskOffF1": 89.9
|
|
456
522
|
},
|
|
457
523
|
"dependent_locality": {
|
|
458
524
|
"maskOffF1": 0
|
package/model.onnx
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/neural-weights-en-us",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.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": {
|