@mailwoman/neural-weights-en-us 6.0.0 → 6.2.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/country-surface-lexicon-v1.json +326 -0
- package/model-card.json +50 -47
- package/model.onnx +0 -0
- package/package.json +2 -1
- package/postcode-us.bin +0 -0
- package/tokenizer.model +0 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"generated_by": "codex/tools/build-country-surface-lexicon.ts (source: @mailwoman/codex COUNTRY_SURFACE_FORMS + ISO2_TO_NAME)",
|
|
4
|
+
"feature_dim": 2,
|
|
5
|
+
"slots": ["country_surface", "country_ambiguous"],
|
|
6
|
+
"bits": {
|
|
7
|
+
"country_surface": 1,
|
|
8
|
+
"country_ambiguous": 2
|
|
9
|
+
},
|
|
10
|
+
"max_ngram": 7,
|
|
11
|
+
"rules": {
|
|
12
|
+
"word_norm": "per whitespace-word: strip leading/trailing chars that are not Unicode letters/digits (keep internal: 'timor-leste', 'u.s.a'); rejoin single-spaced. Applied to BOTH entry keys and scanned tokens.",
|
|
13
|
+
"entries": "case-insensitive; key = word_norm lowercased. country_surface always set; country_ambiguous set for single-token homographs (US region) or curated common-word names.",
|
|
14
|
+
"code_entries": "case-SENSITIVE exact: word_norm(token) == key (keys uppercase; 'in' the word ≠ 'IN' India). n-gram length 1. country_ambiguous set when the code is also a US-state abbreviation.",
|
|
15
|
+
"scan": "longest-first n-gram over whitespace words, left to right, non-overlapping (shared with the gazetteer matcher)",
|
|
16
|
+
"feature": "emitted per-piece row = [country_surface, country_ambiguous] (the raw bits); confidence = 1.0 where country_surface fires."
|
|
17
|
+
},
|
|
18
|
+
"entries": {
|
|
19
|
+
"afghanistan": 1,
|
|
20
|
+
"åland islands": 1,
|
|
21
|
+
"albania": 1,
|
|
22
|
+
"algeria": 1,
|
|
23
|
+
"america": 3,
|
|
24
|
+
"american samoa": 1,
|
|
25
|
+
"andorra": 1,
|
|
26
|
+
"angola": 1,
|
|
27
|
+
"anguilla": 1,
|
|
28
|
+
"antarctica": 1,
|
|
29
|
+
"antigua and barbuda": 1,
|
|
30
|
+
"argentina": 1,
|
|
31
|
+
"armenia": 1,
|
|
32
|
+
"aruba": 1,
|
|
33
|
+
"australia": 1,
|
|
34
|
+
"austria": 1,
|
|
35
|
+
"azerbaijan": 1,
|
|
36
|
+
"bahamas": 1,
|
|
37
|
+
"bahrain": 1,
|
|
38
|
+
"bangladesh": 1,
|
|
39
|
+
"barbados": 1,
|
|
40
|
+
"belarus": 1,
|
|
41
|
+
"belgië": 1,
|
|
42
|
+
"belgique": 1,
|
|
43
|
+
"belgium": 1,
|
|
44
|
+
"belize": 1,
|
|
45
|
+
"benin": 1,
|
|
46
|
+
"bermuda": 1,
|
|
47
|
+
"bhutan": 1,
|
|
48
|
+
"bolivia": 1,
|
|
49
|
+
"bonaire sint eustatius and saba": 1,
|
|
50
|
+
"bosnia and herzegovina": 1,
|
|
51
|
+
"botswana": 1,
|
|
52
|
+
"bouvet island": 1,
|
|
53
|
+
"brazil": 1,
|
|
54
|
+
"britain": 3,
|
|
55
|
+
"british indian ocean territory": 1,
|
|
56
|
+
"brunei darussalam": 1,
|
|
57
|
+
"bulgaria": 1,
|
|
58
|
+
"burkina faso": 1,
|
|
59
|
+
"burundi": 1,
|
|
60
|
+
"cambodia": 1,
|
|
61
|
+
"cameroon": 1,
|
|
62
|
+
"canada": 1,
|
|
63
|
+
"cape verde": 1,
|
|
64
|
+
"cayman islands": 1,
|
|
65
|
+
"central african republic": 1,
|
|
66
|
+
"chad": 3,
|
|
67
|
+
"chile": 1,
|
|
68
|
+
"china": 1,
|
|
69
|
+
"christmas island": 1,
|
|
70
|
+
"cocos keeling islands": 1,
|
|
71
|
+
"colombia": 1,
|
|
72
|
+
"comoros": 1,
|
|
73
|
+
"congo": 1,
|
|
74
|
+
"congo the democratic republic of the": 1,
|
|
75
|
+
"cook islands": 1,
|
|
76
|
+
"costa rica": 1,
|
|
77
|
+
"cote divoire": 1,
|
|
78
|
+
"croatia": 1,
|
|
79
|
+
"cuba": 1,
|
|
80
|
+
"curaçao": 1,
|
|
81
|
+
"cyprus": 1,
|
|
82
|
+
"czech republic": 1,
|
|
83
|
+
"denmark": 1,
|
|
84
|
+
"deutschland": 1,
|
|
85
|
+
"djibouti": 1,
|
|
86
|
+
"dominica": 1,
|
|
87
|
+
"dominican republic": 1,
|
|
88
|
+
"ecuador": 1,
|
|
89
|
+
"egypt": 1,
|
|
90
|
+
"éire": 1,
|
|
91
|
+
"el salvador": 1,
|
|
92
|
+
"england": 3,
|
|
93
|
+
"equatorial guinea": 1,
|
|
94
|
+
"eritrea": 1,
|
|
95
|
+
"espana": 1,
|
|
96
|
+
"españa": 1,
|
|
97
|
+
"estonia": 1,
|
|
98
|
+
"ethiopia": 1,
|
|
99
|
+
"falkland islands malvinas": 1,
|
|
100
|
+
"faroe islands": 1,
|
|
101
|
+
"federal republic of germany": 1,
|
|
102
|
+
"fiji": 1,
|
|
103
|
+
"finland": 1,
|
|
104
|
+
"france": 1,
|
|
105
|
+
"french guiana": 1,
|
|
106
|
+
"french polynesia": 1,
|
|
107
|
+
"french republic": 1,
|
|
108
|
+
"french southern territories": 1,
|
|
109
|
+
"gabon": 1,
|
|
110
|
+
"gambia": 1,
|
|
111
|
+
"georgia": 3,
|
|
112
|
+
"germany": 1,
|
|
113
|
+
"ghana": 1,
|
|
114
|
+
"gibraltar": 1,
|
|
115
|
+
"great britain": 1,
|
|
116
|
+
"greece": 1,
|
|
117
|
+
"greenland": 1,
|
|
118
|
+
"grenada": 1,
|
|
119
|
+
"guadeloupe": 1,
|
|
120
|
+
"guam": 3,
|
|
121
|
+
"guatemala": 1,
|
|
122
|
+
"guernsey": 1,
|
|
123
|
+
"guinea": 3,
|
|
124
|
+
"guinea-bissau": 1,
|
|
125
|
+
"guyana": 1,
|
|
126
|
+
"haiti": 1,
|
|
127
|
+
"heard island and mcdonald islands": 1,
|
|
128
|
+
"holland": 1,
|
|
129
|
+
"holy see vatican city state": 1,
|
|
130
|
+
"honduras": 1,
|
|
131
|
+
"hong kong": 1,
|
|
132
|
+
"hungary": 1,
|
|
133
|
+
"iceland": 1,
|
|
134
|
+
"india": 1,
|
|
135
|
+
"indonesia": 1,
|
|
136
|
+
"iran islamic republic of": 1,
|
|
137
|
+
"iraq": 1,
|
|
138
|
+
"ireland": 1,
|
|
139
|
+
"isle of man": 1,
|
|
140
|
+
"israel": 1,
|
|
141
|
+
"italia": 1,
|
|
142
|
+
"italy": 1,
|
|
143
|
+
"jamaica": 1,
|
|
144
|
+
"japan": 1,
|
|
145
|
+
"jersey": 3,
|
|
146
|
+
"jordan": 3,
|
|
147
|
+
"kazakhstan": 1,
|
|
148
|
+
"kenya": 1,
|
|
149
|
+
"kiribati": 1,
|
|
150
|
+
"korea democratic people's republic of": 1,
|
|
151
|
+
"korea republic of": 1,
|
|
152
|
+
"kuwait": 1,
|
|
153
|
+
"kyrgyzstan": 1,
|
|
154
|
+
"lao people's democratic republic": 1,
|
|
155
|
+
"latvia": 1,
|
|
156
|
+
"lebanon": 1,
|
|
157
|
+
"lesotho": 1,
|
|
158
|
+
"liberia": 1,
|
|
159
|
+
"libya": 1,
|
|
160
|
+
"liechtenstein": 1,
|
|
161
|
+
"lithuania": 1,
|
|
162
|
+
"luxembourg": 1,
|
|
163
|
+
"macao": 1,
|
|
164
|
+
"macedonia the former yugoslav republic of": 1,
|
|
165
|
+
"madagascar": 1,
|
|
166
|
+
"malawi": 1,
|
|
167
|
+
"malaysia": 1,
|
|
168
|
+
"maldives": 1,
|
|
169
|
+
"mali": 1,
|
|
170
|
+
"malta": 1,
|
|
171
|
+
"marshall islands": 1,
|
|
172
|
+
"martinique": 1,
|
|
173
|
+
"mauritania": 1,
|
|
174
|
+
"mauritius": 1,
|
|
175
|
+
"mayotte": 1,
|
|
176
|
+
"mexico": 1,
|
|
177
|
+
"méxico": 1,
|
|
178
|
+
"micronesia federated states of": 1,
|
|
179
|
+
"moldova republic of": 1,
|
|
180
|
+
"monaco": 1,
|
|
181
|
+
"mongolia": 1,
|
|
182
|
+
"montenegro": 1,
|
|
183
|
+
"montserrat": 1,
|
|
184
|
+
"morocco": 1,
|
|
185
|
+
"mozambique": 1,
|
|
186
|
+
"myanmar": 1,
|
|
187
|
+
"namibia": 1,
|
|
188
|
+
"nauru": 1,
|
|
189
|
+
"nederland": 1,
|
|
190
|
+
"nepal": 1,
|
|
191
|
+
"netherlands": 1,
|
|
192
|
+
"new caledonia": 1,
|
|
193
|
+
"new zealand": 1,
|
|
194
|
+
"nicaragua": 1,
|
|
195
|
+
"niger": 1,
|
|
196
|
+
"nigeria": 1,
|
|
197
|
+
"nippon": 1,
|
|
198
|
+
"niue": 1,
|
|
199
|
+
"norfolk island": 1,
|
|
200
|
+
"northern mariana islands": 1,
|
|
201
|
+
"norway": 1,
|
|
202
|
+
"oman": 1,
|
|
203
|
+
"osterreich": 1,
|
|
204
|
+
"österreich": 1,
|
|
205
|
+
"pakistan": 1,
|
|
206
|
+
"palau": 1,
|
|
207
|
+
"palestine state of": 1,
|
|
208
|
+
"panama": 1,
|
|
209
|
+
"papua new guinea": 1,
|
|
210
|
+
"paraguay": 1,
|
|
211
|
+
"peru": 1,
|
|
212
|
+
"philippines": 1,
|
|
213
|
+
"pitcairn": 1,
|
|
214
|
+
"poland": 1,
|
|
215
|
+
"portugal": 1,
|
|
216
|
+
"puerto rico": 1,
|
|
217
|
+
"qatar": 1,
|
|
218
|
+
"reunion": 1,
|
|
219
|
+
"romania": 1,
|
|
220
|
+
"russian federation": 1,
|
|
221
|
+
"rwanda": 1,
|
|
222
|
+
"saint barthélemy": 1,
|
|
223
|
+
"saint helena ascension and tristan da cunha": 1,
|
|
224
|
+
"saint kitts and nevis": 1,
|
|
225
|
+
"saint lucia": 1,
|
|
226
|
+
"saint martin french part": 1,
|
|
227
|
+
"saint pierre and miquelon": 1,
|
|
228
|
+
"saint vincent and the grenadines": 1,
|
|
229
|
+
"samoa": 1,
|
|
230
|
+
"san marino": 1,
|
|
231
|
+
"sao tome and principe": 1,
|
|
232
|
+
"saudi arabia": 1,
|
|
233
|
+
"schweiz": 1,
|
|
234
|
+
"senegal": 1,
|
|
235
|
+
"serbia": 1,
|
|
236
|
+
"seychelles": 1,
|
|
237
|
+
"sierra leone": 1,
|
|
238
|
+
"singapore": 1,
|
|
239
|
+
"sint maarten dutch part": 1,
|
|
240
|
+
"slovakia": 1,
|
|
241
|
+
"slovenia": 1,
|
|
242
|
+
"solomon islands": 1,
|
|
243
|
+
"somalia": 1,
|
|
244
|
+
"south africa": 1,
|
|
245
|
+
"south georgia and the south sandwich islands": 1,
|
|
246
|
+
"south sudan": 1,
|
|
247
|
+
"spain": 1,
|
|
248
|
+
"sri lanka": 1,
|
|
249
|
+
"sudan": 1,
|
|
250
|
+
"suisse": 1,
|
|
251
|
+
"suriname": 1,
|
|
252
|
+
"svalbard and jan mayen": 1,
|
|
253
|
+
"svizzera": 1,
|
|
254
|
+
"swaziland": 1,
|
|
255
|
+
"sweden": 1,
|
|
256
|
+
"switzerland": 1,
|
|
257
|
+
"syrian arab republic": 1,
|
|
258
|
+
"taiwan province of china": 1,
|
|
259
|
+
"tajikistan": 1,
|
|
260
|
+
"tanzania united republic of": 1,
|
|
261
|
+
"thailand": 1,
|
|
262
|
+
"the netherlands": 1,
|
|
263
|
+
"timor-leste": 1,
|
|
264
|
+
"togo": 1,
|
|
265
|
+
"tokelau": 1,
|
|
266
|
+
"tonga": 1,
|
|
267
|
+
"trinidad and tobago": 1,
|
|
268
|
+
"tunisia": 1,
|
|
269
|
+
"turkey": 3,
|
|
270
|
+
"turkmenistan": 1,
|
|
271
|
+
"turks and caicos islands": 1,
|
|
272
|
+
"tuvalu": 1,
|
|
273
|
+
"uganda": 1,
|
|
274
|
+
"ukraine": 1,
|
|
275
|
+
"united arab emirates": 1,
|
|
276
|
+
"united kingdom": 1,
|
|
277
|
+
"united states": 1,
|
|
278
|
+
"united states minor outlying islands": 1,
|
|
279
|
+
"united states of america": 1,
|
|
280
|
+
"uruguay": 1,
|
|
281
|
+
"uzbekistan": 1,
|
|
282
|
+
"vanuatu": 1,
|
|
283
|
+
"venezuela": 1,
|
|
284
|
+
"viet nam": 1,
|
|
285
|
+
"virgin islands british": 1,
|
|
286
|
+
"virgin islands u.s": 1,
|
|
287
|
+
"wallis and futuna": 1,
|
|
288
|
+
"western sahara": 1,
|
|
289
|
+
"yemen": 1,
|
|
290
|
+
"zambia": 1,
|
|
291
|
+
"zimbabwe": 1
|
|
292
|
+
},
|
|
293
|
+
"code_entries": {
|
|
294
|
+
"AT": 1,
|
|
295
|
+
"AU": 1,
|
|
296
|
+
"AUS": 1,
|
|
297
|
+
"BE": 1,
|
|
298
|
+
"CA": 3,
|
|
299
|
+
"CAN": 1,
|
|
300
|
+
"CH": 1,
|
|
301
|
+
"DE": 3,
|
|
302
|
+
"ES": 1,
|
|
303
|
+
"ESP": 1,
|
|
304
|
+
"FR": 1,
|
|
305
|
+
"FRA": 1,
|
|
306
|
+
"GB": 1,
|
|
307
|
+
"GER": 1,
|
|
308
|
+
"IE": 1,
|
|
309
|
+
"IRL": 1,
|
|
310
|
+
"IT": 1,
|
|
311
|
+
"ITA": 1,
|
|
312
|
+
"JP": 1,
|
|
313
|
+
"JPN": 1,
|
|
314
|
+
"MEX": 1,
|
|
315
|
+
"MX": 1,
|
|
316
|
+
"NL": 1,
|
|
317
|
+
"NLD": 1,
|
|
318
|
+
"U.K": 1,
|
|
319
|
+
"U.S": 1,
|
|
320
|
+
"U.S.A": 1,
|
|
321
|
+
"UK": 1,
|
|
322
|
+
"US": 1,
|
|
323
|
+
"USA": 1,
|
|
324
|
+
"日本": 1
|
|
325
|
+
}
|
|
326
|
+
}
|
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.2.0",
|
|
4
|
+
"model_lineage": "v2.6.3-country-channel (v263, #1104) — init_from v261 (v2.6.1-span-boundary-full) + the dedicated country soft-feed channel ON, 8k steps, gentle schedule (lr 1e-5, warmup 500). Tokenizer v0.9.0-multisplice (73,143). The country channel is a 2-dim [country_surface, country_ambiguous] additive feature with its OWN projection + confidence (immune to suppress_gazetteer_near_postcode, unlike the shared gazetteer country slot — the #1104 signal-salience fix); it is the atlas analogue of Pelias's WhosOnFirstClassifier. This is the REAL fix that replaces v261's cosmetic country exception: golden country recall 84.8→89.3% (clears the 88.6% v241 bar), real-postal country recall+hallucination IDENTICAL to v261 (falsifier 3/4, 1%), held-out coordinate PASS both locales (US z −0.16 / FR z −0.17), gauntlet regression+metamorphic PASS. It carries a coordinate-INVISIBLE golden region per-tag trade (+24 fails, concentrated on trailing-country tails like 'VT 05161, US' where the country channel out-competes the adjacent region abbrev) — operator-approved, documented in docs/articles/evals/2026-07-14-v263-country-channel-result.md.",
|
|
5
|
+
"phase": "PROMOTED (6.2.0) — v263 country-channel (#1104): init_from v261 + the dedicated country soft-feed channel. requires.country is now a fed channel; createScorer/loadFromWeights feed the country-surface lexicon and fail closed if it is missing.",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
7
7
|
"locale": "en-us",
|
|
8
8
|
"training": {
|
|
9
|
-
"corpus_version": "corpus-
|
|
10
|
-
"tokenizer_version": "0.
|
|
11
|
-
"steps":
|
|
12
|
-
"best_step":
|
|
9
|
+
"corpus_version": "v257 fragment-campaign corpus (shard-v5) — UNCHANGED from v261; the country channel paints features on existing rows from the country-surface lexicon at encode time (no new shard).",
|
|
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.3-country-channel: init_from FINE-TUNE off v261 step-008000, use_country_anchor=true (country_feature_dim=2, lexicon country-surface-lexicon-v1.json), 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,21 +27,24 @@
|
|
|
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
|
|
36
36
|
},
|
|
37
37
|
"requires": {
|
|
38
|
-
"$comment": "The SHIP-CONFIG this model was TRAINED against (#718)
|
|
38
|
+
"$comment": "The SHIP-CONFIG this model was TRAINED against (#718). v263 adds `country` (the #1104 dedicated country soft-feed channel) to the prior anchor+gazetteer+conventions config. The canonical ProductionScorer (@mailwoman/neural's createScorer) reads this and FAILS CLOSED if a required channel isn't actually fed — closing the #566/#685 trap where a channel-trained model scored channel-OFF silently goes OOD. The server tier feeds anchor+gazetteer+country; the pocket tier is anchor-only (its capabilities country=0 by construction). Additive metadata only.",
|
|
39
39
|
"anchor": {
|
|
40
40
|
"required": true
|
|
41
41
|
},
|
|
42
42
|
"gazetteer": {
|
|
43
43
|
"required": true
|
|
44
44
|
},
|
|
45
|
+
"country": {
|
|
46
|
+
"required": true
|
|
47
|
+
},
|
|
45
48
|
"conventions": {
|
|
46
49
|
"required": true,
|
|
47
50
|
"mode": "auto"
|
|
@@ -104,14 +107,14 @@
|
|
|
104
107
|
"intersection_a",
|
|
105
108
|
"intersection_b"
|
|
106
109
|
],
|
|
107
|
-
"notes": "v2.
|
|
110
|
+
"notes": "v2.6.3-country-channel (v263, #1104), shipped as 6.2.0. init_from v261 + the dedicated country soft-feed channel ON (2-dim [country_surface, country_ambiguous], its own projection + confidence, immune to suppress_gazetteer_near_postcode). This is the REAL #1104 fix that replaces v261's documented cosmetic country exception. Grade (package-shaped, --weights-cache, #718): golden country recall 84.8→89.3% (clears the 88.6% v241 bar; fixes 19 / breaks 9); real-postal country recall 3/4 + hallucination 1% IDENTICAL to v261 (falsifier); held-out coordinate z-test PASS both locales (US z −0.16 on 300 FDIC, FR z −0.17 on 300 BAN); gauntlet regression+metamorphic PASS. TRADE: a coordinate-INVISIBLE golden region per-tag regression (+24 fails, 556→580) concentrated on trailing-country tails ('VT 05161, US' → region dropped as the country channel out-competes the region abbrev) — operator-approved, coordinate flat. Full write-up: docs/articles/evals/2026-07-14-v263-country-channel-result.md. CALIBRATION: the carried isotonic tables were fitted on the v5.3.0 lineage; opt-in, default output unaffected; a re-fit is a tracked follow-up.",
|
|
108
111
|
"format": {
|
|
109
112
|
"model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
|
|
110
|
-
"tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=
|
|
113
|
+
"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
114
|
"max_sequence_length": 128,
|
|
112
115
|
"opset": 17,
|
|
113
116
|
"fp32_size_mb": 146.6,
|
|
114
|
-
"int8_size_mb":
|
|
117
|
+
"int8_size_mb": 37.6
|
|
115
118
|
},
|
|
116
119
|
"files": {
|
|
117
120
|
"model": "model.onnx",
|
|
@@ -126,7 +129,7 @@
|
|
|
126
129
|
"held_out_ece_calibrated": 0.0017,
|
|
127
130
|
"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
131
|
},
|
|
129
|
-
"base_relpath": "/mnt/playpen/mailwoman-data/models/candidates/
|
|
132
|
+
"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
133
|
"eval": {
|
|
131
134
|
"gate_2026_07_04_v530_full_family": {
|
|
132
135
|
"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.",
|
|
@@ -198,7 +201,7 @@
|
|
|
198
201
|
"us_2k_non_inferiority": {
|
|
199
202
|
"row_dump": "BYTE-IDENTICAL to shipped v4.15.0 int8 (diff 0 everywhere)",
|
|
200
203
|
"coord_p50_km": 3.31,
|
|
201
|
-
"resolve_rate": 1
|
|
204
|
+
"resolve_rate": 1,
|
|
202
205
|
"region_correct": 0.999
|
|
203
206
|
},
|
|
204
207
|
"tokenization_examples": "Vysoká 4→1 piece, Grudziądz 6→1, Świętokrzyska 9→1, Čistá 5→2; SK fertility −51.9%, SI −35.2% on diacritic-bearing names with zero SK/SI-specific pieces"
|
|
@@ -340,52 +343,52 @@
|
|
|
340
343
|
}
|
|
341
344
|
},
|
|
342
345
|
"files_md5": {
|
|
343
|
-
"$comment": "Shipped
|
|
344
|
-
"model.onnx": "
|
|
345
|
-
"tokenizer.model": "
|
|
346
|
+
"$comment": "Shipped: model.onnx = int8 v263-country-channel step-8000; tokenizer v0.9.0-multisplice.",
|
|
347
|
+
"model.onnx": "34289d215e0c1ba1e663337999ca3cbd",
|
|
348
|
+
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9"
|
|
346
349
|
},
|
|
347
350
|
"capabilities": {
|
|
348
351
|
"server": {
|
|
349
352
|
"us": {
|
|
350
353
|
"street_prefix": {
|
|
351
|
-
"maskOffF1":
|
|
354
|
+
"maskOffF1": 0.9
|
|
352
355
|
},
|
|
353
356
|
"street": {
|
|
354
|
-
"maskOffF1": 24
|
|
357
|
+
"maskOffF1": 24.4
|
|
355
358
|
},
|
|
356
359
|
"street_suffix": {
|
|
357
360
|
"maskOffF1": 0.3,
|
|
358
361
|
"maskOnF1": 0.3
|
|
359
362
|
},
|
|
360
363
|
"house_number": {
|
|
361
|
-
"maskOffF1":
|
|
364
|
+
"maskOffF1": 94.1
|
|
362
365
|
},
|
|
363
366
|
"locality": {
|
|
364
|
-
"maskOffF1":
|
|
367
|
+
"maskOffF1": 79
|
|
365
368
|
},
|
|
366
369
|
"region": {
|
|
367
|
-
"maskOffF1":
|
|
370
|
+
"maskOffF1": 90.5
|
|
368
371
|
},
|
|
369
372
|
"postcode": {
|
|
370
|
-
"maskOffF1":
|
|
373
|
+
"maskOffF1": 96.6
|
|
371
374
|
},
|
|
372
375
|
"country": {
|
|
373
|
-
"maskOffF1":
|
|
376
|
+
"maskOffF1": 67
|
|
374
377
|
},
|
|
375
378
|
"unit": {
|
|
376
|
-
"maskOffF1":
|
|
379
|
+
"maskOffF1": 5.2
|
|
377
380
|
},
|
|
378
381
|
"intersection_a": {
|
|
379
|
-
"maskOffF1":
|
|
382
|
+
"maskOffF1": 100
|
|
380
383
|
},
|
|
381
384
|
"intersection_b": {
|
|
382
|
-
"maskOffF1":
|
|
385
|
+
"maskOffF1": 100
|
|
383
386
|
},
|
|
384
387
|
"po_box": {
|
|
385
|
-
"maskOffF1":
|
|
388
|
+
"maskOffF1": 63.2
|
|
386
389
|
},
|
|
387
390
|
"venue": {
|
|
388
|
-
"maskOffF1":
|
|
391
|
+
"maskOffF1": 93.4
|
|
389
392
|
},
|
|
390
393
|
"dependent_locality": {
|
|
391
394
|
"maskOffF1": 0
|
|
@@ -393,10 +396,10 @@
|
|
|
393
396
|
},
|
|
394
397
|
"fr": {
|
|
395
398
|
"street_prefix": {
|
|
396
|
-
"maskOffF1":
|
|
399
|
+
"maskOffF1": 100
|
|
397
400
|
},
|
|
398
401
|
"street": {
|
|
399
|
-
"maskOffF1":
|
|
402
|
+
"maskOffF1": 90.9
|
|
400
403
|
},
|
|
401
404
|
"house_number": {
|
|
402
405
|
"maskOffF1": 100
|
|
@@ -412,44 +415,44 @@
|
|
|
412
415
|
"pocket": {
|
|
413
416
|
"us": {
|
|
414
417
|
"street_prefix": {
|
|
415
|
-
"maskOffF1":
|
|
418
|
+
"maskOffF1": 0.9
|
|
416
419
|
},
|
|
417
420
|
"street": {
|
|
418
|
-
"maskOffF1": 23.
|
|
421
|
+
"maskOffF1": 23.4
|
|
419
422
|
},
|
|
420
423
|
"street_suffix": {
|
|
421
424
|
"maskOffF1": 0.3,
|
|
422
425
|
"maskOnF1": 0.3
|
|
423
426
|
},
|
|
424
427
|
"house_number": {
|
|
425
|
-
"maskOffF1":
|
|
428
|
+
"maskOffF1": 87.4
|
|
426
429
|
},
|
|
427
430
|
"locality": {
|
|
428
|
-
"maskOffF1": 59.
|
|
431
|
+
"maskOffF1": 59.8
|
|
429
432
|
},
|
|
430
433
|
"region": {
|
|
431
|
-
"maskOffF1":
|
|
434
|
+
"maskOffF1": 73.2
|
|
432
435
|
},
|
|
433
436
|
"postcode": {
|
|
434
|
-
"maskOffF1":
|
|
437
|
+
"maskOffF1": 91.9
|
|
435
438
|
},
|
|
436
439
|
"country": {
|
|
437
440
|
"maskOffF1": 0
|
|
438
441
|
},
|
|
439
442
|
"unit": {
|
|
440
|
-
"maskOffF1":
|
|
443
|
+
"maskOffF1": 5.1
|
|
441
444
|
},
|
|
442
445
|
"intersection_a": {
|
|
443
|
-
"maskOffF1":
|
|
446
|
+
"maskOffF1": 50
|
|
444
447
|
},
|
|
445
448
|
"intersection_b": {
|
|
446
|
-
"maskOffF1":
|
|
449
|
+
"maskOffF1": 40
|
|
447
450
|
},
|
|
448
451
|
"po_box": {
|
|
449
|
-
"maskOffF1":
|
|
452
|
+
"maskOffF1": 62.1
|
|
450
453
|
},
|
|
451
454
|
"venue": {
|
|
452
|
-
"maskOffF1": 90.
|
|
455
|
+
"maskOffF1": 90.5
|
|
453
456
|
},
|
|
454
457
|
"dependent_locality": {
|
|
455
458
|
"maskOffF1": 0
|
|
@@ -457,10 +460,10 @@
|
|
|
457
460
|
},
|
|
458
461
|
"fr": {
|
|
459
462
|
"street_prefix": {
|
|
460
|
-
"maskOffF1":
|
|
463
|
+
"maskOffF1": 100
|
|
461
464
|
},
|
|
462
465
|
"street": {
|
|
463
|
-
"maskOffF1":
|
|
466
|
+
"maskOffF1": 90.9
|
|
464
467
|
},
|
|
465
468
|
"house_number": {
|
|
466
469
|
"maskOffF1": 100
|
|
@@ -473,6 +476,6 @@
|
|
|
473
476
|
}
|
|
474
477
|
}
|
|
475
478
|
},
|
|
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
|
|
479
|
+
"$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
480
|
}
|
|
478
481
|
}
|
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.2.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": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"calibration-per-locale.json",
|
|
17
17
|
"postcode-us.bin",
|
|
18
18
|
"anchor-lexicon-v1.json",
|
|
19
|
+
"country-surface-lexicon-v1.json",
|
|
19
20
|
"README.md"
|
|
20
21
|
],
|
|
21
22
|
"publishConfig": {
|
package/postcode-us.bin
CHANGED
|
Binary file
|
package/tokenizer.model
CHANGED
|
Binary file
|