notforu777 commited on
Commit
6ec2c42
·
verified ·
1 Parent(s): 21bf47a

builds/nemotron-omni-moe: nemotron_h_moe MoE shares on the model's own markup

Browse files

Recipe nemotron-omni-moe (experiments/calib_nemotron/recipes/nemotron-moe.yaml in atomic-quantizer), rendered through the model's own chat_template.jinja (auto_fmt), its vocabulary sweep (131072 rows, the Lightning tokenizer). Pool documents sharing a 13-gram with an eval file were left out of the build (purge_overlap); the pool itself is unchanged by this commit.

builds/nemotron-omni-moe/calib_longctx.manifest.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:354542e7b40faa618106cc1bdb91597d158ca74464f6a86d0f95ac59b3f93292
3
+ size 7249
builds/nemotron-omni-moe/calib_longctx.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f04ebaf4030b3b5e4d785b4a7d326a907a053de7c4567f8d809bceca9a959007
3
+ size 2798988
builds/nemotron-omni-moe/calib_train.manifest.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:299552ae568484f1b2ae0da2d9bbeb617ce4f66a744d53bb2a266e2d7acae381
3
+ size 1019098
builds/nemotron-omni-moe/calib_train.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c4fd31a4096783d2a2bd0e7bae53b4108efab61436e4389eef567834e2be65e
3
+ size 16648839
builds/nemotron-omni-moe/manifest.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "build": "nemotron-omni-moe",
3
+ "built_at": null,
4
+ "build_tool_version": "build.py/1.0",
5
+ "recipe": {
6
+ "path": "recipes/nemotron-omni-moe.yaml",
7
+ "sha256": "c2dff0a3e1844d5b6fdacfbe2c7aa58a915c9c0660b5c7f18bf673fc22e15557",
8
+ "seed": 20261015
9
+ },
10
+ "model": {
11
+ "repo": "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16",
12
+ "tokenizer": "/src/tokenizer.json",
13
+ "vocab_size": 131072,
14
+ "layers": 88,
15
+ "sliding_window": null,
16
+ "context_length": 262144,
17
+ "llama_cpp_commit": "e64207bab6c2"
18
+ },
19
+ "tokenizer": {
20
+ "path": "/src/tokenizer.json",
21
+ "sha256": "d0432ad8b1c2984a2e2dca82e1933e3fd5628df6e95c51fba4c3ee9950dce299",
22
+ "rows": 131072,
23
+ "pre_tokenizer": "llama4"
24
+ },
25
+ "llama_cpp": {
26
+ "commit": "e64207bab6c2",
27
+ "note": "llama-imatrix must be given --parse-special or the chat markup in calib_train.txt is tokenised as literal text (parse_special defaults to false in that tool)"
28
+ },
29
+ "calib_train": {
30
+ "path": "calib_train.txt",
31
+ "sha256": "9c4fd31a4096783d2a2bd0e7bae53b4108efab61436e4389eef567834e2be65e",
32
+ "bytes": 16648839,
33
+ "documents": 2820,
34
+ "tokens": 4589438,
35
+ "target_tokens": 5000000,
36
+ "document_separator": "\n\n",
37
+ "shares_requested_percent": {
38
+ "agentic": 22.0,
39
+ "code": 16.0,
40
+ "graphics": 4.0,
41
+ "longctx": 10.0,
42
+ "multilingual": 18.0,
43
+ "reasoning": 12.0,
44
+ "structured": 6.0,
45
+ "vocab_sweep": 12.0
46
+ },
47
+ "shares_actual_percent": {
48
+ "agentic": 24.0,
49
+ "code": 17.441,
50
+ "graphics": 4.37,
51
+ "longctx": 11.145,
52
+ "multilingual": 19.639,
53
+ "reasoning": 13.091,
54
+ "structured": 4.393,
55
+ "vocab_sweep": 5.92
56
+ },
57
+ "documents_by_category": {
58
+ "agentic": 374,
59
+ "code": 501,
60
+ "graphics": 127,
61
+ "longctx": 22,
62
+ "multilingual": 214,
63
+ "reasoning": 1018,
64
+ "structured": 451,
65
+ "vocab_sweep": 113
66
+ },
67
+ "tokens_by_category": {
68
+ "agentic": 1101485,
69
+ "code": 800459,
70
+ "graphics": 200568,
71
+ "longctx": 511472,
72
+ "multilingual": 901311,
73
+ "reasoning": 600803,
74
+ "structured": 201626,
75
+ "vocab_sweep": 271714
76
+ },
77
+ "synthetic_tokens": 2035924,
78
+ "synthetic_percent": 44.361,
79
+ "document_tokens": {
80
+ "p50": 643,
81
+ "p90": 3908,
82
+ "p95": 6020,
83
+ "p99": 15868,
84
+ "max": 51537,
85
+ "min": 65
86
+ }
87
+ },
88
+ "pool_sources": {
89
+ "pool/_quarantine/eval-residue.jsonl": {
90
+ "sha256": "9e7703a3c205b425f83f17110cf7a00b7558f8ed501b45f1fcb0f4145f5f2579",
91
+ "bytes": 1635378,
92
+ "documents": 64
93
+ },
94
+ "pool/_quarantine/removed.jsonl": {
95
+ "sha256": "28615d8080e4b3b95a29447402e8163786c42e23e6c5175a18783a591bde13d0",
96
+ "bytes": 8600246,
97
+ "documents": 1056
98
+ },
99
+ "pool/_quarantine/untokenizable.jsonl": {
100
+ "sha256": "8226d1b281ce13ceab909c06383d78176b3cc5c2d3f1a49094ef808e3f220335",
101
+ "bytes": 88848,
102
+ "documents": 2
103
+ },
104
+ "pool/agentic/synthetic/conversations.jsonl": {
105
+ "sha256": "40478e56fdee9bf965b0e56800e3d940e772db11e856f0170d92043d86861973",
106
+ "bytes": 5641610,
107
+ "documents": 531
108
+ },
109
+ "pool/agentic/synthetic/legacy-dsv4-rendered.jsonl": {
110
+ "sha256": "24e99d36930e6547e90058654b712ae50a1294a1cdc4da7b38ae688a97537dca",
111
+ "bytes": 948845,
112
+ "documents": 50
113
+ },
114
+ "pool/code/legacy-dsv4.jsonl": {
115
+ "sha256": "28076d09ec882624d77b30289094ab65ae8c1fb57d3dceb55011b5e81fa99916",
116
+ "bytes": 471958,
117
+ "documents": 119
118
+ },
119
+ "pool/code/repos.jsonl": {
120
+ "sha256": "549d67465b052d78a4277da12033840309d767cd897f7d1280df408b43bbc916",
121
+ "bytes": 9133710,
122
+ "documents": 831
123
+ },
124
+ "pool/german/agentic_de.jsonl": {
125
+ "sha256": "f7afba5c9872c9e69f6fc9b0e4eb72dc1e80d8eaef1c92c736636b924eb00609",
126
+ "bytes": 1230904,
127
+ "documents": 735
128
+ },
129
+ "pool/german/germanrag.jsonl": {
130
+ "sha256": "23a5c7e8d2cea57ab8e01d5c8b953b81e6eb7811f12dae4b59b8396ceebf27ba",
131
+ "bytes": 1029498,
132
+ "documents": 265
133
+ },
134
+ "pool/german/longctx.jsonl": {
135
+ "sha256": "26d9b0f152105337fad88e098dcffa7dbcae8fe3eccd8c0a35850603b485ea60",
136
+ "bytes": 2488298,
137
+ "documents": 24
138
+ },
139
+ "pool/german/oasst2.jsonl": {
140
+ "sha256": "8ca93fad0812efdc21ed2ce06123627e97f41345eda8939419bd5af9b131ac01",
141
+ "bytes": 888635,
142
+ "documents": 410
143
+ },
144
+ "pool/german/ultrachat_de.jsonl": {
145
+ "sha256": "d42ccac07f7187c1f55f4de99335be4164f3b663d4319c2c29c31f234019d280",
146
+ "bytes": 1698445,
147
+ "documents": 488
148
+ },
149
+ "pool/german/wikipedia.jsonl": {
150
+ "sha256": "f0771f38f5f42aee0ff88741b7f6188b8b3bad3f0927181f1038716374285494",
151
+ "bytes": 2291623,
152
+ "documents": 443
153
+ },
154
+ "pool/graphics/legacy-dsv4.jsonl": {
155
+ "sha256": "09e62f79a8859e2c0f275bc38b93dde63f5751660eb3e9fc8636782cb47d3689",
156
+ "bytes": 2068241,
157
+ "documents": 335
158
+ },
159
+ "pool/graphics/repos.jsonl": {
160
+ "sha256": "862600d1842bd530e65884d8bc4bfcfa8892ddd1e430a927f30d35651539b7d1",
161
+ "bytes": 6231338,
162
+ "documents": 827
163
+ },
164
+ "pool/longctx/legacy-dsv4.jsonl": {
165
+ "sha256": "1f17bf4553c25558953fd746ce3bce278e932690e02d926395f8ecf21dacc100",
166
+ "bytes": 591648,
167
+ "documents": 10
168
+ },
169
+ "pool/longctx/module-bundles.jsonl": {
170
+ "sha256": "767b0cb154af75a8e5023e948f39fb3cbef424c99ba643779c5bd3e289945bb5",
171
+ "bytes": 9837165,
172
+ "documents": 83
173
+ },
174
+ "pool/multilingual/legacy-dsv4-wikipedia.jsonl": {
175
+ "sha256": "aa0344e84c60e1c423ac543d205bad77e3c0cc475799ddcb76d4e338cbdfb266",
176
+ "bytes": 420903,
177
+ "documents": 14
178
+ },
179
+ "pool/multilingual/wikipedia.jsonl": {
180
+ "sha256": "0cd11f4e6a768439f37aa354c422eb980d161e9ac2a8dde856a2f61a362480d0",
181
+ "bytes": 12207837,
182
+ "documents": 687
183
+ },
184
+ "pool/reasoning/synthetic/conversations.jsonl": {
185
+ "sha256": "9e890645baaad2045ac87ce9a9649082ccc37bec1c3d72b1da2a5b6c92af3e2f",
186
+ "bytes": 6724419,
187
+ "documents": 3015
188
+ },
189
+ "pool/reasoning/synthetic/legacy-dsv4-rendered.jsonl": {
190
+ "sha256": "e690d0acb22a427e0b17f57ee8f255a36c5550de23775a52c9117198b02e8f95",
191
+ "bytes": 440412,
192
+ "documents": 153
193
+ },
194
+ "pool/structured/legacy-dsv4.jsonl": {
195
+ "sha256": "e0a6537986934b5418b6d711c2712728979e1019eb6ca40885429fc068e8c6d4",
196
+ "bytes": 108168,
197
+ "documents": 19
198
+ },
199
+ "pool/structured/repos.jsonl": {
200
+ "sha256": "631c8fd66fa7fc1d60fe50e257385512c77e0c1d0e1a86f88a482c29e0b2f83c",
201
+ "bytes": 1226353,
202
+ "documents": 227
203
+ },
204
+ "pool/structured/synthetic/structured-in-chat.jsonl": {
205
+ "sha256": "435a1be5a7b8bd230105b85fbe708649fb2ddef5a65198bdd808bcff1b3d1b64",
206
+ "bytes": 395812,
207
+ "documents": 207
208
+ },
209
+ "pool/vocab_sweep/synthetic/kolibri-1-moe.jsonl": {
210
+ "sha256": "3d165633bb5201090c11a63671e4f993e054cc342881007eb03b29e03d89cf27",
211
+ "bytes": 1323571,
212
+ "documents": 110
213
+ },
214
+ "pool/vocab_sweep/synthetic/legacy-dsv4-rendered.jsonl": {
215
+ "sha256": "e30414d83fc63d1a5bb293a50d174eb65385efa237111f7ae001f923a9498424",
216
+ "bytes": 745316,
217
+ "documents": 65
218
+ },
219
+ "pool/vocab_sweep/synthetic/minicpm-v-4.6-moe.jsonl": {
220
+ "sha256": "c8bcca4781cb4b842f42e3c4c5c699effde6aca401e85f656ace5fd4946db2b4",
221
+ "bytes": 2509124,
222
+ "documents": 208
223
+ },
224
+ "pool/vocab_sweep/synthetic/minicpm-v-4.6.jsonl": {
225
+ "sha256": "c8bcca4781cb4b842f42e3c4c5c699effde6aca401e85f656ace5fd4946db2b4",
226
+ "bytes": 2509124,
227
+ "documents": 208
228
+ },
229
+ "pool/vocab_sweep/synthetic/minicpm-v-4.7-moe.jsonl": {
230
+ "sha256": "e2c3b5b513d5c43e4f57d04f2094b8d62ba775bf8559b2f116327bbc36321417",
231
+ "bytes": 2746220,
232
+ "documents": 216
233
+ },
234
+ "pool/vocab_sweep/synthetic/minicpm-v-4.7.jsonl": {
235
+ "sha256": "2dfd825f85e2c9f31a28e3d1dc1a1fe25b3fa06fd0b3ac94630d21130a3c0cec",
236
+ "bytes": 2512036,
237
+ "documents": 208
238
+ },
239
+ "pool/vocab_sweep/synthetic/muse-glimmer-30b.jsonl": {
240
+ "sha256": "4eb612024896df3b979fa74b92cc27ddbce56af100a14611bcfccd4ea9ce92c5",
241
+ "bytes": 2068343,
242
+ "documents": 172
243
+ },
244
+ "pool/vocab_sweep/synthetic/nemotron-3.5-lightning.jsonl": {
245
+ "sha256": "cd73220ef1ac82132a4c2b217f77af7b2eaea2c06939394fe36650221cc22a1d",
246
+ "bytes": 1269096,
247
+ "documents": 113
248
+ },
249
+ "pool/vocab_sweep/synthetic/nemotron-omni-moe.jsonl": {
250
+ "sha256": "2efb1a379e2e5b837a3baf362553e981b63fff67ca48762d093ebb91397b9e90",
251
+ "bytes": 1267229,
252
+ "documents": 113
253
+ },
254
+ "pool/vocab_sweep/synthetic/nemotron-puzzle-moe.jsonl": {
255
+ "sha256": "fd584ab5a8d7f8cd92208e1319697922955dcf914b452a8a356b41f7933a765e",
256
+ "bytes": 1267288,
257
+ "documents": 113
258
+ },
259
+ "pool/vocab_sweep/synthetic/qwen3.8-flash-next-moe.jsonl": {
260
+ "sha256": "ee4657dd2394309d06d6e6a978e020d535e0f899c0b80ca2067672889a276913",
261
+ "bytes": 2508961,
262
+ "documents": 208
263
+ }
264
+ },
265
+ "calib_longctx": {
266
+ "path": "calib_longctx.txt",
267
+ "sha256": "f04ebaf4030b3b5e4d785b4a7d326a907a053de7c4567f8d809bceca9a959007",
268
+ "documents": 29,
269
+ "tokens": 771448,
270
+ "document_tokens": {
271
+ "min": 17493,
272
+ "p50": 28668,
273
+ "max": 32706
274
+ },
275
+ "contiguous": true
276
+ }
277
+ }
pool/vocab_sweep/synthetic/nemotron-omni-moe.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2efb1a379e2e5b837a3baf362553e981b63fff67ca48762d093ebb91397b9e90
3
+ size 1267229
recipes/nemotron-omni-moe.yaml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Calibration recipe template for nemotron_h_moe models (Mamba-2 + attention + latent MoE): rendered
2
+ # once for the rehearsal proxy NVIDIA-Nemotron-Labs-3-Puzzle-75B-A9B and again for Nemotron 3.5 Bolt
3
+ # 74B-A9B if its template differs. node_corpus_nemotron.sh fills in name and repo.
4
+ #
5
+ # Against nemotron-3.5-lightning (calib-corpora, 2026-08-12):
6
+ # - same tokenizer (tokenizer.json, tokenizer_config.json, added tokens: fingerprints/), so the
7
+ # vocabulary sweep carries over;
8
+ # - Puzzle's template closes <think> with newlines on both sides and adds low_effort, so the
9
+ # Lightning build's markup is not this model's: re-rendered here (chat.format auto drives the
10
+ # model's own chat_template.jinja);
11
+ # - MoE shares instead of Lightning's dense-like ones.
12
+ #
13
+ # Architecture facts that matter here (Puzzle 75B-A9B, config.json):
14
+ # 88 blocks: 40 Mamba-2, 40 MoE, 8 attention (5 of every 11 blocks carry state through Mamba-2 only)
15
+ # hidden 4096, latent 1024 (%256 = 0); expert width per layer 1280..2688 (2688 is not %256)
16
+ # 512 routed experts, 4..18 active per layer: ~5M * 10 / 512 = ~100k tokens per expert
17
+ #
18
+ # Shares (they sum to 100):
19
+ # agentic 22 tool markup (<tool_call>, <tool_response>) is a dense token set natural text never emits
20
+ # code 16 the agentic benchmarks NVIDIA reports are code shaped
21
+ # reasoning 12 the template thinks by default; on MoE the slack goes to multilingual and vocab
22
+ # multilingual 18 non-Latin text routes to experts English never touches
23
+ # longctx 10 only 8 of 88 blocks are attention: long documents drive the Mamba state; plus calib_longctx
24
+ # vocab_sweep 12 every id routes somewhere
25
+ # structured 6 JSON, YAML, TOML, SQL, as files and inside assistant turns
26
+ # graphics 4
27
+
28
+ name: nemotron-omni-moe
29
+
30
+ model:
31
+ repo: nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16
32
+ tokenizer: /src/tokenizer.json
33
+ vocab_size: 131072
34
+ layers: 88
35
+ sliding_window: null
36
+ context_length: 262144
37
+ llama_cpp_commit: 'e64207bab6c2'
38
+
39
+ seed: 20261015
40
+
41
+ chat:
42
+ format: auto
43
+ # tokenizer_config.json has add_bos_token = false and the template emits no BOS (as Lightning)
44
+ add_bos_per_document: false
45
+
46
+ calib_train:
47
+ target_tokens: 5000000
48
+ max_doc_fraction:
49
+ default: 0.05
50
+ longctx: 0.12
51
+ shares:
52
+ agentic: 22
53
+ code: 16
54
+ reasoning: 12
55
+ multilingual: 18
56
+ longctx: 10
57
+ vocab_sweep: 12
58
+ structured: 6
59
+ graphics: 4
60
+
61
+ calib_longctx:
62
+ target_tokens: 750000
63
+ doc_tokens_min: 16384
64
+ doc_tokens_max: 32768
65
+ sources: [longctx]
66
+
67
+ exclude:
68
+ # Anything pre-rendered with another model's markup, the Lightning (nemotron) render included:
69
+ # its </think> differs from this template's.
70
+ render: [dsv4, nemotron, muse-glimmer]
71
+ provenance_key: excluded_from_builds
72
+
73
+ notes:
74
+ imatrix: >
75
+ llama-imatrix defaults to parse_special = false. Without --parse-special the chat markup in
76
+ calib_train.txt is tokenised as literal punctuation and the agentic and reasoning slices calibrate
77
+ on text the model never sees.
78
+ mtp: >
79
+ The MTP block is never executed by a plain forward pass: llama-imatrix collects it only with
80
+ --nextn. The profile (moe-nemotron-h) keeps it at q8_0, which needs no imatrix.
81
+ vision: >
82
+ Image and video markers are not in the corpus: text calibration cannot give the mmproj's
83
+ embedding slots honest statistics. corpus_check specials runs with them excepted.