@mailwoman/neural-weights-en-us 5.8.0 → 5.10.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 CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "neural-weights-en-us",
3
- "version": "5.4.0",
4
- "model_lineage": "v2.3.0-nl-postcode — init_from FINE-TUNE of v5.3.0 (v2.2.0-full-family) step-100000 + synth-nl-postcode@6.0, the four leading-name-boundary family shards pinned @12.0 (fr-bare-street/si-village/no-street-led/cz-pcfirst). LR 1e-5, warmup 1000, 5000 steps (~0.7 A100-h fine-tune vs a 3.6h from-scratch — the DeepSeek-signed recipe: the 'any fine-tune tips the #901 family' lore is surgery-lineage-specific, and v5.3.0 is from-scratch so it took the pinned fine-tune WITHOUT tipping the sentinels). THE FIX (#924): the model read the digits-first Dutch postcode '1012 LG' as house_number(1012)+street(LG), pulling the locality into the US situs tier ('1012 LG Amsterdam' -> Amsterdam, NY). Now parses postcode '1012 LG' natively (NL failing-shapes 27->29/31; postcode-tag F1 1.000). Gains beyond NL: US inverse-risk (4-digit house# NOT misread as postcode) 9->10/10 — the fine-tune even fixed a pre-existing leak; FR bare-street chevaleret PARSE fixed (locality=Paris, street='Rue du Chevaleret' vs v5.3.0's fragmentation) — the chevaleret metamorphic gauntlet rows reclassified #829 (resolver case-norm exposed by the better parse, not a regression). GATE: 17/17 per-tag floors PASS (us.postcode 96.2, homograph 85.1, micro 86.8, street 82.1, fr.postcode 99.3), fr.bare_street_intact 85% (#949 leg), mask-regression PASS, arena 79, gauntlet PASS (5 #901 sentinels HELD). macro_f1 0.7613->0.7558 (noise). CARRIED int8-homograph exception: int8<->fp32 delta 2.4 vs the 1.5 cap (fp32 passes every floor; int8 homograph 85.1 clears its 83.3 floor) — the same per-artifact exception v5.3.0 shipped with; cap unchanged for the next candidate. CALIBRATION: v5.3.0's isotonic tables carried (opt-in; the fine-tune's confidence shift is small; re-fit is a follow-up). PRIOR LINEAGE: v2.2.0-full-family / step 100000 — the FIRST ground-up from-scratch train on the spliced vocab (v0.8-era schedule: lr 1.5e-4, warmup 1000, batch 128; corpus v0.10.0 = 698 shards incl. the four-orthography leading-name-boundary family @6.0: fr-bare-street #831 / si-bare-village / no-street-led / cz-pcfirst-preposition; tokenizer v0.7.1-nsplice UNCHANGED — model-only bump). Archived NO-PROMOTE 2026-07-03 under the pre-#942 calculus (SI sentinels model-level fail); PROMOTED 2026-07-04 after the same-stack re-gate under the #942 floor (operator fork on #901). THE HEADLINE: fixes #949 — the shipped v5.2.0 pair fragmented FR streets bare AND anchored (16/40, 13/40 on the standing 40-row harness; 'Allée'→'e' at the é piece boundary; ungated because no fr.street floor existed) — v2.2.0 reads 34/40 bare / 37/40 anchored. Re-gate: US-2k ni PASS (p50 3.27 IDENTICAL), FR-3k ni PASS deconfounded (1.30km both), CZ wrong-city 13.7→6.6%, SK 13.3→6.6%, PL 7.1→6.2%; SE +4.6pp resolve (90.2→94.8), Åbo 0.12km vs 859km. TRADES (operator-approved, stated): SI wrong-city 8.7→11.4% (+2.7pp) / resolve −1.5pp — the composition-insensitive no-street class, floored model-independently by postalCompoundRecovery (#942 default-ON: candidate+floor recovered ALL 55 composition-lost rows, SI 92.2→100% resolve on the insurance leg); fr.postcode 99.2 (floor revised 99.3→99.2, scripts/eval/gates/v5.3.0-family.json, stated reason); int8 homograph quantization delta 2.4 vs the 1.5 cap (fp32 passes every floor; int8 homograph 85.1 clears its 83.3 floor) — per-artifact exception, cap unchanged. PRIOR LINEAGE (the v5.2.0 base this replaces): v5.1.0 bsplice-expanded (UNCHANGED encoder — see below) + the #912-lever-4 NORDIC vocab-splice with FVT mean-init embeddings (the same training-free #884 mechanism, second application): +5,331 Nordic diacritic pieces from OA fi/se/no/dk/is STREET/CITY text + the gazetteer ALIAS names (the exonym feed — 'Åbo' is Swedish for Turku and appears in no native OA text; without alias mass the piece is never minted and the decode drop survives, measured as the 134km v1 residual). Tokenizer v0.7.1-nsplice = v0.6.0-bsplice + the Nordic pieces; English tokenization byte-identical; US resolution byte-identical 2000/2000. Gate: 14/14 per-locale ni PASS (incl. the five #900-accepted acute-vowel overlap locales CZ/ES/PL/SI/SK), SE resolve 83.8→90.2% (p90res 113→12.7km), NO 92.7→98.1%, DK 91.4→95.2%, Åbo→Turku 0.12km. PRIOR LINEAGE: v1.9.3a3-anchor-absorption encoder (UNCHANGED, step 80000 — see the v4.15.0 lineage below) + the #884 UNIGRAM vocab-splice with FVT mean-init embeddings — the training-free CZ/PL/SK/SI diacritic fix. The 48k SentencePiece vocab carried the diacritic CHARACTERS but no multi-char subwords containing them, so every diacritic isolated its own piece (Vysoká → [▁V, ys, ok, á], ~3.3× English fertility) and the fragmented span resolved to the WRONG CITY. A shard retrain (v196) was falsified (held US, regressed CZ wrong-city 44→58% at convergence). The fix: train a CZ/PL SP unigram, splice ONLY its diacritic-bearing pieces into the vocab (48,000 → 58,582; a diacritic piece can never match an ASCII span, so English tokenizes byte-identically BY CONSTRUCTION — asserted 0/2000), and FVT mean-init the 10,582 new embedding rows from their old-tokenizer constituents. The encoder is byte-for-byte v1.9.3a3; a 2k fine-tune was ablated and retired as slightly harmful. Slovak + Slovenian ride the same pieces for free (shared codepoints + morphology). PRIOR LINEAGE: v1.9.3a3-anchor-absorption / step 80000 — the #220/#723 postcode-anchor-pollution fix on top of v1.9.2-multilocale-au (shipped v4.14.0). Pre-seeded from the v1.9.2 step-040000 checkpoint, continued to 80k on A100. TWO coordinated levers: (1) anchor_paint_mode=shaped — the postcode anchor is painted at TRAIN time on the same postcode-SHAPED spans inference fires on (neural/postcode-anchor.ts collectMatches), closing the #723 WHERE gap (training only ever saw the anchor on GOLD postcode spans, so the model never learned to OVERRIDE a present anchor when a leading 5-digit token is a house number that looks like a ZIP); (2) the synth-anchor-absorption counter-shard (source-weight 6.0) carrying the locality discriminator — leading-5-digit + trailing-postcode → house_number, + locality → house_number, + NO locality + state → postcode (the VT E911 format). RESULT: SLICE-H anchor-ON 20→100 (the #723 leading-5-digit house# bug fixed) at ZERO coordinate cost, confirmed by the non-circular oa-resolver-eval (2000 real OA-US points, full ship-config, v192 vs v1.9.3a3): whole-US locality-match 97.7→97.8 (+0.1), region 99.9 flat, coord p50 3.4 flat, p90 10.7 flat, p99 275.3→259.1; VT — the E911 leading-postcode state where the entire trade lives — FLAT at the coordinate (loc 92.6=92.6), SD +1.0. Trades us.postcode LABEL-F1 −2 (95.0) + fr.postcode −0.2 (99.3), both coordinate-invisible; gate revised (scripts/eval/gates/v4.15.0-boundary.json) with a stated reason, operator-approved. mask-regression gate (#718) PASS; int8↔fp32 delta 0. Ship-config (requires) UNCHANGED from v1.9.2.",
5
- "phase": "v5.4.0 / v2.3.0-nl-postcode — the #924 NL digits-first postcode fix as a pinned init_from fine-tune; sentinels held, US inverse-risk + FR chevaleret parse improved",
3
+ "version": "5.9.0",
4
+ "model_lineage": "v2.4.1-fr-nsplice-ft — the PRINCIPLED FR-diacritic fix (#444): an init_from FINE-TUNE that gives the merged FR diacritic pieces GRADIENT STEPS, the retrain the #1047 falsification specified. #1047 proved the TRAINING-FREE vocab-splice (the v240 mean-init candidate) net-REGRESSES FR streets (mangle 23.5%->26.4%): FVT mean-init of a merged FR piece — E(▸René) = mean(E[▸Ren], E[é]) — inherits é's strong, well-trained O-signal (the en-US line trained FROM SCRATCH on v0.7.1 with abundant FR é->O), so the whole ▸René token tags O and the word drops entirely. Mean-init alone can't teach the merged pieces; that needs training. THE RECIPE = v2.3.0-nl-postcode-full (shipped v5.4.0 lineage / v230) VERBATIM, four deltas: (1) tokenizer_dir -> v0.8.0-fr-nsplice (v0.7.1's 63913 + 2406 FR diacritic pieces; md5 04995524, #900 gate PASS, US byte-identical by construction); (2) init_from -> /data/models/fr-nsplice-expanded = the v230 (v5.4.0) step-005000 checkpoint's token_embeddings FVT mean-init-expanded 63913->66319 (mean_init_fr_nsplice, the pytorch-checkpoint twin of the onnx-mean-init that produced the staged v240 candidate — same FVT math, so the init IS numerically the v240 mean-init candidate as a trainable checkpoint); (3) SCHEDULE -> the vocab-splice fine-tune schedule (v1.9.7/v1.9.8/v1.9.9/v2.1.0 idiom): constant lr 5.0e-5, warmup 200, 12000 steps, eval/save every 2000 (5x v230's same-vocab 1e-5 so the new FR rows MOVE off the inherited O-signal); (4) fresh v241 output dir. Corpus (v0.10.1-nl-postcode, 699 shards, raw-text RE-TOKENIZED through the spliced tokenizer at load so the FR pieces fire and get gradient), all source/country weights, model config (crf_loss_weight 0.0; conventions loss-mask OFF), anchor/gaz knobs, class_weights, seed 42, batch 128, bf16 — v230-VERBATIM. The spliced vocab + its gradient steps are the only variable. Final step 12000: train_loss 0.647, val_loss 0.868, val_macro_f1 0.7579, zero NaN. A100-SXM4-40GB, ~31 min. PRIOR LINEAGE (v230 / shipped v5.4.0 and back): v2.3.0-nl-postcode — init_from FINE-TUNE of v5.3.0 (v2.2.0-full-family) step-100000 + synth-nl-postcode@6.0, the four leading-name-boundary family shards pinned @12.0 (fr-bare-street/si-village/no-street-led/cz-pcfirst). LR 1e-5, warmup 1000, 5000 steps (~0.7 A100-h fine-tune vs a 3.6h from-scratch — the DeepSeek-signed recipe: the 'any fine-tune tips the #901 family' lore is surgery-lineage-specific, and v5.3.0 is from-scratch so it took the pinned fine-tune WITHOUT tipping the sentinels). THE FIX (#924): the model read the digits-first Dutch postcode '1012 LG' as house_number(1012)+street(LG), pulling the locality into the US situs tier ('1012 LG Amsterdam' -> Amsterdam, NY). Now parses postcode '1012 LG' natively (NL failing-shapes 27->29/31; postcode-tag F1 1.000). Gains beyond NL: US inverse-risk (4-digit house# NOT misread as postcode) 9->10/10 — the fine-tune even fixed a pre-existing leak; FR bare-street chevaleret PARSE fixed (locality=Paris, street='Rue du Chevaleret' vs v5.3.0's fragmentation) — the chevaleret metamorphic gauntlet rows reclassified #829 (resolver case-norm exposed by the better parse, not a regression). GATE: 17/17 per-tag floors PASS (us.postcode 96.2, homograph 85.1, micro 86.8, street 82.1, fr.postcode 99.3), fr.bare_street_intact 85% (#949 leg), mask-regression PASS, arena 79, gauntlet PASS (5 #901 sentinels HELD). macro_f1 0.7613->0.7558 (noise). CARRIED int8-homograph exception: int8<->fp32 delta 2.4 vs the 1.5 cap (fp32 passes every floor; int8 homograph 85.1 clears its 83.3 floor) — the same per-artifact exception v5.3.0 shipped with; cap unchanged for the next candidate. CALIBRATION: v5.3.0's isotonic tables carried (opt-in; the fine-tune's confidence shift is small; re-fit is a follow-up). PRIOR LINEAGE: v2.2.0-full-family / step 100000 — the FIRST ground-up from-scratch train on the spliced vocab (v0.8-era schedule: lr 1.5e-4, warmup 1000, batch 128; corpus v0.10.0 = 698 shards incl. the four-orthography leading-name-boundary family @6.0: fr-bare-street #831 / si-bare-village / no-street-led / cz-pcfirst-preposition; tokenizer v0.7.1-nsplice UNCHANGED — model-only bump). Archived NO-PROMOTE 2026-07-03 under the pre-#942 calculus (SI sentinels model-level fail); PROMOTED 2026-07-04 after the same-stack re-gate under the #942 floor (operator fork on #901). THE HEADLINE: fixes #949 — the shipped v5.2.0 pair fragmented FR streets bare AND anchored (16/40, 13/40 on the standing 40-row harness; 'Allée'→'e' at the é piece boundary; ungated because no fr.street floor existed) — v2.2.0 reads 34/40 bare / 37/40 anchored. Re-gate: US-2k ni PASS (p50 3.27 IDENTICAL), FR-3k ni PASS deconfounded (1.30km both), CZ wrong-city 13.7→6.6%, SK 13.3→6.6%, PL 7.1→6.2%; SE +4.6pp resolve (90.2→94.8), Åbo 0.12km vs 859km. TRADES (operator-approved, stated): SI wrong-city 8.7→11.4% (+2.7pp) / resolve −1.5pp — the composition-insensitive no-street class, floored model-independently by postalCompoundRecovery (#942 default-ON: candidate+floor recovered ALL 55 composition-lost rows, SI 92.2→100% resolve on the insurance leg); fr.postcode 99.2 (floor revised 99.3→99.2, scripts/eval/gates/v5.3.0-family.json, stated reason); int8 homograph quantization delta 2.4 vs the 1.5 cap (fp32 passes every floor; int8 homograph 85.1 clears its 83.3 floor) — per-artifact exception, cap unchanged. PRIOR LINEAGE (the v5.2.0 base this replaces): v5.1.0 bsplice-expanded (UNCHANGED encoder — see below) + the #912-lever-4 NORDIC vocab-splice with FVT mean-init embeddings (the same training-free #884 mechanism, second application): +5,331 Nordic diacritic pieces from OA fi/se/no/dk/is STREET/CITY text + the gazetteer ALIAS names (the exonym feed — 'Åbo' is Swedish for Turku and appears in no native OA text; without alias mass the piece is never minted and the decode drop survives, measured as the 134km v1 residual). Tokenizer v0.7.1-nsplice = v0.6.0-bsplice + the Nordic pieces; English tokenization byte-identical; US resolution byte-identical 2000/2000. Gate: 14/14 per-locale ni PASS (incl. the five #900-accepted acute-vowel overlap locales CZ/ES/PL/SI/SK), SE resolve 83.8→90.2% (p90res 113→12.7km), NO 92.7→98.1%, DK 91.4→95.2%, Åbo→Turku 0.12km. PRIOR LINEAGE: v1.9.3a3-anchor-absorption encoder (UNCHANGED, step 80000 — see the v4.15.0 lineage below) + the #884 UNIGRAM vocab-splice with FVT mean-init embeddings — the training-free CZ/PL/SK/SI diacritic fix. The 48k SentencePiece vocab carried the diacritic CHARACTERS but no multi-char subwords containing them, so every diacritic isolated its own piece (Vysoká → [▁V, ys, ok, á], ~3.3× English fertility) and the fragmented span resolved to the WRONG CITY. A shard retrain (v196) was falsified (held US, regressed CZ wrong-city 44→58% at convergence). The fix: train a CZ/PL SP unigram, splice ONLY its diacritic-bearing pieces into the vocab (48,000 → 58,582; a diacritic piece can never match an ASCII span, so English tokenizes byte-identically BY CONSTRUCTION — asserted 0/2000), and FVT mean-init the 10,582 new embedding rows from their old-tokenizer constituents. The encoder is byte-for-byte v1.9.3a3; a 2k fine-tune was ablated and retired as slightly harmful. Slovak + Slovenian ride the same pieces for free (shared codepoints + morphology). PRIOR LINEAGE: v1.9.3a3-anchor-absorption / step 80000 — the #220/#723 postcode-anchor-pollution fix on top of v1.9.2-multilocale-au (shipped v4.14.0). Pre-seeded from the v1.9.2 step-040000 checkpoint, continued to 80k on A100. TWO coordinated levers: (1) anchor_paint_mode=shaped — the postcode anchor is painted at TRAIN time on the same postcode-SHAPED spans inference fires on (neural/postcode-anchor.ts collectMatches), closing the #723 WHERE gap (training only ever saw the anchor on GOLD postcode spans, so the model never learned to OVERRIDE a present anchor when a leading 5-digit token is a house number that looks like a ZIP); (2) the synth-anchor-absorption counter-shard (source-weight 6.0) carrying the locality discriminator — leading-5-digit + trailing-postcode → house_number, + locality → house_number, + NO locality + state → postcode (the VT E911 format). RESULT: SLICE-H anchor-ON 20→100 (the #723 leading-5-digit house# bug fixed) at ZERO coordinate cost, confirmed by the non-circular oa-resolver-eval (2000 real OA-US points, full ship-config, v192 vs v1.9.3a3): whole-US locality-match 97.7→97.8 (+0.1), region 99.9 flat, coord p50 3.4 flat, p90 10.7 flat, p99 275.3→259.1; VT — the E911 leading-postcode state where the entire trade lives — FLAT at the coordinate (loc 92.6=92.6), SD +1.0. Trades us.postcode LABEL-F1 −2 (95.0) + fr.postcode −0.2 (99.3), both coordinate-invisible; gate revised (scripts/eval/gates/v4.15.0-boundary.json) with a stated reason, operator-approved. mask-regression gate (#718) PASS; int8↔fp32 delta 0. Ship-config (requires) UNCHANGED from v1.9.2.",
5
+ "phase": "CANDIDATE (gate pending; operator decides promotion) — #444 FR diacritic vocab-splice init_from FINE-TUNE (run v2.4.1-fr-nsplice-ft-s42, checkpoint step-012000). Trained on the v0.8.0-fr-nsplice tokenizer (v0.7.1-nsplice + 2406 FR diacritic pieces), init_from the v240 mean-init-expanded checkpoint (v230 step-005000 embeddings FVT mean-init-expanded to 66319 rows). The merged FR pieces now receive gradient instead of inheriting é's O-signal. US byte-identical tokenizer (by construction); non-FR locales share only the 0.596% é/ê/ô-neighbor pieces.",
6
6
  "license": "AGPL-3.0-only OR LicenseRef-Commercial",
7
7
  "locale": "en-us",
8
8
  "training": {
9
- "corpus_version": "corpus-v0.10.0-boundary-family = 698 shards; the v0.9.4 base (v0.9.3a3 + synth-fr-bare-street) + the #901 family: synth-si-bare-village, synth-no-street-led, synth-cz-pcfirst-preposition — all real-tuple synthetic, 3 orders, balanced polarity, source-weight 6.0",
10
- "tokenizer_version": "0.7.1-nsplice",
11
- "steps": 100000,
12
- "best_step": 100000,
9
+ "corpus_version": "corpus-v0.10.1-nl-postcode = 699 shards; the v0.10.0 boundary-family base + synth-nl-postcode (#924). Raw text + char-offset spans RE-TOKENIZED through v0.8.0-fr-nsplice at load.",
10
+ "tokenizer_version": "0.8.0-fr-nsplice",
11
+ "steps": 12000,
12
+ "best_step": 12000,
13
13
  "hardware": "NVIDIA A100-SXM4-40GB (Modal cloud)",
14
- "recipe": "v2.2.0-full-family: FROM SCRATCH (no resume, no init_from — the probe ladder falsified every fine-tune vehicle on the mean-init surgery base, #901). v0.8-era schedule: lr 1.5e-4 constant, warmup 1000, batch 128, bf16, seed 42, 100k steps (~3.6 A100-h, loss 0.646, val macro_f1 0.7613, zero NaN). anchor_paint_mode=shaped + gazetteer choreography carried; conventions loss-mask OFF; CE-only. Config corpus-python/src/mailwoman_train/configs/v2.2.0-full-family.yaml.",
15
- "tokenizer_splice": "corpus-python/src/mailwoman_train/tokenizer_splice.py (build-tokenizer + mean-init): CZ/PL SP unigram trained on OpenAddresses CZ (countrywide, ČÚZK/RÚIAN) + PL (voivodeship dumps, GUGiK) address text; only non-ASCII-bearing pieces appended (English-safety assertion enforced). Embedding rows FVT mean-init from old-tokenizer constituent pieces; NO gradient steps (the 2k fine-tune ablation was retired).",
14
+ "recipe": "v2.4.1-fr-nsplice-ft: init_from FINE-TUNE (fresh optimizer over the mean-init-expanded checkpoint; --resume auto on a fresh output_dir resolves to no checkpoint -> honors init_from, model weights only). init_from /data/models/fr-nsplice-expanded. Constant lr 5.0e-5, warmup 200, batch 128, bf16, seed 42, 12000 steps (~31 min A100, loss 0.647, val macro_f1 0.7579, zero NaN). anchor_paint_mode=shaped + gazetteer choreography carried; conventions loss-mask OFF; CE-only (crf_loss_weight 0.0). Config corpus-python/src/mailwoman_train/configs/v2.4.1-fr-nsplice-ft.yaml (PR #1048).",
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",
18
18
  "OpenAddresses PL — GUGiK / PRG (public, BDOT-derived): tokenizer-splice training text + the oa-pl 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": 58582,
30
+ "vocab_size": 66319,
31
31
  "num_labels": 33,
32
- "params": "33.9M from scratch (6-layer/384-hidden encoder + the 58,582-piece nsplice embedding — same architecture as the v1.9.x line, fresh weights)",
32
+ "params": "33.9M (6-layer/384-hidden encoder + the 66319-piece nsplice embedding; init_from the v230-lineage encoder, fine-tuned 12k steps on the v0.8.0-fr-nsplice vocab)",
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": "v5.3.0 / v2.2.0-full-family — MODEL-ONLY bump (tokenizer v0.7.1-nsplice byte-identical to v5.2.0's). The promote's reason for existing: #949 — v5.2.0 shipped a severe ungated FR street fragmentation (bare 16/40, anchored 13/40; no fr.street floor in the gate, golden-dev FR is postcode-anchored canonical, so nothing caught it). v2.2.0 fixes it (34/40 bare, 37/40 anchored) and banks CZ 13.7→6.6% / SK 13.3→6.6% / PL 7.1→6.2% wrong-city, SE +4.6pp resolve, Åbo 0.12km vs 859km. Every ni leg holds (US p50 identical 3.27; FR deconfounded identical 1.30). THE STATED TRADES: (1) SI no-street short-forms — wrong-city +2.7pp / resolve −1.5pp; this is the training-composition-INSENSITIVE class (#901: 5 vehicles incl. from-scratch all tip it; the shipped lineage's hold was a basin artifact) and it is floored model-independently by postalCompoundRecovery (#942 default-ON — candidate+floor recovered all 55 composition-lost rows); (2) fr.postcode 99.2 vs the old 99.3 zero-margin floor — revised with a stated reason (gate v5.3.0-family.json); (3) int8 homograph quantization delta 2.4 vs the 1.5 cap — fp32 passes all floors, int8 homograph 85.1 clears 83.3; per-artifact exception. CALIBRATION CAVEAT: calibration.json/calibration-per-locale.json are carried forward but were fitted on the v1.x lineage — a from-scratch model's confidence distribution differs; re-fit is the standing recommendation and applies with force here (calibration is opt-in; default output unaffected). Ship-config (requires) UNCHANGED. Evidence: gate-v193/RESULTS.md (pre-registrations + verdicts), gate-v220-regate/ dumps, v220-battery.log, #901/#949.",
107
+ "notes": "v2.4.1-fr-nsplice-ft — the RETRAIN the #1047 falsification specified. v240 (training-free mean-init) net-regressed FR streets because the merged FR pieces inherited é's O-signal with no gradient to move them; this fine-tune supplies the gradient. GATE (operator, no auto-promote): mangle rate < 23.5% baseline (scripts/eval/fr-accent-mangle-rate.ts); Honoré + René repros flip to HIT (René = v240's new break, must NOT regress); gauntlet held-out FR + US z-tests via --candidate AND --candidate-tokenizer v0.8.0-fr-nsplice (a model-only swap leaves the new rows dormant, the splice invisible); non-FR byte-stability. Architecture/labels/requires identical to v230/v240 (vocab 66319, 33 labels). CALIBRATION: v5.3.0 isotonic tables carried but fitted on a different lineage; opt-in, default output unaffected; re-fit is a follow-up if promoted. Evidence: this gate run (#444 comment), #1047 (falsification), #1048 (config/launch).",
108
108
  "format": {
109
- "model": "ONNX int8 dynamic (quantized from fp32, max fp32↔int8 delta 0.3pp)",
110
- "tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=58582 (v0.6.0-bsplice — the #884 diacritic splice; ships WITH the model, both runtimes load it from this bundle)",
109
+ "model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
110
+ "tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=66319 (v0.8.0-fr-nsplice = v0.7.1-nsplice + 2406 FR diacritic pieces; ships WITH the model, both runtimes load it from this bundle)",
111
111
  "max_sequence_length": 128,
112
112
  "opset": 17,
113
- "fp32_size_mb": 136.3,
114
- "int8_size_mb": 34.2
113
+ "fp32_size_mb": 146.6,
114
+ "int8_size_mb": 36.8
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/v220-full-family (fp32 + int8; training output on Modal volume)",
129
+ "base_relpath": "/mnt/playpen/mailwoman-data/models/candidates/v241-fr-nsplice-ft (fp32 + int8; training output on Modal volume mailwoman-training:/output-v241-fr-nsplice-ft-s42)",
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,9 +340,9 @@
340
340
  }
341
341
  },
342
342
  "files_md5": {
343
- "$comment": "Source artifact md5s (int8 model-v230-nl-postcode-int8.onnx [v5.4.0, the #924 fine-tune] + tokenizer v0.7.1-nsplice, unchanged from v5.2.0). The PUBLISHED files are re-verified against these at release Step 4.",
344
- "model.onnx": "ea785a70c4e80c0a3ba3c7ec796b3395",
345
- "tokenizer.model": "8e1cab7c501af834fbfcd6c4b8d78cad"
343
+ "$comment": "Shipped artifacts: model.onnx IS the int8 (v241-fr-nsplice-ft step-12000); tokenizer v0.8.0-fr-nsplice.",
344
+ "model.onnx": "121162e6c19b6367c77d53050b336244",
345
+ "tokenizer.model": "04995524cceb4d2bf689e77338f80de2"
346
346
  },
347
347
  "capabilities": {
348
348
  "server": {
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": "5.8.0",
3
+ "version": "5.10.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