@mailwoman/neural-weights-en-us 7.8.0 → 8.0.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/fst-en-us.bin ADDED
Binary file
package/model-card.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neural-weights-en-us",
3
- "version": "6.6.2",
3
+ "version": "6.6.3",
4
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.",
5
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.",
6
6
  "license": "AGPL-3.0-only OR LicenseRef-Commercial",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailwoman/neural-weights-en-us",
3
- "version": "7.8.0",
3
+ "version": "8.0.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": {
@@ -15,6 +15,7 @@
15
15
  "calibration.json",
16
16
  "calibration-per-locale.json",
17
17
  "postcode-us.bin",
18
+ "fst-en-us.bin",
18
19
  "anchor-lexicon-v1.json",
19
20
  "country-surface-lexicon-v1.json",
20
21
  "README.md",
@@ -203,3 +203,17 @@ if (existsSync(POSTCODE_BIN_DEST)) {
203
203
  }
204
204
  console.log(`built ${POSTCODE_BIN_DEST}`)
205
205
  }
206
+
207
+ // Per-locale FST gazetteer (FST-distribution arc, 2026-07-25): symlink the shared build artifact
208
+ // ($MAILWOMAN_DATA_ROOT/wof/fst-per-locale/) into the package so `resolveWeights` surfaces `fstPath`
209
+ // in dev and the runtime pipeline can auto-wire the gazetteer + street-context gate. The publish
210
+ // flow stages the real binary (release-sequenced).
211
+ const FST_SRC = dataRootPath("wof", "fst-per-locale", "fst-en-us.bin")
212
+ const FST_DEST = resolve(PKG_DIR, "fst-en-us.bin")
213
+
214
+ if (existsSync(FST_SRC)) {
215
+ linkForce(FST_SRC, FST_DEST)
216
+ console.log(`linked fst-en-us.bin ← ${FST_SRC}`)
217
+ } else {
218
+ console.error(`WARNING: missing ${FST_SRC} — the FST gazetteer default will resolve OFF for this locale.`)
219
+ }