@mailwoman/neural-weights-en-us 6.5.0 → 7.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 CHANGED
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "neural-weights-en-us",
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.",
3
+ "version": "6.6.0",
4
+ "model_lineage": "v3.8.5-latam-8k (v385) — init_from v381 (the shipped 6.5.0), ONE folded change: a dedicated `overture-latam` corpus shard (CA 299,809 + MX 156,421 Overture-Addresses rows, weight 6.0) added to `country_weights` (+CA, +MX) — the FIRST genuinely-new locale coverage. 2k probe → 8k resume, LR 1.0e-5 constant. Tokenizer v0.9.0-multisplice (73,143) UNCHANGED; every lexicon UNCHANGED; architecture identical. Weights-only vs 6.5.0.",
5
+ "phase": "PROMOTED (6.6.0, shipped as npm 7.1.0) — v385: the CA/MX Overture locale add, init_from v381. The model now parses Mexican addresses (Spanish city surfaces, Privada/Calle streets) meaningfully better than shipped: MX locality +8.7 (74.0→82.7, native-order held-out board); CA neutral (US-order, already parsed — coverage-provenance, ships free). Gated on v6.0.0-shipped-baseline + the golden 2pp gate (PASS: 0 tags >2pp below shipped v381; the one nick is country −1.6, small-N 220/245, sub-threshold and stated) + the Gauntlet (PASS 33/33; identical known-xfail profile to v381). Weights-only: no lexicon, inference, or browser change from 6.5.0. BR dropped this cycle (Overture rows are country-implicit → dilute country emission −5.3pp; fix = the countryAppendFraction intl-render, tracked for v7.2).",
6
6
  "license": "AGPL-3.0-only OR LicenseRef-Commercial",
7
7
  "locale": "en-us",
8
8
  "training": {
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",
9
+ "corpus_version": "v0.13.0-latam overlay (v0.11.0-no-fragment base + a 456,230-row `overture-latam` shard: CA 299,809 + MX 156,421 Overture-Addresses rows) — the dedicated LATAM source does NOT dilute the trained EU `overture` rows",
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": "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).",
14
+ "recipe": "v3.8.5-latam-8k.yaml — init_from v381 step-8000, LR 1.0e-5 constant, 8k (2k probe → 8k resume); the ONE-at-a-time addition over 6.5.0 is the `overture-latam` CA/MX shard at weight 6.0 with +CA/+MX in country_weights.",
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
+ "Overture Maps Foundation — Addresses theme (CDLA-Permissive-2.0): the `overture-latam` CA/MX training shard (456,230 rows) NEW in 6.6.0. Attribution-only, not share-alike.",
17
18
  "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.",
18
19
  "OpenAddresses CZ — ČÚZK RÚIAN (CC-BY 4.0): tokenizer-splice training text + the oa-cz coord eval sets",
19
20
  "OpenAddresses PL — GUGiK / PRG (public, BDOT-derived): tokenizer-splice training text + the oa-pl coord eval sets",
@@ -108,7 +109,7 @@
108
109
  "intersection_a",
109
110
  "intersection_b"
110
111
  ],
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.",
112
+ "notes": "v3.8.5-latam-8k (v385), shipped as npm 7.1.0. ONE folded change over 6.5.0: a dedicated `overture-latam` shard (CA 299,809 + MX 156,421 Overture-Addresses rows, weight 6.0) with +CA/+MX in country_weights — the first genuinely-new locale coverage in the arc. THE WIN: MX locality +8.7 (74.0→82.7 on the native-order held-out board) — the model now reads 'Calle Zeverino León 749, 28809 Manzanillo' and places Manzanillo correctly instead of guessing. CA is neutral (Canadian addresses look American; v381 already parsed them — adds coverage-provenance, ships free). Golden 2pp gate PASS: 0 tags >2pp below shipped v381; the one nick is country −1.6 (220 vs 224 / 245, small-N, sub-threshold — the #1104 country channel reacting to the new CA/MX surfaces). Gauntlet PASS 33/33, identical known-xfail profile to v381 (the FR 'Rue du Chevaleret' #1101 xfail persists). Weights-only — no lexicon, inference, or browser change from 6.5.0. KNOWN OPEN: BR was dropped this cycle — Overture rows are country-implicit (0% carry a country token), so training on 666k of them dilutes country emission (−5.3pp, fails the gate); the fix is a countryAppendFraction intl-render on the Overture adapter (tracked for v7.2). CALIBRATION: the isotonic tables carry from the v5.3.0 lineage; opt-in, default output unaffected; re-fit is a tracked follow-up.",
112
113
  "format": {
113
114
  "model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
114
115
  "tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=73143 (v0.9.0-multisplice; ships WITH the model, both runtimes load it from this bundle)",
@@ -130,8 +131,9 @@
130
131
  "held_out_ece_calibrated": 0.0017,
131
132
  "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."
132
133
  },
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)",
134
+ "base_relpath": "models/quantized/model-v385-latam8k-int8.onnx under $MAILWOMAN_DATA_ROOT; training output on Modal volume mailwoman-training:/output-v384-latam-probe-s42/checkpoints/step-008000",
134
135
  "eval": {
136
+ "gate_2026_07_18_v710_camx": "v6.0.0-shipped-baseline gate + golden 2pp gate (v385 vs shipped v381, channels-on, same run): PASS. Golden: exact-match 24.2% (1105 vs 1104, +1 row), country 89.8 vs 91.4 (−1.6, small-N 220/245, sub-threshold — the only mover >0.5pp down), region 78.1 vs 78.6 (−0.5), locality/postcode/street/house_number flat. NO tag >2pp down. Native-order held-out board: MX locality 74.0→82.7 (+8.7), CA neutral. Gauntlet (eval gauntlet --candidate): regression 33/33 PASS; metamorphic INV 62/63, DIR 3/3, BAND 16/21 — identical known-xfail profile to shipped v381 (the 1 INV[comma-drop] xfail is the pre-existing FR #1101 case; US comma-drop held). No new regression. Grade: docs/articles/evals/2026-07-18-v710-camx-latam-grade.md.",
135
137
  "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
138
  "gate_2026_07_16_v640_fr_fragment": {
137
139
  "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.",
@@ -409,8 +411,8 @@
409
411
  }
410
412
  },
411
413
  "files_md5": {
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",
414
+ "$comment": "Shipped: model.onnx = int8 v385-latam8k (v3.8.5-latam-8k, init_from v381); tokenizer v0.9.0-multisplice (UNCHANGED). md5 of the graded int8 artifact.",
415
+ "model.onnx": "700f3cf4c08f31536f0bc053c281b19e",
414
416
  "tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9"
415
417
  },
416
418
  "capabilities": {
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.5.0",
3
+ "version": "7.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": {