@mailwoman/neural-weights-en-us 7.8.1 → 8.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/fst-en-us.bin +0 -0
- package/fst-street-morphology.bin +0 -0
- package/model-card.json +2 -2
- package/package.json +3 -1
- package/scripts/link-dev-weights.ts +31 -0
package/fst-en-us.bin
ADDED
|
Binary file
|
|
Binary file
|
package/model-card.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neural-weights-en-us",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.4",
|
|
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
|
-
"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.",
|
|
5
|
+
"phase": "SHIPPED (6.6.4, 2026-07-26) — bundle revision on UNCHANGED model bytes (v385, model.onnx md5 700f3cf4c08f31536f0bc053c281b19e): the per-locale FST gazetteers (fst-en-us/fr-fr/en-gb.bin) are REBUILT with build-time degenerate-surface curation (`mailwoman gazetteer build fst`, policy `degenerate-surface-exclusion v1.1` recorded in each artifact trailer) — bare function words (incl. the case-folded 'LA'/'OP' initialism aliases), bare street-type words, and all-function-word compositions are pruned from the bias index (the ASR-contextual-biasing 'curate the bias list' discipline; receipts + battery in PR #1332: FR street-particle 290→298, bare-street to P0 parity, golden us/fr byte-equal, gauntlet PASS ×3 layers; residual 3 rows are true homographs — the Option-A class). Also code-side in the same release: the pipeline pins the #1315 street-context gate at positiveScale 0 (D2, closed #1320 — FR admin-street-homonym at exact P0 parity). Prior record: 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",
|
|
7
7
|
"locale": "en-us",
|
|
8
8
|
"training": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/neural-weights-en-us",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.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": {
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
"calibration.json",
|
|
16
16
|
"calibration-per-locale.json",
|
|
17
17
|
"postcode-us.bin",
|
|
18
|
+
"fst-en-us.bin",
|
|
19
|
+
"fst-street-morphology.bin",
|
|
18
20
|
"anchor-lexicon-v1.json",
|
|
19
21
|
"country-surface-lexicon-v1.json",
|
|
20
22
|
"README.md",
|
|
@@ -203,3 +203,34 @@ 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
|
+
}
|
|
220
|
+
|
|
221
|
+
// Street-morphology FST (static-index candidate 1, 2026-07-26): symlink the sealed locale-general
|
|
222
|
+
// artifact ($MAILWOMAN_DATA_ROOT/wof/fst-street-morphology.bin, `mailwoman gazetteer build
|
|
223
|
+
// street-morphology`) so `resolveWeights` surfaces `streetMorphologyPath` in dev and the
|
|
224
|
+
// street-context gate (#1315) deserializes the artifact instead of rebuilding from dictionaries.
|
|
225
|
+
// Missing is non-fatal — the runtime loader's dictionary-build fallback covers it.
|
|
226
|
+
const MORPHOLOGY_SRC = dataRootPath("wof", "fst-street-morphology.bin")
|
|
227
|
+
const MORPHOLOGY_DEST = resolve(PKG_DIR, "fst-street-morphology.bin")
|
|
228
|
+
|
|
229
|
+
if (existsSync(MORPHOLOGY_SRC)) {
|
|
230
|
+
linkForce(MORPHOLOGY_SRC, MORPHOLOGY_DEST)
|
|
231
|
+
console.log(`linked fst-street-morphology.bin ← ${MORPHOLOGY_SRC}`)
|
|
232
|
+
} else {
|
|
233
|
+
console.error(
|
|
234
|
+
`WARNING: missing ${MORPHOLOGY_SRC} — the street-context gate falls back to the per-process dictionary build.`
|
|
235
|
+
)
|
|
236
|
+
}
|