@mailwoman/corpus 11.5.0 → 12.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/data/builds/v0.8.22-wofrank-overlay/OVERLAY_PLAN.json +51 -0
- package/data/builds/v0.8.24-everyplace/inputs.json +35 -0
- package/data/training-configs/v8.17.0-stage1-gazetteer-v0822-s42.yaml +557 -0
- package/data/training-configs/v8.17.0-stage2-corpus-v0822-s42.yaml +1008 -0
- package/data/training-configs/v8.18.0-gazetteer-then-mixture-v0822-s42.yaml +1225 -0
- package/data/training-configs/v8.20.0-wofrank-v0822-s42.yaml +863 -0
- package/data/training-configs/v8.21.0-outcomes-v0822-s42.yaml +873 -0
- package/data/training-configs/v8.22.0-stage1-everyplace-v0824-s42.yaml +374 -0
- package/data/training-configs/v8.22.0-stage2-corpus-v0824-s42.yaml +808 -0
- package/data/training-configs/v8.22.1-stage1-everyplace-v0824-s42.yaml +376 -0
- package/data/training-configs/v8.22.1-stage2-corpus-v0824-s42.yaml +793 -0
- package/data/training-configs/v9.0.0-bytestem-v090-s42.yaml +665 -0
- package/data/training-manifests/v0.8.22-wofrank-overlay.json +9000 -0
- package/data/training-manifests/v0.8.24-everyplace-overlay.json +9000 -0
- package/data/training-manifests/v0.9.0-compact.effective.json +2556 -0
- package/data/training-manifests/v0.9.0-compact.json +9000 -0
- package/lib/adapters/wof/admin/json/adapter.ts +38 -3
- package/lib/adapters/wof/json-rows.ts +84 -5
- package/lib/adapters/wof/sample.ts +42 -6
- package/lib/build/code-hash.ts +1 -1
- package/lib/cjk/foreign-places.ts +1 -1
- package/lib/kr/adapters/localdata/permit-rows.ts +1 -1
- package/lib/parquet/schema.ts +7 -0
- package/lib/tools/anthropic/batches.ts +221 -0
- package/lib/tools/anthropic/labeling.ts +263 -0
- package/lib/tools/compact-v9.ts +872 -0
- package/lib/tools/fetch/wikidata/vital-places/entities.ts +20 -2
- package/lib/tools/fetch/wikidata/vital-places/qrank.ts +5 -4
- package/lib/tools/fragment-assay.run.ts +2 -1
- package/lib/tools/name-roles/name-roles.run.ts +296 -0
- package/lib/tools/name-roles/prompt.ts +253 -0
- package/lib/tools/overlay/deletions.ts +1 -1
- package/lib/tools/overlay/draw-weight.ts +275 -0
- package/lib/tools/place-twins/place-twins.run.ts +528 -0
- package/lib/tools/place-twins/prompt.ts +276 -0
- package/lib/tools/prominent-shapes/prominent-shapes.run.ts +420 -0
- package/lib/tools/prominent-shapes/prompt.ts +189 -0
- package/lib/tools/prominent-shapes/read-seeds.ts +286 -0
- package/lib/tools/prominent-shapes/seeds.ts +281 -0
- package/lib/tools/prominent-shapes/validate.ts +563 -0
- package/lib/training/config/admission.ts +9 -2
- package/lib/training/config/schema.ts +68 -1
- package/lib/types.ts +23 -0
- package/lib/utils/split.ts +1 -1
- package/out/adapters/wof/admin/json/adapter.d.ts +7 -0
- package/out/adapters/wof/admin/json/adapter.d.ts.map +1 -1
- package/out/adapters/wof/admin/json/adapter.js +28 -3
- package/out/adapters/wof/admin/json/adapter.js.map +1 -1
- package/out/adapters/wof/json-rows.d.ts +8 -0
- package/out/adapters/wof/json-rows.d.ts.map +1 -1
- package/out/adapters/wof/json-rows.js +56 -4
- package/out/adapters/wof/json-rows.js.map +1 -1
- package/out/adapters/wof/sample.d.ts +12 -0
- package/out/adapters/wof/sample.d.ts.map +1 -1
- package/out/adapters/wof/sample.js +37 -6
- package/out/adapters/wof/sample.js.map +1 -1
- package/out/build/code-hash.js +1 -1
- package/out/build/code-hash.js.map +1 -1
- package/out/cjk/foreign-places.js +1 -1
- package/out/cjk/foreign-places.js.map +1 -1
- package/out/kr/adapters/localdata/permit-rows.js +1 -1
- package/out/kr/adapters/localdata/permit-rows.js.map +1 -1
- package/out/parquet/schema.d.ts +6 -0
- package/out/parquet/schema.d.ts.map +1 -1
- package/out/parquet/schema.js +6 -0
- package/out/parquet/schema.js.map +1 -1
- package/out/tools/anthropic/batches.d.ts +117 -0
- package/out/tools/anthropic/batches.d.ts.map +1 -0
- package/out/tools/anthropic/batches.js +141 -0
- package/out/tools/anthropic/batches.js.map +1 -0
- package/out/tools/anthropic/labeling.d.ts +97 -0
- package/out/tools/anthropic/labeling.d.ts.map +1 -0
- package/out/tools/anthropic/labeling.js +146 -0
- package/out/tools/anthropic/labeling.js.map +1 -0
- package/out/tools/compact-v9.d.ts +117 -0
- package/out/tools/compact-v9.d.ts.map +1 -0
- package/out/tools/compact-v9.js +494 -0
- package/out/tools/compact-v9.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/entities.d.ts +3 -0
- package/out/tools/fetch/wikidata/vital-places/entities.d.ts.map +1 -1
- package/out/tools/fetch/wikidata/vital-places/entities.js +19 -1
- package/out/tools/fetch/wikidata/vital-places/entities.js.map +1 -1
- package/out/tools/fetch/wikidata/vital-places/qrank.d.ts.map +1 -1
- package/out/tools/fetch/wikidata/vital-places/qrank.js +4 -4
- package/out/tools/fetch/wikidata/vital-places/qrank.js.map +1 -1
- package/out/tools/fragment-assay.run.js +1 -1
- package/out/tools/fragment-assay.run.js.map +1 -1
- package/out/tools/name-roles/name-roles.run.d.ts +2 -0
- package/out/tools/name-roles/name-roles.run.d.ts.map +1 -0
- package/out/tools/name-roles/name-roles.run.js +230 -0
- package/out/tools/name-roles/name-roles.run.js.map +1 -0
- package/out/tools/name-roles/prompt.d.ts +166 -0
- package/out/tools/name-roles/prompt.d.ts.map +1 -0
- package/out/tools/name-roles/prompt.js +176 -0
- package/out/tools/name-roles/prompt.js.map +1 -0
- package/out/tools/overlay/deletions.js +1 -1
- package/out/tools/overlay/deletions.js.map +1 -1
- package/out/tools/overlay/draw-weight.d.ts +86 -0
- package/out/tools/overlay/draw-weight.d.ts.map +1 -0
- package/out/tools/overlay/draw-weight.js +131 -0
- package/out/tools/overlay/draw-weight.js.map +1 -0
- package/out/tools/place-twins/place-twins.run.d.ts +2 -0
- package/out/tools/place-twins/place-twins.run.d.ts.map +1 -0
- package/out/tools/place-twins/place-twins.run.js +385 -0
- package/out/tools/place-twins/place-twins.run.js.map +1 -0
- package/out/tools/place-twins/prompt.d.ts +169 -0
- package/out/tools/place-twins/prompt.d.ts.map +1 -0
- package/out/tools/place-twins/prompt.js +183 -0
- package/out/tools/place-twins/prompt.js.map +1 -0
- package/out/tools/prominent-shapes/prominent-shapes.run.d.ts +2 -0
- package/out/tools/prominent-shapes/prominent-shapes.run.d.ts.map +1 -0
- package/out/tools/prominent-shapes/prominent-shapes.run.js +302 -0
- package/out/tools/prominent-shapes/prominent-shapes.run.js.map +1 -0
- package/out/tools/prominent-shapes/prompt.d.ts +74 -0
- package/out/tools/prominent-shapes/prompt.d.ts.map +1 -0
- package/out/tools/prominent-shapes/prompt.js +156 -0
- package/out/tools/prominent-shapes/prompt.js.map +1 -0
- package/out/tools/prominent-shapes/read-seeds.d.ts +23 -0
- package/out/tools/prominent-shapes/read-seeds.d.ts.map +1 -0
- package/out/tools/prominent-shapes/read-seeds.js +219 -0
- package/out/tools/prominent-shapes/read-seeds.js.map +1 -0
- package/out/tools/prominent-shapes/seeds.d.ts +132 -0
- package/out/tools/prominent-shapes/seeds.d.ts.map +1 -0
- package/out/tools/prominent-shapes/seeds.js +178 -0
- package/out/tools/prominent-shapes/seeds.js.map +1 -0
- package/out/tools/prominent-shapes/validate.d.ts +152 -0
- package/out/tools/prominent-shapes/validate.d.ts.map +1 -0
- package/out/tools/prominent-shapes/validate.js +389 -0
- package/out/tools/prominent-shapes/validate.js.map +1 -0
- package/out/training/config/admission.d.ts +2 -1
- package/out/training/config/admission.d.ts.map +1 -1
- package/out/training/config/admission.js +9 -2
- package/out/training/config/admission.js.map +1 -1
- package/out/training/config/schema.d.ts +276 -1
- package/out/training/config/schema.d.ts.map +1 -1
- package/out/training/config/schema.js +64 -1
- package/out/training/config/schema.js.map +1 -1
- package/out/types.d.ts +21 -0
- package/out/types.d.ts.map +1 -1
- package/out/types.js +13 -0
- package/out/types.js.map +1 -1
- package/out/utils/split.js +1 -1
- package/out/utils/split.js.map +1 -1
- package/package.json +24 -24
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
# v9.0.0-bytestem-v090-s42 trains the unified byte-CNN stem, relative-position backbone,
|
|
2
|
+
# layer-2 grammar posterior with SMEAR LoRA and FiLM adapters, joint semi-Markov CRF and
|
|
3
|
+
# linear-chain CRF, disentangled outcome head with parent-only hints, and two-tier
|
|
4
|
+
# stratified in-place sampling over the compacted v0.9.0 corpus.
|
|
5
|
+
#
|
|
6
|
+
# Corpus budget (from COMPACTION_REPORT.json):
|
|
7
|
+
# - Admitted Tier 1: 165 sources, 16,872,711 base train rows (finite-epoch globally shuffled).
|
|
8
|
+
# - Admitted Tier 2: 19 dense registers, 57,333,929 deduplicated skeleton-capped base rows.
|
|
9
|
+
# Temperature smoothing runs at alpha = 0.4, and 1.0e-6 source_weights floors register
|
|
10
|
+
# source rights without overriding temperature probabilities.
|
|
11
|
+
# - Run length: 75,000 steps x 512 batch = 38,400,000 samples (tier1_share = 0.55 gives
|
|
12
|
+
# 21,120,000 Tier-1 draws = 1.25 full Tier-1 passes, plus 17,280,000 Tier-2 draws).
|
|
13
|
+
# - Wall-clock bound on A100-40GB: 19,290 s estimated (5.36 h) under the 32,400 s timeout.
|
|
14
|
+
|
|
15
|
+
data:
|
|
16
|
+
corpus_dir: /data/corpus/versioned/v0.9.0-compact/corpus-v0.9.0-compact
|
|
17
|
+
# Unused when model.use_byte_stem is true. Retained so config auditing stays uniform.
|
|
18
|
+
tokenizer_dir: /data/models/tokenizer/v0.10.0-c6-isolated-punctuation
|
|
19
|
+
max_length: 128
|
|
20
|
+
byte_window: 32
|
|
21
|
+
label_set: stage3-intl
|
|
22
|
+
read_order: stratified
|
|
23
|
+
augment_mode: in_place
|
|
24
|
+
tier1_share: 0.55
|
|
25
|
+
temperature_alpha: 0.4
|
|
26
|
+
spread_visit_rows: 2048
|
|
27
|
+
use_alias_draw_weights: true
|
|
28
|
+
grammar_families_path: packages/trainer/data/grammar_families.json
|
|
29
|
+
# `NO` is quoted because YAML 1.1 reads a bare `NO` as false. A false key would match no Norwegian row.
|
|
30
|
+
country_weights:
|
|
31
|
+
{
|
|
32
|
+
AD: 1.0, AE: 1.0, AF: 1.0, AG: 1.0, AI: 1.0, AL: 1.0, AM: 1.0, AO: 1.0, AQ: 1.0, AR: 1.0, AS: 1.0, AT: 1.0,
|
|
33
|
+
AU: 1.0, AW: 1.0, AX: 1.0, AZ: 1.0, BA: 1.0, BB: 1.0, BD: 1.0, BE: 1.0, BF: 1.0, BG: 1.0, BH: 1.0, BI: 1.0,
|
|
34
|
+
BJ: 1.0, BL: 1.0, BM: 1.0, BN: 1.0, BO: 1.0, BQ: 1.0, BR: 1.0, BS: 1.0, BT: 1.0, BW: 1.0, BY: 1.0, BZ: 1.0,
|
|
35
|
+
CA: 1.0, CC: 1.0, CD: 1.0, CF: 1.0, CG: 1.0, CH: 1.0, CI: 1.0, CK: 1.0, CL: 1.0, CM: 1.0, CN: 1.0, CO: 1.0,
|
|
36
|
+
CR: 1.0, CU: 1.0, CV: 1.0, CW: 1.0, CX: 1.0, CY: 1.0, CZ: 1.0, DE: 1.0, DJ: 1.0, DK: 1.0, DM: 1.0, DO: 1.0,
|
|
37
|
+
DZ: 1.0, EC: 1.0, EE: 1.0, EG: 1.0, EH: 1.0, ER: 1.0, ES: 1.0, ET: 1.0, FI: 1.0, FJ: 1.0, FK: 1.0, FM: 1.0,
|
|
38
|
+
FO: 1.0, FR: 1.0, GA: 1.0, GB: 1.0, GD: 1.0, GE: 1.0, GF: 1.0, GG: 1.0, GH: 1.0, GI: 1.0, GL: 1.0, GM: 1.0,
|
|
39
|
+
GN: 1.0, GP: 1.0, GQ: 1.0, GR: 1.0, GS: 1.0, GT: 1.0, GU: 1.0, GW: 1.0, GY: 1.0, HK: 1.0, HN: 1.0, HR: 1.0,
|
|
40
|
+
HT: 1.0, HU: 1.0, ID: 1.0, IE: 1.0, IL: 1.0, IM: 1.0, IN: 1.0, IO: 1.0, IQ: 1.0, IR: 1.0, IS: 1.0, IT: 1.0,
|
|
41
|
+
JE: 1.0, JM: 1.0, JO: 1.0, JP: 1.0, KE: 1.0, KG: 1.0, KH: 1.0, KI: 1.0, KM: 1.0, KN: 1.0, KP: 1.0, KR: 1.0,
|
|
42
|
+
KW: 1.0, KY: 1.0, KZ: 1.0, LA: 1.0, LB: 1.0, LC: 1.0, LI: 1.0, LK: 1.0, LR: 1.0, LS: 1.0, LT: 1.0, LU: 1.0,
|
|
43
|
+
LV: 1.0, LY: 1.0, MA: 1.0, MC: 1.0, MD: 1.0, ME: 1.0, MF: 1.0, MG: 1.0, MH: 1.0, MK: 1.0, ML: 1.0, MM: 1.0,
|
|
44
|
+
MN: 1.0, MO: 1.0, MP: 1.0, MQ: 1.0, MR: 1.0, MS: 1.0, MT: 1.0, MU: 1.0, MV: 1.0, MW: 1.0, MX: 1.0, MY: 1.0,
|
|
45
|
+
MZ: 1.0, NA: 1.0, NC: 1.0, NE: 1.0, NF: 1.0, NG: 1.0, NI: 1.0, NL: 1.0, "NO": 1.0, NP: 1.0, NR: 1.0, NU: 1.0,
|
|
46
|
+
NZ: 1.0, OM: 1.0, PA: 1.0, PE: 1.0, PF: 1.0, PG: 1.0, PH: 1.0, PK: 1.0, PL: 1.0, PM: 1.0, PN: 1.0, PR: 1.0,
|
|
47
|
+
PS: 1.0, PT: 1.0, PW: 1.0, PY: 1.0, QA: 1.0, RE: 1.0, RO: 1.0, RS: 1.0, RU: 1.0, RW: 1.0, SA: 1.0, SB: 1.0,
|
|
48
|
+
SC: 1.0, SD: 1.0, SE: 1.0, SG: 1.0, SH: 1.0, SI: 1.0, SJ: 1.0, SK: 1.0, SL: 1.0, SM: 1.0, SN: 1.0, SO: 1.0,
|
|
49
|
+
SR: 1.0, SS: 1.0, ST: 1.0, SV: 1.0, SX: 1.0, SY: 1.0, SZ: 1.0, TC: 1.0, TD: 1.0, TF: 1.0, TG: 1.0, TH: 1.0,
|
|
50
|
+
TJ: 1.0, TK: 1.0, TL: 1.0, TM: 1.0, TN: 1.0, TO: 1.0, TR: 1.0, TT: 1.0, TV: 1.0, TW: 1.0, TZ: 1.0, UA: 1.0,
|
|
51
|
+
UG: 1.0, UM: 1.0, US: 1.0, UY: 1.0, UZ: 1.0, VA: 1.0, VC: 1.0, VE: 1.0, VG: 1.0, VI: 1.0, VN: 1.0, VU: 1.0,
|
|
52
|
+
WF: 1.0, WS: 1.0, YE: 1.0, YT: 1.0, ZA: 1.0, ZM: 1.0, ZW: 1.0,
|
|
53
|
+
}
|
|
54
|
+
tier1_sources:
|
|
55
|
+
- adressur-fo
|
|
56
|
+
- ads
|
|
57
|
+
- au-acnc-register
|
|
58
|
+
- ban-nc
|
|
59
|
+
- bsp-gu
|
|
60
|
+
- codex-bare-postcode
|
|
61
|
+
- cordis
|
|
62
|
+
- deepseek-kryptonite
|
|
63
|
+
- es-sanidad-centros-ap
|
|
64
|
+
- fr-annuaire-education-overseas
|
|
65
|
+
- fr-finess-overseas
|
|
66
|
+
- fr-laposte-poincont
|
|
67
|
+
- fragment-assay
|
|
68
|
+
- fragment-fr
|
|
69
|
+
- fragment-fr-bare-street-v22
|
|
70
|
+
- fragment-no
|
|
71
|
+
- gbpa-bs
|
|
72
|
+
- geonames-features
|
|
73
|
+
- gnaf
|
|
74
|
+
- ide-uy
|
|
75
|
+
- invented-anchor-absorption
|
|
76
|
+
- invented-house-venue
|
|
77
|
+
- invented-intersection
|
|
78
|
+
- invented-po-box-cedex
|
|
79
|
+
- invented-po-box-military
|
|
80
|
+
- invented-postal-guideline
|
|
81
|
+
- invented-postal-unit-guideline
|
|
82
|
+
- it-miur-scuole
|
|
83
|
+
- landregistry-im
|
|
84
|
+
- llv-li
|
|
85
|
+
- lv-varis
|
|
86
|
+
- nc-opt-agences
|
|
87
|
+
- opendata-az
|
|
88
|
+
- osm-ae
|
|
89
|
+
- osm-al
|
|
90
|
+
- osm-am
|
|
91
|
+
- osm-ao
|
|
92
|
+
- osm-ar
|
|
93
|
+
- osm-aw
|
|
94
|
+
- osm-az
|
|
95
|
+
- osm-ba
|
|
96
|
+
- osm-bb
|
|
97
|
+
- osm-bd
|
|
98
|
+
- osm-bh
|
|
99
|
+
- osm-bm
|
|
100
|
+
- osm-bn
|
|
101
|
+
- osm-bs
|
|
102
|
+
- osm-bt
|
|
103
|
+
- osm-bw
|
|
104
|
+
- osm-by
|
|
105
|
+
- osm-bz
|
|
106
|
+
- osm-cd
|
|
107
|
+
- osm-ci
|
|
108
|
+
- osm-cl
|
|
109
|
+
- osm-co
|
|
110
|
+
- osm-cr
|
|
111
|
+
- osm-cu
|
|
112
|
+
- osm-cw
|
|
113
|
+
- osm-do
|
|
114
|
+
- osm-dz
|
|
115
|
+
- osm-ec
|
|
116
|
+
- osm-eg
|
|
117
|
+
- osm-ge
|
|
118
|
+
- osm-gg
|
|
119
|
+
- osm-gh
|
|
120
|
+
- osm-gl
|
|
121
|
+
- osm-gt
|
|
122
|
+
- osm-hk
|
|
123
|
+
- osm-ht
|
|
124
|
+
- osm-id
|
|
125
|
+
- osm-in
|
|
126
|
+
- osm-iq
|
|
127
|
+
- osm-ir
|
|
128
|
+
- osm-je
|
|
129
|
+
- osm-jm
|
|
130
|
+
- osm-jo
|
|
131
|
+
- osm-ke
|
|
132
|
+
- osm-kg
|
|
133
|
+
- osm-kh
|
|
134
|
+
- osm-kw
|
|
135
|
+
- osm-kz
|
|
136
|
+
- osm-lb
|
|
137
|
+
- osm-lk
|
|
138
|
+
- osm-lr
|
|
139
|
+
- osm-ma
|
|
140
|
+
- osm-md
|
|
141
|
+
- osm-me
|
|
142
|
+
- osm-mg
|
|
143
|
+
- osm-mk
|
|
144
|
+
- osm-mm
|
|
145
|
+
- osm-mn
|
|
146
|
+
- osm-mo
|
|
147
|
+
- osm-mt
|
|
148
|
+
- osm-mv
|
|
149
|
+
- osm-my
|
|
150
|
+
- osm-mz
|
|
151
|
+
- osm-na
|
|
152
|
+
- osm-ng
|
|
153
|
+
- osm-np
|
|
154
|
+
- osm-om
|
|
155
|
+
- osm-pa
|
|
156
|
+
- osm-pe
|
|
157
|
+
- osm-pf
|
|
158
|
+
- osm-ph
|
|
159
|
+
- osm-pk
|
|
160
|
+
- osm-pr
|
|
161
|
+
- osm-py
|
|
162
|
+
- osm-qa
|
|
163
|
+
- osm-rs
|
|
164
|
+
- osm-ru
|
|
165
|
+
- osm-rw
|
|
166
|
+
- osm-sa
|
|
167
|
+
- osm-sm
|
|
168
|
+
- osm-sn
|
|
169
|
+
- osm-sr
|
|
170
|
+
- osm-sv
|
|
171
|
+
- osm-th
|
|
172
|
+
- osm-tj
|
|
173
|
+
- osm-tm
|
|
174
|
+
- osm-tn
|
|
175
|
+
- osm-tt
|
|
176
|
+
- osm-tz
|
|
177
|
+
- osm-ua
|
|
178
|
+
- osm-ug
|
|
179
|
+
- osm-uz
|
|
180
|
+
- osm-ve
|
|
181
|
+
- osm-vi
|
|
182
|
+
- osm-vn
|
|
183
|
+
- osm-zm
|
|
184
|
+
- osm-zw
|
|
185
|
+
- rendered-bd-register
|
|
186
|
+
- rendered-ch
|
|
187
|
+
- rendered-cz-pcfirst-preposition-v21
|
|
188
|
+
- rendered-de
|
|
189
|
+
- rendered-former-divisions
|
|
190
|
+
- rendered-fr-admin-split
|
|
191
|
+
- rendered-fr-order
|
|
192
|
+
- rendered-gb-os-open
|
|
193
|
+
- rendered-hr
|
|
194
|
+
- rendered-lu
|
|
195
|
+
- rendered-nl-postcode
|
|
196
|
+
- rendered-nz
|
|
197
|
+
- rendered-pk-register
|
|
198
|
+
- rendered-prominent-places
|
|
199
|
+
- rendered-pt
|
|
200
|
+
- rendered-sg-register
|
|
201
|
+
- rendered-si-bare-village
|
|
202
|
+
- rendered-sk
|
|
203
|
+
- rendered-us-city-county
|
|
204
|
+
- rendered-us-city-state
|
|
205
|
+
- rendered-us-county
|
|
206
|
+
- ro-retea-scolara
|
|
207
|
+
- ryhti-ax
|
|
208
|
+
- spliced-affix
|
|
209
|
+
- spliced-country
|
|
210
|
+
- spliced-sub-venue
|
|
211
|
+
- spliced-suffix-boundary
|
|
212
|
+
- spliced-trailing-region-ca-bare
|
|
213
|
+
- spliced-trailing-region-es-v28
|
|
214
|
+
- spliced-trailing-region-us
|
|
215
|
+
- spliced-unit-v30
|
|
216
|
+
- usgov-hrsa-fqhc
|
|
217
|
+
- wikidata-vital-places
|
|
218
|
+
- wof-admin
|
|
219
|
+
- wof-postalcode
|
|
220
|
+
source_weights:
|
|
221
|
+
# Tier-2 dense registers use tiny positive floors so source-rights admission checks each
|
|
222
|
+
# source while compute_tier2_probabilities applies alpha = 0.4 temperature smoothing.
|
|
223
|
+
ban: 1.0e-6
|
|
224
|
+
ban-bl: 1.0e-6
|
|
225
|
+
ban-gf: 1.0e-6
|
|
226
|
+
ban-gp: 1.0e-6
|
|
227
|
+
ban-mf: 1.0e-6
|
|
228
|
+
ban-mq: 1.0e-6
|
|
229
|
+
ban-pf: 1.0e-6
|
|
230
|
+
ban-pm: 1.0e-6
|
|
231
|
+
ban-re: 1.0e-6
|
|
232
|
+
ban-yt: 1.0e-6
|
|
233
|
+
gleif-lei: 1.0e-6
|
|
234
|
+
overture: 1.0e-6
|
|
235
|
+
overture-latam: 1.0e-6
|
|
236
|
+
state-ny-notaries: 1.0e-6
|
|
237
|
+
state-tx-notaries: 1.0e-6
|
|
238
|
+
tiger: 1.0e-6
|
|
239
|
+
usgov-nad: 1.0e-6
|
|
240
|
+
usgov-nppes: 1.0e-6
|
|
241
|
+
usgov-usgs-structures: 1.0e-6
|
|
242
|
+
# Explicitly declined sources (unshippable licenses or retired generations).
|
|
243
|
+
fragment-fr-bare-street: 0.0
|
|
244
|
+
nz-charities-register: 0.0
|
|
245
|
+
osm: 0.0
|
|
246
|
+
osm-cn: 0.0
|
|
247
|
+
rendered-cz-pcfirst-preposition: 0.0
|
|
248
|
+
rendered-no-street-led: 0.0
|
|
249
|
+
spliced-unit: 0.0
|
|
250
|
+
state-ia-contractors: 0.0
|
|
251
|
+
usgov-imls-pls: 0.0
|
|
252
|
+
# Tier-1 finite-epoch sources (drawn once per pass in proportion to remaining rows).
|
|
253
|
+
adressur-fo: 1.0
|
|
254
|
+
ads: 1.0
|
|
255
|
+
au-acnc-register: 1.0
|
|
256
|
+
ban-nc: 1.0
|
|
257
|
+
bsp-gu: 1.0
|
|
258
|
+
codex-bare-postcode: 1.0
|
|
259
|
+
cordis: 1.0
|
|
260
|
+
deepseek-kryptonite: 1.0
|
|
261
|
+
es-sanidad-centros-ap: 1.0
|
|
262
|
+
fr-annuaire-education-overseas: 1.0
|
|
263
|
+
fr-finess-overseas: 1.0
|
|
264
|
+
fr-laposte-poincont: 1.0
|
|
265
|
+
fragment-assay: 1.0
|
|
266
|
+
fragment-fr: 1.0
|
|
267
|
+
fragment-fr-bare-street-v22: 1.0
|
|
268
|
+
fragment-no: 1.0
|
|
269
|
+
gbpa-bs: 1.0
|
|
270
|
+
geonames-features: 1.0
|
|
271
|
+
gnaf: 1.0
|
|
272
|
+
ide-uy: 1.0
|
|
273
|
+
invented-anchor-absorption: 1.0
|
|
274
|
+
invented-house-venue: 1.0
|
|
275
|
+
invented-intersection: 1.0
|
|
276
|
+
invented-po-box-cedex: 1.0
|
|
277
|
+
invented-po-box-military: 1.0
|
|
278
|
+
invented-postal-guideline: 1.0
|
|
279
|
+
invented-postal-unit-guideline: 1.0
|
|
280
|
+
it-miur-scuole: 1.0
|
|
281
|
+
landregistry-im: 1.0
|
|
282
|
+
llv-li: 1.0
|
|
283
|
+
lv-varis: 1.0
|
|
284
|
+
nc-opt-agences: 1.0
|
|
285
|
+
opendata-az: 1.0
|
|
286
|
+
osm-ae: 1.0
|
|
287
|
+
osm-al: 1.0
|
|
288
|
+
osm-am: 1.0
|
|
289
|
+
osm-ao: 1.0
|
|
290
|
+
osm-ar: 1.0
|
|
291
|
+
osm-aw: 1.0
|
|
292
|
+
osm-az: 1.0
|
|
293
|
+
osm-ba: 1.0
|
|
294
|
+
osm-bb: 1.0
|
|
295
|
+
osm-bd: 1.0
|
|
296
|
+
osm-bh: 1.0
|
|
297
|
+
osm-bm: 1.0
|
|
298
|
+
osm-bn: 1.0
|
|
299
|
+
osm-bs: 1.0
|
|
300
|
+
osm-bt: 1.0
|
|
301
|
+
osm-bw: 1.0
|
|
302
|
+
osm-by: 1.0
|
|
303
|
+
osm-bz: 1.0
|
|
304
|
+
osm-cd: 1.0
|
|
305
|
+
osm-ci: 1.0
|
|
306
|
+
osm-cl: 1.0
|
|
307
|
+
osm-co: 1.0
|
|
308
|
+
osm-cr: 1.0
|
|
309
|
+
osm-cu: 1.0
|
|
310
|
+
osm-cw: 1.0
|
|
311
|
+
osm-do: 1.0
|
|
312
|
+
osm-dz: 1.0
|
|
313
|
+
osm-ec: 1.0
|
|
314
|
+
osm-eg: 1.0
|
|
315
|
+
osm-ge: 1.0
|
|
316
|
+
osm-gg: 1.0
|
|
317
|
+
osm-gh: 1.0
|
|
318
|
+
osm-gl: 1.0
|
|
319
|
+
osm-gt: 1.0
|
|
320
|
+
osm-hk: 1.0
|
|
321
|
+
osm-ht: 1.0
|
|
322
|
+
osm-id: 1.0
|
|
323
|
+
osm-in: 1.0
|
|
324
|
+
osm-iq: 1.0
|
|
325
|
+
osm-ir: 1.0
|
|
326
|
+
osm-je: 1.0
|
|
327
|
+
osm-jm: 1.0
|
|
328
|
+
osm-jo: 1.0
|
|
329
|
+
osm-ke: 1.0
|
|
330
|
+
osm-kg: 1.0
|
|
331
|
+
osm-kh: 1.0
|
|
332
|
+
osm-kw: 1.0
|
|
333
|
+
osm-kz: 1.0
|
|
334
|
+
osm-lb: 1.0
|
|
335
|
+
osm-lk: 1.0
|
|
336
|
+
osm-lr: 1.0
|
|
337
|
+
osm-ma: 1.0
|
|
338
|
+
osm-md: 1.0
|
|
339
|
+
osm-me: 1.0
|
|
340
|
+
osm-mg: 1.0
|
|
341
|
+
osm-mk: 1.0
|
|
342
|
+
osm-mm: 1.0
|
|
343
|
+
osm-mn: 1.0
|
|
344
|
+
osm-mo: 1.0
|
|
345
|
+
osm-mt: 1.0
|
|
346
|
+
osm-mv: 1.0
|
|
347
|
+
osm-my: 1.0
|
|
348
|
+
osm-mz: 1.0
|
|
349
|
+
osm-na: 1.0
|
|
350
|
+
osm-ng: 1.0
|
|
351
|
+
osm-np: 1.0
|
|
352
|
+
osm-om: 1.0
|
|
353
|
+
osm-pa: 1.0
|
|
354
|
+
osm-pe: 1.0
|
|
355
|
+
osm-pf: 1.0
|
|
356
|
+
osm-ph: 1.0
|
|
357
|
+
osm-pk: 1.0
|
|
358
|
+
osm-pr: 1.0
|
|
359
|
+
osm-py: 1.0
|
|
360
|
+
osm-qa: 1.0
|
|
361
|
+
osm-rs: 1.0
|
|
362
|
+
osm-ru: 1.0
|
|
363
|
+
osm-rw: 1.0
|
|
364
|
+
osm-sa: 1.0
|
|
365
|
+
osm-sm: 1.0
|
|
366
|
+
osm-sn: 1.0
|
|
367
|
+
osm-sr: 1.0
|
|
368
|
+
osm-sv: 1.0
|
|
369
|
+
osm-th: 1.0
|
|
370
|
+
osm-tj: 1.0
|
|
371
|
+
osm-tm: 1.0
|
|
372
|
+
osm-tn: 1.0
|
|
373
|
+
osm-tt: 1.0
|
|
374
|
+
osm-tz: 1.0
|
|
375
|
+
osm-ua: 1.0
|
|
376
|
+
osm-ug: 1.0
|
|
377
|
+
osm-uz: 1.0
|
|
378
|
+
osm-ve: 1.0
|
|
379
|
+
osm-vi: 1.0
|
|
380
|
+
osm-vn: 1.0
|
|
381
|
+
osm-zm: 1.0
|
|
382
|
+
osm-zw: 1.0
|
|
383
|
+
rendered-bd-register: 1.0
|
|
384
|
+
rendered-ch: 1.0
|
|
385
|
+
rendered-cz-pcfirst-preposition-v21: 1.0
|
|
386
|
+
rendered-de: 1.0
|
|
387
|
+
rendered-former-divisions: 1.0
|
|
388
|
+
rendered-fr-admin-split: 1.0
|
|
389
|
+
rendered-fr-order: 1.0
|
|
390
|
+
rendered-gb-os-open: 1.0
|
|
391
|
+
rendered-hr: 1.0
|
|
392
|
+
rendered-lu: 1.0
|
|
393
|
+
rendered-nl-postcode: 1.0
|
|
394
|
+
rendered-nz: 1.0
|
|
395
|
+
rendered-pk-register: 1.0
|
|
396
|
+
rendered-prominent-places: 1.0
|
|
397
|
+
rendered-pt: 1.0
|
|
398
|
+
rendered-sg-register: 1.0
|
|
399
|
+
rendered-si-bare-village: 1.0
|
|
400
|
+
rendered-sk: 1.0
|
|
401
|
+
rendered-us-city-county: 1.0
|
|
402
|
+
rendered-us-city-state: 1.0
|
|
403
|
+
rendered-us-county: 1.0
|
|
404
|
+
ro-retea-scolara: 1.0
|
|
405
|
+
ryhti-ax: 1.0
|
|
406
|
+
spliced-affix: 1.0
|
|
407
|
+
spliced-country: 1.0
|
|
408
|
+
spliced-sub-venue: 1.0
|
|
409
|
+
spliced-suffix-boundary: 1.0
|
|
410
|
+
spliced-trailing-region-ca-bare: 1.0
|
|
411
|
+
spliced-trailing-region-es-v28: 1.0
|
|
412
|
+
spliced-trailing-region-us: 1.0
|
|
413
|
+
spliced-unit-v30: 1.0
|
|
414
|
+
usgov-hrsa-fqhc: 1.0
|
|
415
|
+
wikidata-vital-places: 1.0
|
|
416
|
+
wof-admin: 1.0
|
|
417
|
+
wof-postalcode: 1.0
|
|
418
|
+
required_validation_coverage:
|
|
419
|
+
- country: GB
|
|
420
|
+
min_rows: 1000
|
|
421
|
+
min_street_rows: 1000
|
|
422
|
+
- country: FR
|
|
423
|
+
min_rows: 1000
|
|
424
|
+
min_street_rows: 1000
|
|
425
|
+
- country: DE
|
|
426
|
+
min_rows: 1000
|
|
427
|
+
min_street_rows: 1000
|
|
428
|
+
- country: US
|
|
429
|
+
min_rows: 1000
|
|
430
|
+
min_street_rows: 1000
|
|
431
|
+
- country: RU
|
|
432
|
+
min_rows: 20
|
|
433
|
+
min_street_rows: 10
|
|
434
|
+
- country: CN
|
|
435
|
+
min_rows: 20
|
|
436
|
+
min_street_rows: 10
|
|
437
|
+
- country: IN
|
|
438
|
+
min_rows: 20
|
|
439
|
+
min_street_rows: 10
|
|
440
|
+
- country: ID
|
|
441
|
+
min_rows: 20
|
|
442
|
+
min_street_rows: 10
|
|
443
|
+
- country: NG
|
|
444
|
+
min_rows: 20
|
|
445
|
+
min_street_rows: 10
|
|
446
|
+
- country: PK
|
|
447
|
+
min_rows: 20
|
|
448
|
+
min_street_rows: 10
|
|
449
|
+
- country: BD
|
|
450
|
+
min_rows: 20
|
|
451
|
+
min_street_rows: 10
|
|
452
|
+
- country: VN
|
|
453
|
+
min_rows: 20
|
|
454
|
+
min_street_rows: 10
|
|
455
|
+
- country: RO
|
|
456
|
+
min_rows: 20
|
|
457
|
+
min_street_rows: 10
|
|
458
|
+
- country: LV
|
|
459
|
+
min_rows: 20
|
|
460
|
+
min_street_rows: 10
|
|
461
|
+
- country: GP
|
|
462
|
+
min_rows: 20
|
|
463
|
+
min_street_rows: 10
|
|
464
|
+
- country: MQ
|
|
465
|
+
min_rows: 20
|
|
466
|
+
min_street_rows: 10
|
|
467
|
+
- country: GF
|
|
468
|
+
min_rows: 20
|
|
469
|
+
min_street_rows: 10
|
|
470
|
+
- country: RE
|
|
471
|
+
min_rows: 20
|
|
472
|
+
min_street_rows: 10
|
|
473
|
+
- country: YT
|
|
474
|
+
min_rows: 20
|
|
475
|
+
min_street_rows: 10
|
|
476
|
+
- country: NC
|
|
477
|
+
min_rows: 20
|
|
478
|
+
min_street_rows: 10
|
|
479
|
+
- country: PF
|
|
480
|
+
min_rows: 20
|
|
481
|
+
min_street_rows: 10
|
|
482
|
+
required_validation_label_support:
|
|
483
|
+
- {label: postcode, split: val, min_rows: 7567}
|
|
484
|
+
- {label: locality, split: val, min_rows: 9478}
|
|
485
|
+
- {label: street, split: val, min_rows: 8259}
|
|
486
|
+
- {label: house_number, split: val, min_rows: 7551}
|
|
487
|
+
- {label: region, split: val, min_rows: 2576}
|
|
488
|
+
- {label: street_suffix, split: val, min_rows: 884}
|
|
489
|
+
- {label: street_prefix, split: val, min_rows: 1291}
|
|
490
|
+
- {label: venue, split: val, min_rows: 2037}
|
|
491
|
+
- {label: unit, split: val, min_rows: 181}
|
|
492
|
+
- {label: country, split: val, min_rows: 1260}
|
|
493
|
+
augment_exclude_sources:
|
|
494
|
+
- spliced-suffix-boundary
|
|
495
|
+
- codex-bare-postcode
|
|
496
|
+
train_rows_per_epoch: 38400000
|
|
497
|
+
val_rows: 36864
|
|
498
|
+
coarse_filter: true
|
|
499
|
+
code_unit_features: true
|
|
500
|
+
augment_directional_prob: 0.3
|
|
501
|
+
augment_region_prob: 0.3
|
|
502
|
+
augment_glue_prob: 0.25
|
|
503
|
+
augment_ordinal_prob: 0.3
|
|
504
|
+
augment_case_prob: 0.15
|
|
505
|
+
augment_upper_case_prob: 0.1
|
|
506
|
+
augment_punct_drop_prob: 0.3
|
|
507
|
+
augment_postcode_move_prob: 0.0
|
|
508
|
+
augment_grouping_prob: 0.1
|
|
509
|
+
augment_drop_commas_prob: 0.25
|
|
510
|
+
augment_double_space_prob: 0.05
|
|
511
|
+
augment_line_breaks_prob: 0.15
|
|
512
|
+
augment_accent_strip_prob: 0.15
|
|
513
|
+
anchor_lookup_path: /data/anchor/pilot-anchor-lookup-v2-2026-08-05.json
|
|
514
|
+
gazetteer_lexicon_path: /data/gazetteer/anchor-lexicon-v1.json
|
|
515
|
+
country_lexicon_path: /data/gazetteer/country-surface-lexicon-v1.json
|
|
516
|
+
gazetteer_choreography: true
|
|
517
|
+
affix_relabel_lexicon_path: /data/gazetteer/affix-relabel-lexicon-v2.json
|
|
518
|
+
anchor_paint_mode: postal
|
|
519
|
+
anchor_value_mode: posterior_latlon
|
|
520
|
+
street_type_lexicon_path: /data/gazetteer/street-type-lexicon-v3.json
|
|
521
|
+
locality_surface_lexicon_path: /data/gazetteer/locality-surface-lexicon-v7.json
|
|
522
|
+
outcome_masks_path: packages/trainer/data/outcome-masks/v0.9.0-compact.json
|
|
523
|
+
|
|
524
|
+
model:
|
|
525
|
+
use_byte_stem: true
|
|
526
|
+
byte_embed_dim: 64
|
|
527
|
+
byte_kernel_sizes: [1, 3, 5]
|
|
528
|
+
hidden_size: 512
|
|
529
|
+
num_hidden_layers: 8
|
|
530
|
+
num_attention_heads: 8
|
|
531
|
+
intermediate_size: 1536
|
|
532
|
+
max_position_embeddings: 128
|
|
533
|
+
type_vocab_size: 1
|
|
534
|
+
hidden_dropout_prob: 0.1
|
|
535
|
+
attention_probs_dropout_prob: 0.1
|
|
536
|
+
use_rel_pos_bias: true
|
|
537
|
+
rel_pos_max_dist: 32
|
|
538
|
+
use_phrase_priors: false
|
|
539
|
+
use_grammar_smear: true
|
|
540
|
+
grammar_layer: 2
|
|
541
|
+
num_grammar_families: 10
|
|
542
|
+
smear_rank: 12
|
|
543
|
+
smear_start_layer: 4
|
|
544
|
+
grammar_loss_weight: 0.2
|
|
545
|
+
use_crf: true
|
|
546
|
+
crf_loss_weight: 0.3
|
|
547
|
+
crf_normalization: per_token
|
|
548
|
+
label_smoothing: 0.05
|
|
549
|
+
use_span_scorer: true
|
|
550
|
+
span_loss_weight: 0.25
|
|
551
|
+
span_dim: 128
|
|
552
|
+
max_span: 8
|
|
553
|
+
use_conventions_loss_mask: true
|
|
554
|
+
use_locale_conditioning: true
|
|
555
|
+
locale_loss_weight: 0.3
|
|
556
|
+
use_address_system_head: true
|
|
557
|
+
address_system_loss_weight: 0.3
|
|
558
|
+
use_locale_hint: true
|
|
559
|
+
locale_hint_drop_prob: 0.5
|
|
560
|
+
locale_hint_noise_prob: 0.05
|
|
561
|
+
use_outcome_head: true
|
|
562
|
+
use_outcome_attn_pool: true
|
|
563
|
+
outcome_loss_weight: 0.3
|
|
564
|
+
use_outcome_hint: true
|
|
565
|
+
outcome_hint_prob: 0.35
|
|
566
|
+
outcome_hint_noise_prob: 0.15
|
|
567
|
+
outcome_hint_parent_only: true
|
|
568
|
+
outcome_mask_loss_on_hint: true
|
|
569
|
+
outcome_class_weights:
|
|
570
|
+
address: 1.0
|
|
571
|
+
place: 1.0
|
|
572
|
+
postal: 1.0
|
|
573
|
+
natural: 1.5
|
|
574
|
+
venue: 1.2
|
|
575
|
+
transit: 2.0
|
|
576
|
+
use_postcode_anchor: true
|
|
577
|
+
use_gazetteer_anchor: true
|
|
578
|
+
gazetteer_feature_dim: 5
|
|
579
|
+
use_country_anchor: true
|
|
580
|
+
country_feature_dim: 2
|
|
581
|
+
country_ambiguous_scale: 0.5
|
|
582
|
+
use_street_type_anchor: true
|
|
583
|
+
street_type_feature_dim: 1
|
|
584
|
+
use_locality_surface_anchor: true
|
|
585
|
+
locality_surface_feature_dim: 2
|
|
586
|
+
use_code_unit_anchor: true
|
|
587
|
+
code_unit_feature_dim: 5
|
|
588
|
+
class_weights:
|
|
589
|
+
O: 0.5
|
|
590
|
+
B-country: 3.5
|
|
591
|
+
I-country: 3.5
|
|
592
|
+
B-region: 1.5
|
|
593
|
+
I-region: 1.5
|
|
594
|
+
B-locality: 2.0
|
|
595
|
+
I-locality: 2.0
|
|
596
|
+
B-dependent_locality: 1.0
|
|
597
|
+
I-dependent_locality: 1.0
|
|
598
|
+
B-postcode: 1.5
|
|
599
|
+
I-postcode: 1.5
|
|
600
|
+
B-subregion: 1.0
|
|
601
|
+
I-subregion: 1.0
|
|
602
|
+
B-cedex: 1.0
|
|
603
|
+
I-cedex: 1.0
|
|
604
|
+
B-venue: 1.5
|
|
605
|
+
I-venue: 1.5
|
|
606
|
+
B-street: 2.0
|
|
607
|
+
I-street: 2.0
|
|
608
|
+
B-house_number: 1.5
|
|
609
|
+
I-house_number: 1.5
|
|
610
|
+
B-street_prefix: 1.5
|
|
611
|
+
I-street_prefix: 1.5
|
|
612
|
+
B-street_suffix: 1.5
|
|
613
|
+
I-street_suffix: 1.5
|
|
614
|
+
B-unit: 1.5
|
|
615
|
+
I-unit: 1.5
|
|
616
|
+
B-po_box: 1.5
|
|
617
|
+
I-po_box: 1.5
|
|
618
|
+
B-intersection_a: 1.0
|
|
619
|
+
I-intersection_a: 1.0
|
|
620
|
+
B-intersection_b: 1.0
|
|
621
|
+
I-intersection_b: 1.0
|
|
622
|
+
B-prefecture: 1.5
|
|
623
|
+
I-prefecture: 1.5
|
|
624
|
+
B-municipality: 1.5
|
|
625
|
+
I-municipality: 1.5
|
|
626
|
+
B-district: 1.5
|
|
627
|
+
I-district: 1.5
|
|
628
|
+
B-block: 1.0
|
|
629
|
+
I-block: 1.0
|
|
630
|
+
B-sub_block: 1.0
|
|
631
|
+
I-sub_block: 1.0
|
|
632
|
+
B-building_number: 1.0
|
|
633
|
+
I-building_number: 1.0
|
|
634
|
+
B-building_name: 1.0
|
|
635
|
+
I-building_name: 1.0
|
|
636
|
+
B-locality_unit: 1.5
|
|
637
|
+
I-locality_unit: 1.5
|
|
638
|
+
|
|
639
|
+
train:
|
|
640
|
+
init_from: ""
|
|
641
|
+
output_dir: /data/output-v900-bytestem-v090-s42/checkpoints
|
|
642
|
+
seed: 42
|
|
643
|
+
batch_size: 512
|
|
644
|
+
eval_batch_size: 128
|
|
645
|
+
grad_accum_steps: 1
|
|
646
|
+
learning_rate: 5.0e-4
|
|
647
|
+
weight_decay: 0.01
|
|
648
|
+
warmup_steps: 2000
|
|
649
|
+
grad_clip_norm: 1.0
|
|
650
|
+
max_steps: 75000
|
|
651
|
+
eval_every_steps: 5000
|
|
652
|
+
save_every_steps: 5000
|
|
653
|
+
log_every_steps: 50
|
|
654
|
+
cuda_graph: false
|
|
655
|
+
precision: bf16
|
|
656
|
+
num_workers: 0
|
|
657
|
+
csv_log_path: "{output_dir}/../train_log.csv"
|
|
658
|
+
lr_schedule: cosine
|
|
659
|
+
gazetteer_curriculum: true
|
|
660
|
+
evidence_curriculum: true
|
|
661
|
+
evidence_noise_prob: 0.15
|
|
662
|
+
|
|
663
|
+
eval:
|
|
664
|
+
golden_dir: /data/eval/golden/v0.1.3
|
|
665
|
+
val_jsonl: ""
|