@mailwoman/neural-weights-en-us 6.0.0 → 6.1.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 +45 -45
- package/model.onnx +0 -0
- package/package.json +1 -1
- package/postcode-us.bin +0 -0
- package/tokenizer.model +0 -0
package/model-card.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neural-weights-en-us",
|
|
3
|
-
"version": "
|
|
4
|
-
"model_lineage": "v2.
|
|
5
|
-
"phase": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
|
+
"model_lineage": "v2.6.1-span-boundary-full — init_from v2.5.7-fragment-v5-gentle-full (v257) + the STAGE3 span-boundary aux head (BCE weight 0.5), 8k steps, gentle schedule (lr 1e-5, warmup 500). Tokenizer v0.9.0-multisplice (73,143). The aux head trains boundary placement and is DISCARDED at export — the shipped ONNX is the plain BIO tagger whose ENCODER absorbed the boundary pressure. Gates: US region→street flips 5→2 vs v257, parity postcode 0.9861 PASS, parity street 0.5281 (+13pp vs v241), gauntlet regression+metamorphic PASS (Dublin pin held). Golden country recall 82.0% vs shipped 88.6% is a DOCUMENTED gate exception (#1104): the −6.6pp is entirely on non-postal WOF-admin hierarchy rows (220/224 golden country-gold rows); on real-postal addresses country recall+precision are IDENTICAL to shipped (falsifier, DeepSeek session 019f5f2c). The country-lexicon atlas channel is the permanent fix, in progress.",
|
|
5
|
+
"phase": "PROMOTED (6.1.0) — v261 span-boundary head (#727 stage-1): init_from the stable v257 (fragment campaign) + a training-only span-boundary aux head that shrinks the region→street boundary-absorption class. Inference-invariant (aux head off the logits path, not exported).",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
7
7
|
"locale": "en-us",
|
|
8
8
|
"training": {
|
|
9
|
-
"corpus_version": "
|
|
10
|
-
"tokenizer_version": "0.
|
|
11
|
-
"steps":
|
|
12
|
-
"best_step":
|
|
9
|
+
"corpus_version": "v257 fragment-campaign corpus (shard-v5) re-tokenized through v0.9.0-multisplice; span-boundary aux head from BIO labels.",
|
|
10
|
+
"tokenizer_version": "0.9.0-multisplice",
|
|
11
|
+
"steps": 8000,
|
|
12
|
+
"best_step": 8000,
|
|
13
13
|
"hardware": "NVIDIA A100-SXM4-40GB (Modal cloud)",
|
|
14
|
-
"recipe": "v2.
|
|
14
|
+
"recipe": "v2.6.1-span-boundary-full: init_from FINE-TUNE off v257 step-008000, use_span_boundary_head=true (0.5), lr 1e-5, warmup 500, 8k on A100.",
|
|
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
17
|
"OpenAddresses CZ — ČÚZK RÚIAN (CC-BY 4.0): tokenizer-splice training text + the oa-cz coord eval sets",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"num_attention_heads": 6,
|
|
28
28
|
"intermediate_size": 1536,
|
|
29
29
|
"max_position_embeddings": 128,
|
|
30
|
-
"vocab_size":
|
|
30
|
+
"vocab_size": 73143,
|
|
31
31
|
"num_labels": 33,
|
|
32
|
-
"params": "
|
|
32
|
+
"params": "~29M (6-layer/384-hidden encoder + 73,143-piece multisplice embedding; init_from v257, 8k fine-tune w/ a non-exported span-boundary aux head)",
|
|
33
33
|
"crf_at_training": false,
|
|
34
34
|
"crf_at_inference": true,
|
|
35
35
|
"phrase_priors": true
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"intersection_a",
|
|
105
105
|
"intersection_b"
|
|
106
106
|
],
|
|
107
|
-
"notes": "v2.
|
|
107
|
+
"notes": "v2.6.1-span-boundary-full (v261, #727 stage-1), shipped as 6.1.0. init_from the stable v257 fragment-campaign checkpoint + a training-only STAGE3 span-boundary aux head (BCE 0.5) that shrinks region→street boundary absorption; the aux head is DISCARDED at export, so the shipped int8 is the plain 33-label BIO tagger whose encoder absorbed the pressure. Tokenizer v0.9.0-multisplice (73,143). Gates: parity street 0.5281 (+13pp vs v241), US region→street flips 5→2 (census /600), postcode 0.9861 PASS, gauntlet regression+metamorphic PASS. The golden country recall −6.6pp (88.6→82.0) is a DOCUMENTED cosmetic gate exception (#1104): 220/224 golden country-gold rows are non-postal WOF-admin hierarchy strings; on the real-postal subset country recall AND precision are IDENTICAL to shipped (falsifier, DeepSeek session 019f5f2c). The permanent fix is the country-lexicon atlas soft-feed channel (feat/country-lexicon-channel), in progress. Full write-up: docs/articles/evals/2026-07-14-v261-promote-country-gate-exception.md. CALIBRATION: the carried isotonic tables were fitted on the v5.3.0 lineage; opt-in, default output unaffected; a re-fit against v261's confidence distribution is a tracked follow-up.",
|
|
108
108
|
"format": {
|
|
109
109
|
"model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
|
|
110
|
-
"tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=
|
|
110
|
+
"tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=73143 (v0.9.0-multisplice; ships WITH the model, both runtimes load it from this bundle)",
|
|
111
111
|
"max_sequence_length": 128,
|
|
112
112
|
"opset": 17,
|
|
113
113
|
"fp32_size_mb": 146.6,
|
|
114
|
-
"int8_size_mb":
|
|
114
|
+
"int8_size_mb": 37.6
|
|
115
115
|
},
|
|
116
116
|
"files": {
|
|
117
117
|
"model": "model.onnx",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"held_out_ece_calibrated": 0.0017,
|
|
127
127
|
"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."
|
|
128
128
|
},
|
|
129
|
-
"base_relpath": "/mnt/playpen/mailwoman-data/models/candidates/
|
|
129
|
+
"base_relpath": "/mnt/playpen/mailwoman-data/models/candidates/v261 (int8 = models/quantized/model-v261-span-boundary-full-step-008000-int8.onnx; training output on Modal volume mailwoman-training:/output-v261-span-boundary-full)",
|
|
130
130
|
"eval": {
|
|
131
131
|
"gate_2026_07_04_v530_full_family": {
|
|
132
132
|
"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.",
|
|
@@ -340,52 +340,52 @@
|
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
"files_md5": {
|
|
343
|
-
"$comment": "Shipped
|
|
344
|
-
"model.onnx": "
|
|
345
|
-
"tokenizer.model": "
|
|
343
|
+
"$comment": "Shipped: model.onnx = int8 v261-span-boundary-full step-8000; tokenizer v0.9.0-multisplice.",
|
|
344
|
+
"model.onnx": "de59c0a7888efe315a3e22608d8b37fd",
|
|
345
|
+
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9"
|
|
346
346
|
},
|
|
347
347
|
"capabilities": {
|
|
348
348
|
"server": {
|
|
349
349
|
"us": {
|
|
350
350
|
"street_prefix": {
|
|
351
|
-
"maskOffF1":
|
|
351
|
+
"maskOffF1": 0.9
|
|
352
352
|
},
|
|
353
353
|
"street": {
|
|
354
|
-
"maskOffF1": 24
|
|
354
|
+
"maskOffF1": 24.2
|
|
355
355
|
},
|
|
356
356
|
"street_suffix": {
|
|
357
357
|
"maskOffF1": 0.3,
|
|
358
358
|
"maskOnF1": 0.3
|
|
359
359
|
},
|
|
360
360
|
"house_number": {
|
|
361
|
-
"maskOffF1":
|
|
361
|
+
"maskOffF1": 94.5
|
|
362
362
|
},
|
|
363
363
|
"locality": {
|
|
364
|
-
"maskOffF1":
|
|
364
|
+
"maskOffF1": 79.2
|
|
365
365
|
},
|
|
366
366
|
"region": {
|
|
367
|
-
"maskOffF1":
|
|
367
|
+
"maskOffF1": 90.8
|
|
368
368
|
},
|
|
369
369
|
"postcode": {
|
|
370
|
-
"maskOffF1":
|
|
370
|
+
"maskOffF1": 96.9
|
|
371
371
|
},
|
|
372
372
|
"country": {
|
|
373
|
-
"maskOffF1":
|
|
373
|
+
"maskOffF1": 60.9
|
|
374
374
|
},
|
|
375
375
|
"unit": {
|
|
376
|
-
"maskOffF1":
|
|
376
|
+
"maskOffF1": 5.2
|
|
377
377
|
},
|
|
378
378
|
"intersection_a": {
|
|
379
|
-
"maskOffF1":
|
|
379
|
+
"maskOffF1": 100
|
|
380
380
|
},
|
|
381
381
|
"intersection_b": {
|
|
382
|
-
"maskOffF1":
|
|
382
|
+
"maskOffF1": 100
|
|
383
383
|
},
|
|
384
384
|
"po_box": {
|
|
385
|
-
"maskOffF1":
|
|
385
|
+
"maskOffF1": 63.2
|
|
386
386
|
},
|
|
387
387
|
"venue": {
|
|
388
|
-
"maskOffF1":
|
|
388
|
+
"maskOffF1": 93.4
|
|
389
389
|
},
|
|
390
390
|
"dependent_locality": {
|
|
391
391
|
"maskOffF1": 0
|
|
@@ -393,10 +393,10 @@
|
|
|
393
393
|
},
|
|
394
394
|
"fr": {
|
|
395
395
|
"street_prefix": {
|
|
396
|
-
"maskOffF1":
|
|
396
|
+
"maskOffF1": 100
|
|
397
397
|
},
|
|
398
398
|
"street": {
|
|
399
|
-
"maskOffF1":
|
|
399
|
+
"maskOffF1": 90.9
|
|
400
400
|
},
|
|
401
401
|
"house_number": {
|
|
402
402
|
"maskOffF1": 100
|
|
@@ -412,44 +412,44 @@
|
|
|
412
412
|
"pocket": {
|
|
413
413
|
"us": {
|
|
414
414
|
"street_prefix": {
|
|
415
|
-
"maskOffF1":
|
|
415
|
+
"maskOffF1": 0.9
|
|
416
416
|
},
|
|
417
417
|
"street": {
|
|
418
|
-
"maskOffF1": 23.
|
|
418
|
+
"maskOffF1": 23.4
|
|
419
419
|
},
|
|
420
420
|
"street_suffix": {
|
|
421
421
|
"maskOffF1": 0.3,
|
|
422
422
|
"maskOnF1": 0.3
|
|
423
423
|
},
|
|
424
424
|
"house_number": {
|
|
425
|
-
"maskOffF1":
|
|
425
|
+
"maskOffF1": 87.9
|
|
426
426
|
},
|
|
427
427
|
"locality": {
|
|
428
|
-
"maskOffF1": 59.
|
|
428
|
+
"maskOffF1": 59.7
|
|
429
429
|
},
|
|
430
430
|
"region": {
|
|
431
|
-
"maskOffF1":
|
|
431
|
+
"maskOffF1": 74.6
|
|
432
432
|
},
|
|
433
433
|
"postcode": {
|
|
434
|
-
"maskOffF1":
|
|
434
|
+
"maskOffF1": 92.3
|
|
435
435
|
},
|
|
436
436
|
"country": {
|
|
437
437
|
"maskOffF1": 0
|
|
438
438
|
},
|
|
439
439
|
"unit": {
|
|
440
|
-
"maskOffF1":
|
|
440
|
+
"maskOffF1": 5.2
|
|
441
441
|
},
|
|
442
442
|
"intersection_a": {
|
|
443
|
-
"maskOffF1":
|
|
443
|
+
"maskOffF1": 50
|
|
444
444
|
},
|
|
445
445
|
"intersection_b": {
|
|
446
|
-
"maskOffF1":
|
|
446
|
+
"maskOffF1": 40
|
|
447
447
|
},
|
|
448
448
|
"po_box": {
|
|
449
|
-
"maskOffF1":
|
|
449
|
+
"maskOffF1": 62.1
|
|
450
450
|
},
|
|
451
451
|
"venue": {
|
|
452
|
-
"maskOffF1": 90.
|
|
452
|
+
"maskOffF1": 90.7
|
|
453
453
|
},
|
|
454
454
|
"dependent_locality": {
|
|
455
455
|
"maskOffF1": 0
|
|
@@ -457,10 +457,10 @@
|
|
|
457
457
|
},
|
|
458
458
|
"fr": {
|
|
459
459
|
"street_prefix": {
|
|
460
|
-
"maskOffF1":
|
|
460
|
+
"maskOffF1": 100
|
|
461
461
|
},
|
|
462
462
|
"street": {
|
|
463
|
-
"maskOffF1":
|
|
463
|
+
"maskOffF1": 90.9
|
|
464
464
|
},
|
|
465
465
|
"house_number": {
|
|
466
466
|
"maskOffF1": 100
|
|
@@ -473,6 +473,6 @@
|
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
|
-
"$comment": "Per-tier (server=anchor+gazetteer; pocket=anchor-only) × address-system × tag capability manifest (#718/#719). maskOffF1 = measured per-tag exact-match F1 with the conventions mask OFF; maskOnF1 = the same with mask ON (recorded only for tags some codex forbiddenTags row suppresses — the loader's delta-gate consults only those). createScorer FAILS CLOSED when a conventions row forbids a tag with maskOffF1 − maskOnF1 > 0.05 (the mask provably destroys a real capability). Generated by
|
|
476
|
+
"$comment": "Per-tier (server=anchor+gazetteer; pocket=anchor-only) × address-system × tag capability manifest (#718/#719). maskOffF1 = measured per-tag exact-match F1 with the conventions mask OFF; maskOnF1 = the same with mask ON (recorded only for tags some codex forbiddenTags row suppresses — the loader's delta-gate consults only those). createScorer FAILS CLOSED when a conventions row forbids a tag with maskOffF1 − maskOnF1 > 0.05 (the mask provably destroys a real capability). Generated by `mailwoman eval capability-manifest` against the v1.5.0 int8."
|
|
477
477
|
}
|
|
478
478
|
}
|
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.1.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
|
package/tokenizer.model
CHANGED
|
Binary file
|