Ne30Charm commited on
Commit
1217368
·
verified ·
1 Parent(s): 12373e0

Upload ced-visualization.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. ced-visualization.json +3278 -0
ced-visualization.json ADDED
@@ -0,0 +1,3278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "causal-encoder-decoder",
3
+ "num_encoder_layers": 4,
4
+ "num_decoder_layers": 4,
5
+ "hidden_size": 384,
6
+ "num_attention_heads": 6,
7
+ "head_dim": 64,
8
+ "vocab_size": 8192,
9
+ "local_window": 64,
10
+ "max_position_embeddings": 512,
11
+ "position_encoding": "rope",
12
+ "normalization": "rmsnorm",
13
+ "activation": "swiglu",
14
+ "input": {
15
+ "name": "input_ids",
16
+ "dtype": "int64",
17
+ "semantic_shape": [
18
+ "batch=1",
19
+ "sequence"
20
+ ]
21
+ },
22
+ "mask_semantics": "int64: 1=allowed, 0=blocked; first T attention columns are global, next T are local",
23
+ "attention_probs_semantics": "softmax probabilities actually multiplied by concatenated values; first T keys global, next T local",
24
+ "outputs": {
25
+ "token_embeddings": {
26
+ "dtype": "float32",
27
+ "semantic_shape": [
28
+ "batch",
29
+ "sequence",
30
+ "feature"
31
+ ],
32
+ "example_shape": [
33
+ 1,
34
+ 4,
35
+ 384
36
+ ],
37
+ "meaning": "Learned token embedding before encoder blocks"
38
+ },
39
+ "encoder_0_input": {
40
+ "dtype": "float32",
41
+ "semantic_shape": [
42
+ "batch",
43
+ "sequence",
44
+ "feature"
45
+ ],
46
+ "example_shape": [
47
+ 1,
48
+ 4,
49
+ 384
50
+ ],
51
+ "meaning": "Block input before attention RMSNorm"
52
+ },
53
+ "encoder_0_norm1": {
54
+ "dtype": "float32",
55
+ "semantic_shape": [
56
+ "batch",
57
+ "sequence",
58
+ "feature"
59
+ ],
60
+ "example_shape": [
61
+ 1,
62
+ 4,
63
+ 384
64
+ ],
65
+ "meaning": "Block input after attention RMSNorm; local K/V source"
66
+ },
67
+ "encoder_0_q_pre_rope": {
68
+ "dtype": "float32",
69
+ "semantic_shape": [
70
+ "batch",
71
+ "head",
72
+ "sequence",
73
+ "head_dim"
74
+ ],
75
+ "example_shape": [
76
+ 1,
77
+ 6,
78
+ 4,
79
+ 64
80
+ ],
81
+ "meaning": "Query linear projection before RoPE"
82
+ },
83
+ "encoder_0_q": {
84
+ "dtype": "float32",
85
+ "semantic_shape": [
86
+ "batch",
87
+ "head",
88
+ "sequence",
89
+ "head_dim"
90
+ ],
91
+ "example_shape": [
92
+ 1,
93
+ 6,
94
+ 4,
95
+ 64
96
+ ],
97
+ "meaning": "Query after RoPE, used in attention scores"
98
+ },
99
+ "encoder_0_global_k_pre_rope": {
100
+ "dtype": "float32",
101
+ "semantic_shape": [
102
+ "batch",
103
+ "head",
104
+ "sequence",
105
+ "head_dim"
106
+ ],
107
+ "example_shape": [
108
+ 1,
109
+ 6,
110
+ 4,
111
+ 64
112
+ ],
113
+ "meaning": "Global key projection before RoPE; source: the block's norm1"
114
+ },
115
+ "encoder_0_global_k": {
116
+ "dtype": "float32",
117
+ "semantic_shape": [
118
+ "batch",
119
+ "head",
120
+ "sequence",
121
+ "head_dim"
122
+ ],
123
+ "example_shape": [
124
+ 1,
125
+ 6,
126
+ 4,
127
+ 64
128
+ ],
129
+ "meaning": "Global key after RoPE, used in attention scores; source: the block's norm1"
130
+ },
131
+ "encoder_0_global_v": {
132
+ "dtype": "float32",
133
+ "semantic_shape": [
134
+ "batch",
135
+ "head",
136
+ "sequence",
137
+ "head_dim"
138
+ ],
139
+ "example_shape": [
140
+ 1,
141
+ 6,
142
+ 4,
143
+ 64
144
+ ],
145
+ "meaning": "Global value projection used in attention output; source: the block's norm1"
146
+ },
147
+ "encoder_0_local_k_pre_rope": {
148
+ "dtype": "float32",
149
+ "semantic_shape": [
150
+ "batch",
151
+ "head",
152
+ "sequence",
153
+ "head_dim"
154
+ ],
155
+ "example_shape": [
156
+ 1,
157
+ 6,
158
+ 4,
159
+ 64
160
+ ],
161
+ "meaning": "Local key projection before RoPE"
162
+ },
163
+ "encoder_0_local_k": {
164
+ "dtype": "float32",
165
+ "semantic_shape": [
166
+ "batch",
167
+ "head",
168
+ "sequence",
169
+ "head_dim"
170
+ ],
171
+ "example_shape": [
172
+ 1,
173
+ 6,
174
+ 4,
175
+ 64
176
+ ],
177
+ "meaning": "Local key after RoPE, used in attention scores"
178
+ },
179
+ "encoder_0_local_v": {
180
+ "dtype": "float32",
181
+ "semantic_shape": [
182
+ "batch",
183
+ "head",
184
+ "sequence",
185
+ "head_dim"
186
+ ],
187
+ "example_shape": [
188
+ 1,
189
+ 6,
190
+ 4,
191
+ 64
192
+ ],
193
+ "meaning": "Local value projection used in attention output"
194
+ },
195
+ "encoder_0_combined_k": {
196
+ "dtype": "float32",
197
+ "semantic_shape": [
198
+ "batch",
199
+ "head",
200
+ "global+local-key",
201
+ "head_dim"
202
+ ],
203
+ "example_shape": [
204
+ 1,
205
+ 6,
206
+ 8,
207
+ 64
208
+ ],
209
+ "meaning": "Global keys followed by local keys on the sequence axis"
210
+ },
211
+ "encoder_0_combined_v": {
212
+ "dtype": "float32",
213
+ "semantic_shape": [
214
+ "batch",
215
+ "head",
216
+ "global+local-key",
217
+ "head_dim"
218
+ ],
219
+ "example_shape": [
220
+ 1,
221
+ 6,
222
+ 8,
223
+ 64
224
+ ],
225
+ "meaning": "Global values followed by local values on the sequence axis"
226
+ },
227
+ "encoder_0_global_mask": {
228
+ "dtype": "int64",
229
+ "semantic_shape": [
230
+ "batch",
231
+ "broadcast-head",
232
+ "query",
233
+ "key"
234
+ ],
235
+ "example_shape": [
236
+ 1,
237
+ 1,
238
+ 4,
239
+ 4
240
+ ],
241
+ "meaning": "Allowed global key positions; causal"
242
+ },
243
+ "encoder_0_local_mask": {
244
+ "dtype": "int64",
245
+ "semantic_shape": [
246
+ "batch",
247
+ "broadcast-head",
248
+ "query",
249
+ "key"
250
+ ],
251
+ "example_shape": [
252
+ 1,
253
+ 1,
254
+ 4,
255
+ 4
256
+ ],
257
+ "meaning": "Allowed local key positions; causal and within local window"
258
+ },
259
+ "encoder_0_attention_mask": {
260
+ "dtype": "int64",
261
+ "semantic_shape": [
262
+ "batch",
263
+ "broadcast-head",
264
+ "query",
265
+ "global+local-key"
266
+ ],
267
+ "example_shape": [
268
+ 1,
269
+ 1,
270
+ 4,
271
+ 8
272
+ ],
273
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
274
+ },
275
+ "encoder_0_attn_scores": {
276
+ "dtype": "float32",
277
+ "semantic_shape": [
278
+ "batch",
279
+ "head",
280
+ "query",
281
+ "global+local-key"
282
+ ],
283
+ "example_shape": [
284
+ 1,
285
+ 6,
286
+ 4,
287
+ 8
288
+ ],
289
+ "meaning": "Scaled Q times transposed combined K, before mask"
290
+ },
291
+ "encoder_0_attn_masked_scores": {
292
+ "dtype": "float32",
293
+ "semantic_shape": [
294
+ "batch",
295
+ "head",
296
+ "query",
297
+ "global+local-key"
298
+ ],
299
+ "example_shape": [
300
+ 1,
301
+ 6,
302
+ 4,
303
+ 8
304
+ ],
305
+ "meaning": "Attention scores with blocked positions set to negative infinity"
306
+ },
307
+ "encoder_0_attn_probs": {
308
+ "dtype": "float32",
309
+ "semantic_shape": [
310
+ "batch",
311
+ "head",
312
+ "query",
313
+ "global+local-key"
314
+ ],
315
+ "example_shape": [
316
+ 1,
317
+ 6,
318
+ 4,
319
+ 8
320
+ ],
321
+ "meaning": "Softmax probabilities actually multiplied by combined V"
322
+ },
323
+ "encoder_0_attn_output": {
324
+ "dtype": "float32",
325
+ "semantic_shape": [
326
+ "batch",
327
+ "sequence",
328
+ "feature"
329
+ ],
330
+ "example_shape": [
331
+ 1,
332
+ 4,
333
+ 384
334
+ ],
335
+ "meaning": "Attention result after output projection, before residual add"
336
+ },
337
+ "encoder_0_after_attn_residual": {
338
+ "dtype": "float32",
339
+ "semantic_shape": [
340
+ "batch",
341
+ "sequence",
342
+ "feature"
343
+ ],
344
+ "example_shape": [
345
+ 1,
346
+ 4,
347
+ 384
348
+ ],
349
+ "meaning": "Hidden state after attention residual add"
350
+ },
351
+ "encoder_0_norm2": {
352
+ "dtype": "float32",
353
+ "semantic_shape": [
354
+ "batch",
355
+ "sequence",
356
+ "feature"
357
+ ],
358
+ "example_shape": [
359
+ 1,
360
+ 4,
361
+ 384
362
+ ],
363
+ "meaning": "Hidden state after FFN RMSNorm"
364
+ },
365
+ "encoder_0_ffn_gate": {
366
+ "dtype": "float32",
367
+ "semantic_shape": [
368
+ "batch",
369
+ "sequence",
370
+ "ffn_dim"
371
+ ],
372
+ "example_shape": [
373
+ 1,
374
+ 4,
375
+ 1024
376
+ ],
377
+ "meaning": "SwiGLU gate linear projection"
378
+ },
379
+ "encoder_0_ffn_up": {
380
+ "dtype": "float32",
381
+ "semantic_shape": [
382
+ "batch",
383
+ "sequence",
384
+ "ffn_dim"
385
+ ],
386
+ "example_shape": [
387
+ 1,
388
+ 4,
389
+ 1024
390
+ ],
391
+ "meaning": "SwiGLU up linear projection"
392
+ },
393
+ "encoder_0_ffn_activation": {
394
+ "dtype": "float32",
395
+ "semantic_shape": [
396
+ "batch",
397
+ "sequence",
398
+ "ffn_dim"
399
+ ],
400
+ "example_shape": [
401
+ 1,
402
+ 4,
403
+ 1024
404
+ ],
405
+ "meaning": "SwiGLU product SiLU(gate) times up"
406
+ },
407
+ "encoder_0_ffn_output": {
408
+ "dtype": "float32",
409
+ "semantic_shape": [
410
+ "batch",
411
+ "sequence",
412
+ "feature"
413
+ ],
414
+ "example_shape": [
415
+ 1,
416
+ 4,
417
+ 384
418
+ ],
419
+ "meaning": "FFN down projection before residual add"
420
+ },
421
+ "encoder_0_output": {
422
+ "dtype": "float32",
423
+ "semantic_shape": [
424
+ "batch",
425
+ "sequence",
426
+ "feature"
427
+ ],
428
+ "example_shape": [
429
+ 1,
430
+ 4,
431
+ 384
432
+ ],
433
+ "meaning": "Block output after FFN residual add"
434
+ },
435
+ "encoder_1_input": {
436
+ "dtype": "float32",
437
+ "semantic_shape": [
438
+ "batch",
439
+ "sequence",
440
+ "feature"
441
+ ],
442
+ "example_shape": [
443
+ 1,
444
+ 4,
445
+ 384
446
+ ],
447
+ "meaning": "Block input before attention RMSNorm"
448
+ },
449
+ "encoder_1_norm1": {
450
+ "dtype": "float32",
451
+ "semantic_shape": [
452
+ "batch",
453
+ "sequence",
454
+ "feature"
455
+ ],
456
+ "example_shape": [
457
+ 1,
458
+ 4,
459
+ 384
460
+ ],
461
+ "meaning": "Block input after attention RMSNorm; local K/V source"
462
+ },
463
+ "encoder_1_q_pre_rope": {
464
+ "dtype": "float32",
465
+ "semantic_shape": [
466
+ "batch",
467
+ "head",
468
+ "sequence",
469
+ "head_dim"
470
+ ],
471
+ "example_shape": [
472
+ 1,
473
+ 6,
474
+ 4,
475
+ 64
476
+ ],
477
+ "meaning": "Query linear projection before RoPE"
478
+ },
479
+ "encoder_1_q": {
480
+ "dtype": "float32",
481
+ "semantic_shape": [
482
+ "batch",
483
+ "head",
484
+ "sequence",
485
+ "head_dim"
486
+ ],
487
+ "example_shape": [
488
+ 1,
489
+ 6,
490
+ 4,
491
+ 64
492
+ ],
493
+ "meaning": "Query after RoPE, used in attention scores"
494
+ },
495
+ "encoder_1_global_k_pre_rope": {
496
+ "dtype": "float32",
497
+ "semantic_shape": [
498
+ "batch",
499
+ "head",
500
+ "sequence",
501
+ "head_dim"
502
+ ],
503
+ "example_shape": [
504
+ 1,
505
+ 6,
506
+ 4,
507
+ 64
508
+ ],
509
+ "meaning": "Global key projection before RoPE; source: the block's norm1"
510
+ },
511
+ "encoder_1_global_k": {
512
+ "dtype": "float32",
513
+ "semantic_shape": [
514
+ "batch",
515
+ "head",
516
+ "sequence",
517
+ "head_dim"
518
+ ],
519
+ "example_shape": [
520
+ 1,
521
+ 6,
522
+ 4,
523
+ 64
524
+ ],
525
+ "meaning": "Global key after RoPE, used in attention scores; source: the block's norm1"
526
+ },
527
+ "encoder_1_global_v": {
528
+ "dtype": "float32",
529
+ "semantic_shape": [
530
+ "batch",
531
+ "head",
532
+ "sequence",
533
+ "head_dim"
534
+ ],
535
+ "example_shape": [
536
+ 1,
537
+ 6,
538
+ 4,
539
+ 64
540
+ ],
541
+ "meaning": "Global value projection used in attention output; source: the block's norm1"
542
+ },
543
+ "encoder_1_local_k_pre_rope": {
544
+ "dtype": "float32",
545
+ "semantic_shape": [
546
+ "batch",
547
+ "head",
548
+ "sequence",
549
+ "head_dim"
550
+ ],
551
+ "example_shape": [
552
+ 1,
553
+ 6,
554
+ 4,
555
+ 64
556
+ ],
557
+ "meaning": "Local key projection before RoPE"
558
+ },
559
+ "encoder_1_local_k": {
560
+ "dtype": "float32",
561
+ "semantic_shape": [
562
+ "batch",
563
+ "head",
564
+ "sequence",
565
+ "head_dim"
566
+ ],
567
+ "example_shape": [
568
+ 1,
569
+ 6,
570
+ 4,
571
+ 64
572
+ ],
573
+ "meaning": "Local key after RoPE, used in attention scores"
574
+ },
575
+ "encoder_1_local_v": {
576
+ "dtype": "float32",
577
+ "semantic_shape": [
578
+ "batch",
579
+ "head",
580
+ "sequence",
581
+ "head_dim"
582
+ ],
583
+ "example_shape": [
584
+ 1,
585
+ 6,
586
+ 4,
587
+ 64
588
+ ],
589
+ "meaning": "Local value projection used in attention output"
590
+ },
591
+ "encoder_1_combined_k": {
592
+ "dtype": "float32",
593
+ "semantic_shape": [
594
+ "batch",
595
+ "head",
596
+ "global+local-key",
597
+ "head_dim"
598
+ ],
599
+ "example_shape": [
600
+ 1,
601
+ 6,
602
+ 8,
603
+ 64
604
+ ],
605
+ "meaning": "Global keys followed by local keys on the sequence axis"
606
+ },
607
+ "encoder_1_combined_v": {
608
+ "dtype": "float32",
609
+ "semantic_shape": [
610
+ "batch",
611
+ "head",
612
+ "global+local-key",
613
+ "head_dim"
614
+ ],
615
+ "example_shape": [
616
+ 1,
617
+ 6,
618
+ 8,
619
+ 64
620
+ ],
621
+ "meaning": "Global values followed by local values on the sequence axis"
622
+ },
623
+ "encoder_1_global_mask": {
624
+ "dtype": "int64",
625
+ "semantic_shape": [
626
+ "batch",
627
+ "broadcast-head",
628
+ "query",
629
+ "key"
630
+ ],
631
+ "example_shape": [
632
+ 1,
633
+ 1,
634
+ 4,
635
+ 4
636
+ ],
637
+ "meaning": "Allowed global key positions; causal"
638
+ },
639
+ "encoder_1_local_mask": {
640
+ "dtype": "int64",
641
+ "semantic_shape": [
642
+ "batch",
643
+ "broadcast-head",
644
+ "query",
645
+ "key"
646
+ ],
647
+ "example_shape": [
648
+ 1,
649
+ 1,
650
+ 4,
651
+ 4
652
+ ],
653
+ "meaning": "Allowed local key positions; causal and within local window"
654
+ },
655
+ "encoder_1_attention_mask": {
656
+ "dtype": "int64",
657
+ "semantic_shape": [
658
+ "batch",
659
+ "broadcast-head",
660
+ "query",
661
+ "global+local-key"
662
+ ],
663
+ "example_shape": [
664
+ 1,
665
+ 1,
666
+ 4,
667
+ 8
668
+ ],
669
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
670
+ },
671
+ "encoder_1_attn_scores": {
672
+ "dtype": "float32",
673
+ "semantic_shape": [
674
+ "batch",
675
+ "head",
676
+ "query",
677
+ "global+local-key"
678
+ ],
679
+ "example_shape": [
680
+ 1,
681
+ 6,
682
+ 4,
683
+ 8
684
+ ],
685
+ "meaning": "Scaled Q times transposed combined K, before mask"
686
+ },
687
+ "encoder_1_attn_masked_scores": {
688
+ "dtype": "float32",
689
+ "semantic_shape": [
690
+ "batch",
691
+ "head",
692
+ "query",
693
+ "global+local-key"
694
+ ],
695
+ "example_shape": [
696
+ 1,
697
+ 6,
698
+ 4,
699
+ 8
700
+ ],
701
+ "meaning": "Attention scores with blocked positions set to negative infinity"
702
+ },
703
+ "encoder_1_attn_probs": {
704
+ "dtype": "float32",
705
+ "semantic_shape": [
706
+ "batch",
707
+ "head",
708
+ "query",
709
+ "global+local-key"
710
+ ],
711
+ "example_shape": [
712
+ 1,
713
+ 6,
714
+ 4,
715
+ 8
716
+ ],
717
+ "meaning": "Softmax probabilities actually multiplied by combined V"
718
+ },
719
+ "encoder_1_attn_output": {
720
+ "dtype": "float32",
721
+ "semantic_shape": [
722
+ "batch",
723
+ "sequence",
724
+ "feature"
725
+ ],
726
+ "example_shape": [
727
+ 1,
728
+ 4,
729
+ 384
730
+ ],
731
+ "meaning": "Attention result after output projection, before residual add"
732
+ },
733
+ "encoder_1_after_attn_residual": {
734
+ "dtype": "float32",
735
+ "semantic_shape": [
736
+ "batch",
737
+ "sequence",
738
+ "feature"
739
+ ],
740
+ "example_shape": [
741
+ 1,
742
+ 4,
743
+ 384
744
+ ],
745
+ "meaning": "Hidden state after attention residual add"
746
+ },
747
+ "encoder_1_norm2": {
748
+ "dtype": "float32",
749
+ "semantic_shape": [
750
+ "batch",
751
+ "sequence",
752
+ "feature"
753
+ ],
754
+ "example_shape": [
755
+ 1,
756
+ 4,
757
+ 384
758
+ ],
759
+ "meaning": "Hidden state after FFN RMSNorm"
760
+ },
761
+ "encoder_1_ffn_gate": {
762
+ "dtype": "float32",
763
+ "semantic_shape": [
764
+ "batch",
765
+ "sequence",
766
+ "ffn_dim"
767
+ ],
768
+ "example_shape": [
769
+ 1,
770
+ 4,
771
+ 1024
772
+ ],
773
+ "meaning": "SwiGLU gate linear projection"
774
+ },
775
+ "encoder_1_ffn_up": {
776
+ "dtype": "float32",
777
+ "semantic_shape": [
778
+ "batch",
779
+ "sequence",
780
+ "ffn_dim"
781
+ ],
782
+ "example_shape": [
783
+ 1,
784
+ 4,
785
+ 1024
786
+ ],
787
+ "meaning": "SwiGLU up linear projection"
788
+ },
789
+ "encoder_1_ffn_activation": {
790
+ "dtype": "float32",
791
+ "semantic_shape": [
792
+ "batch",
793
+ "sequence",
794
+ "ffn_dim"
795
+ ],
796
+ "example_shape": [
797
+ 1,
798
+ 4,
799
+ 1024
800
+ ],
801
+ "meaning": "SwiGLU product SiLU(gate) times up"
802
+ },
803
+ "encoder_1_ffn_output": {
804
+ "dtype": "float32",
805
+ "semantic_shape": [
806
+ "batch",
807
+ "sequence",
808
+ "feature"
809
+ ],
810
+ "example_shape": [
811
+ 1,
812
+ 4,
813
+ 384
814
+ ],
815
+ "meaning": "FFN down projection before residual add"
816
+ },
817
+ "encoder_1_output": {
818
+ "dtype": "float32",
819
+ "semantic_shape": [
820
+ "batch",
821
+ "sequence",
822
+ "feature"
823
+ ],
824
+ "example_shape": [
825
+ 1,
826
+ 4,
827
+ 384
828
+ ],
829
+ "meaning": "Block output after FFN residual add"
830
+ },
831
+ "encoder_2_input": {
832
+ "dtype": "float32",
833
+ "semantic_shape": [
834
+ "batch",
835
+ "sequence",
836
+ "feature"
837
+ ],
838
+ "example_shape": [
839
+ 1,
840
+ 4,
841
+ 384
842
+ ],
843
+ "meaning": "Block input before attention RMSNorm"
844
+ },
845
+ "encoder_2_norm1": {
846
+ "dtype": "float32",
847
+ "semantic_shape": [
848
+ "batch",
849
+ "sequence",
850
+ "feature"
851
+ ],
852
+ "example_shape": [
853
+ 1,
854
+ 4,
855
+ 384
856
+ ],
857
+ "meaning": "Block input after attention RMSNorm; local K/V source"
858
+ },
859
+ "encoder_2_q_pre_rope": {
860
+ "dtype": "float32",
861
+ "semantic_shape": [
862
+ "batch",
863
+ "head",
864
+ "sequence",
865
+ "head_dim"
866
+ ],
867
+ "example_shape": [
868
+ 1,
869
+ 6,
870
+ 4,
871
+ 64
872
+ ],
873
+ "meaning": "Query linear projection before RoPE"
874
+ },
875
+ "encoder_2_q": {
876
+ "dtype": "float32",
877
+ "semantic_shape": [
878
+ "batch",
879
+ "head",
880
+ "sequence",
881
+ "head_dim"
882
+ ],
883
+ "example_shape": [
884
+ 1,
885
+ 6,
886
+ 4,
887
+ 64
888
+ ],
889
+ "meaning": "Query after RoPE, used in attention scores"
890
+ },
891
+ "encoder_2_global_k_pre_rope": {
892
+ "dtype": "float32",
893
+ "semantic_shape": [
894
+ "batch",
895
+ "head",
896
+ "sequence",
897
+ "head_dim"
898
+ ],
899
+ "example_shape": [
900
+ 1,
901
+ 6,
902
+ 4,
903
+ 64
904
+ ],
905
+ "meaning": "Global key projection before RoPE; source: the block's norm1"
906
+ },
907
+ "encoder_2_global_k": {
908
+ "dtype": "float32",
909
+ "semantic_shape": [
910
+ "batch",
911
+ "head",
912
+ "sequence",
913
+ "head_dim"
914
+ ],
915
+ "example_shape": [
916
+ 1,
917
+ 6,
918
+ 4,
919
+ 64
920
+ ],
921
+ "meaning": "Global key after RoPE, used in attention scores; source: the block's norm1"
922
+ },
923
+ "encoder_2_global_v": {
924
+ "dtype": "float32",
925
+ "semantic_shape": [
926
+ "batch",
927
+ "head",
928
+ "sequence",
929
+ "head_dim"
930
+ ],
931
+ "example_shape": [
932
+ 1,
933
+ 6,
934
+ 4,
935
+ 64
936
+ ],
937
+ "meaning": "Global value projection used in attention output; source: the block's norm1"
938
+ },
939
+ "encoder_2_local_k_pre_rope": {
940
+ "dtype": "float32",
941
+ "semantic_shape": [
942
+ "batch",
943
+ "head",
944
+ "sequence",
945
+ "head_dim"
946
+ ],
947
+ "example_shape": [
948
+ 1,
949
+ 6,
950
+ 4,
951
+ 64
952
+ ],
953
+ "meaning": "Local key projection before RoPE"
954
+ },
955
+ "encoder_2_local_k": {
956
+ "dtype": "float32",
957
+ "semantic_shape": [
958
+ "batch",
959
+ "head",
960
+ "sequence",
961
+ "head_dim"
962
+ ],
963
+ "example_shape": [
964
+ 1,
965
+ 6,
966
+ 4,
967
+ 64
968
+ ],
969
+ "meaning": "Local key after RoPE, used in attention scores"
970
+ },
971
+ "encoder_2_local_v": {
972
+ "dtype": "float32",
973
+ "semantic_shape": [
974
+ "batch",
975
+ "head",
976
+ "sequence",
977
+ "head_dim"
978
+ ],
979
+ "example_shape": [
980
+ 1,
981
+ 6,
982
+ 4,
983
+ 64
984
+ ],
985
+ "meaning": "Local value projection used in attention output"
986
+ },
987
+ "encoder_2_combined_k": {
988
+ "dtype": "float32",
989
+ "semantic_shape": [
990
+ "batch",
991
+ "head",
992
+ "global+local-key",
993
+ "head_dim"
994
+ ],
995
+ "example_shape": [
996
+ 1,
997
+ 6,
998
+ 8,
999
+ 64
1000
+ ],
1001
+ "meaning": "Global keys followed by local keys on the sequence axis"
1002
+ },
1003
+ "encoder_2_combined_v": {
1004
+ "dtype": "float32",
1005
+ "semantic_shape": [
1006
+ "batch",
1007
+ "head",
1008
+ "global+local-key",
1009
+ "head_dim"
1010
+ ],
1011
+ "example_shape": [
1012
+ 1,
1013
+ 6,
1014
+ 8,
1015
+ 64
1016
+ ],
1017
+ "meaning": "Global values followed by local values on the sequence axis"
1018
+ },
1019
+ "encoder_2_global_mask": {
1020
+ "dtype": "int64",
1021
+ "semantic_shape": [
1022
+ "batch",
1023
+ "broadcast-head",
1024
+ "query",
1025
+ "key"
1026
+ ],
1027
+ "example_shape": [
1028
+ 1,
1029
+ 1,
1030
+ 4,
1031
+ 4
1032
+ ],
1033
+ "meaning": "Allowed global key positions; causal"
1034
+ },
1035
+ "encoder_2_local_mask": {
1036
+ "dtype": "int64",
1037
+ "semantic_shape": [
1038
+ "batch",
1039
+ "broadcast-head",
1040
+ "query",
1041
+ "key"
1042
+ ],
1043
+ "example_shape": [
1044
+ 1,
1045
+ 1,
1046
+ 4,
1047
+ 4
1048
+ ],
1049
+ "meaning": "Allowed local key positions; causal and within local window"
1050
+ },
1051
+ "encoder_2_attention_mask": {
1052
+ "dtype": "int64",
1053
+ "semantic_shape": [
1054
+ "batch",
1055
+ "broadcast-head",
1056
+ "query",
1057
+ "global+local-key"
1058
+ ],
1059
+ "example_shape": [
1060
+ 1,
1061
+ 1,
1062
+ 4,
1063
+ 8
1064
+ ],
1065
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
1066
+ },
1067
+ "encoder_2_attn_scores": {
1068
+ "dtype": "float32",
1069
+ "semantic_shape": [
1070
+ "batch",
1071
+ "head",
1072
+ "query",
1073
+ "global+local-key"
1074
+ ],
1075
+ "example_shape": [
1076
+ 1,
1077
+ 6,
1078
+ 4,
1079
+ 8
1080
+ ],
1081
+ "meaning": "Scaled Q times transposed combined K, before mask"
1082
+ },
1083
+ "encoder_2_attn_masked_scores": {
1084
+ "dtype": "float32",
1085
+ "semantic_shape": [
1086
+ "batch",
1087
+ "head",
1088
+ "query",
1089
+ "global+local-key"
1090
+ ],
1091
+ "example_shape": [
1092
+ 1,
1093
+ 6,
1094
+ 4,
1095
+ 8
1096
+ ],
1097
+ "meaning": "Attention scores with blocked positions set to negative infinity"
1098
+ },
1099
+ "encoder_2_attn_probs": {
1100
+ "dtype": "float32",
1101
+ "semantic_shape": [
1102
+ "batch",
1103
+ "head",
1104
+ "query",
1105
+ "global+local-key"
1106
+ ],
1107
+ "example_shape": [
1108
+ 1,
1109
+ 6,
1110
+ 4,
1111
+ 8
1112
+ ],
1113
+ "meaning": "Softmax probabilities actually multiplied by combined V"
1114
+ },
1115
+ "encoder_2_attn_output": {
1116
+ "dtype": "float32",
1117
+ "semantic_shape": [
1118
+ "batch",
1119
+ "sequence",
1120
+ "feature"
1121
+ ],
1122
+ "example_shape": [
1123
+ 1,
1124
+ 4,
1125
+ 384
1126
+ ],
1127
+ "meaning": "Attention result after output projection, before residual add"
1128
+ },
1129
+ "encoder_2_after_attn_residual": {
1130
+ "dtype": "float32",
1131
+ "semantic_shape": [
1132
+ "batch",
1133
+ "sequence",
1134
+ "feature"
1135
+ ],
1136
+ "example_shape": [
1137
+ 1,
1138
+ 4,
1139
+ 384
1140
+ ],
1141
+ "meaning": "Hidden state after attention residual add"
1142
+ },
1143
+ "encoder_2_norm2": {
1144
+ "dtype": "float32",
1145
+ "semantic_shape": [
1146
+ "batch",
1147
+ "sequence",
1148
+ "feature"
1149
+ ],
1150
+ "example_shape": [
1151
+ 1,
1152
+ 4,
1153
+ 384
1154
+ ],
1155
+ "meaning": "Hidden state after FFN RMSNorm"
1156
+ },
1157
+ "encoder_2_ffn_gate": {
1158
+ "dtype": "float32",
1159
+ "semantic_shape": [
1160
+ "batch",
1161
+ "sequence",
1162
+ "ffn_dim"
1163
+ ],
1164
+ "example_shape": [
1165
+ 1,
1166
+ 4,
1167
+ 1024
1168
+ ],
1169
+ "meaning": "SwiGLU gate linear projection"
1170
+ },
1171
+ "encoder_2_ffn_up": {
1172
+ "dtype": "float32",
1173
+ "semantic_shape": [
1174
+ "batch",
1175
+ "sequence",
1176
+ "ffn_dim"
1177
+ ],
1178
+ "example_shape": [
1179
+ 1,
1180
+ 4,
1181
+ 1024
1182
+ ],
1183
+ "meaning": "SwiGLU up linear projection"
1184
+ },
1185
+ "encoder_2_ffn_activation": {
1186
+ "dtype": "float32",
1187
+ "semantic_shape": [
1188
+ "batch",
1189
+ "sequence",
1190
+ "ffn_dim"
1191
+ ],
1192
+ "example_shape": [
1193
+ 1,
1194
+ 4,
1195
+ 1024
1196
+ ],
1197
+ "meaning": "SwiGLU product SiLU(gate) times up"
1198
+ },
1199
+ "encoder_2_ffn_output": {
1200
+ "dtype": "float32",
1201
+ "semantic_shape": [
1202
+ "batch",
1203
+ "sequence",
1204
+ "feature"
1205
+ ],
1206
+ "example_shape": [
1207
+ 1,
1208
+ 4,
1209
+ 384
1210
+ ],
1211
+ "meaning": "FFN down projection before residual add"
1212
+ },
1213
+ "encoder_2_output": {
1214
+ "dtype": "float32",
1215
+ "semantic_shape": [
1216
+ "batch",
1217
+ "sequence",
1218
+ "feature"
1219
+ ],
1220
+ "example_shape": [
1221
+ 1,
1222
+ 4,
1223
+ 384
1224
+ ],
1225
+ "meaning": "Block output after FFN residual add"
1226
+ },
1227
+ "encoder_3_input": {
1228
+ "dtype": "float32",
1229
+ "semantic_shape": [
1230
+ "batch",
1231
+ "sequence",
1232
+ "feature"
1233
+ ],
1234
+ "example_shape": [
1235
+ 1,
1236
+ 4,
1237
+ 384
1238
+ ],
1239
+ "meaning": "Block input before attention RMSNorm"
1240
+ },
1241
+ "encoder_3_norm1": {
1242
+ "dtype": "float32",
1243
+ "semantic_shape": [
1244
+ "batch",
1245
+ "sequence",
1246
+ "feature"
1247
+ ],
1248
+ "example_shape": [
1249
+ 1,
1250
+ 4,
1251
+ 384
1252
+ ],
1253
+ "meaning": "Block input after attention RMSNorm; local K/V source"
1254
+ },
1255
+ "encoder_3_q_pre_rope": {
1256
+ "dtype": "float32",
1257
+ "semantic_shape": [
1258
+ "batch",
1259
+ "head",
1260
+ "sequence",
1261
+ "head_dim"
1262
+ ],
1263
+ "example_shape": [
1264
+ 1,
1265
+ 6,
1266
+ 4,
1267
+ 64
1268
+ ],
1269
+ "meaning": "Query linear projection before RoPE"
1270
+ },
1271
+ "encoder_3_q": {
1272
+ "dtype": "float32",
1273
+ "semantic_shape": [
1274
+ "batch",
1275
+ "head",
1276
+ "sequence",
1277
+ "head_dim"
1278
+ ],
1279
+ "example_shape": [
1280
+ 1,
1281
+ 6,
1282
+ 4,
1283
+ 64
1284
+ ],
1285
+ "meaning": "Query after RoPE, used in attention scores"
1286
+ },
1287
+ "encoder_3_global_k_pre_rope": {
1288
+ "dtype": "float32",
1289
+ "semantic_shape": [
1290
+ "batch",
1291
+ "head",
1292
+ "sequence",
1293
+ "head_dim"
1294
+ ],
1295
+ "example_shape": [
1296
+ 1,
1297
+ 6,
1298
+ 4,
1299
+ 64
1300
+ ],
1301
+ "meaning": "Global key projection before RoPE; source: the block's norm1"
1302
+ },
1303
+ "encoder_3_global_k": {
1304
+ "dtype": "float32",
1305
+ "semantic_shape": [
1306
+ "batch",
1307
+ "head",
1308
+ "sequence",
1309
+ "head_dim"
1310
+ ],
1311
+ "example_shape": [
1312
+ 1,
1313
+ 6,
1314
+ 4,
1315
+ 64
1316
+ ],
1317
+ "meaning": "Global key after RoPE, used in attention scores; source: the block's norm1"
1318
+ },
1319
+ "encoder_3_global_v": {
1320
+ "dtype": "float32",
1321
+ "semantic_shape": [
1322
+ "batch",
1323
+ "head",
1324
+ "sequence",
1325
+ "head_dim"
1326
+ ],
1327
+ "example_shape": [
1328
+ 1,
1329
+ 6,
1330
+ 4,
1331
+ 64
1332
+ ],
1333
+ "meaning": "Global value projection used in attention output; source: the block's norm1"
1334
+ },
1335
+ "encoder_3_local_k_pre_rope": {
1336
+ "dtype": "float32",
1337
+ "semantic_shape": [
1338
+ "batch",
1339
+ "head",
1340
+ "sequence",
1341
+ "head_dim"
1342
+ ],
1343
+ "example_shape": [
1344
+ 1,
1345
+ 6,
1346
+ 4,
1347
+ 64
1348
+ ],
1349
+ "meaning": "Local key projection before RoPE"
1350
+ },
1351
+ "encoder_3_local_k": {
1352
+ "dtype": "float32",
1353
+ "semantic_shape": [
1354
+ "batch",
1355
+ "head",
1356
+ "sequence",
1357
+ "head_dim"
1358
+ ],
1359
+ "example_shape": [
1360
+ 1,
1361
+ 6,
1362
+ 4,
1363
+ 64
1364
+ ],
1365
+ "meaning": "Local key after RoPE, used in attention scores"
1366
+ },
1367
+ "encoder_3_local_v": {
1368
+ "dtype": "float32",
1369
+ "semantic_shape": [
1370
+ "batch",
1371
+ "head",
1372
+ "sequence",
1373
+ "head_dim"
1374
+ ],
1375
+ "example_shape": [
1376
+ 1,
1377
+ 6,
1378
+ 4,
1379
+ 64
1380
+ ],
1381
+ "meaning": "Local value projection used in attention output"
1382
+ },
1383
+ "encoder_3_combined_k": {
1384
+ "dtype": "float32",
1385
+ "semantic_shape": [
1386
+ "batch",
1387
+ "head",
1388
+ "global+local-key",
1389
+ "head_dim"
1390
+ ],
1391
+ "example_shape": [
1392
+ 1,
1393
+ 6,
1394
+ 8,
1395
+ 64
1396
+ ],
1397
+ "meaning": "Global keys followed by local keys on the sequence axis"
1398
+ },
1399
+ "encoder_3_combined_v": {
1400
+ "dtype": "float32",
1401
+ "semantic_shape": [
1402
+ "batch",
1403
+ "head",
1404
+ "global+local-key",
1405
+ "head_dim"
1406
+ ],
1407
+ "example_shape": [
1408
+ 1,
1409
+ 6,
1410
+ 8,
1411
+ 64
1412
+ ],
1413
+ "meaning": "Global values followed by local values on the sequence axis"
1414
+ },
1415
+ "encoder_3_global_mask": {
1416
+ "dtype": "int64",
1417
+ "semantic_shape": [
1418
+ "batch",
1419
+ "broadcast-head",
1420
+ "query",
1421
+ "key"
1422
+ ],
1423
+ "example_shape": [
1424
+ 1,
1425
+ 1,
1426
+ 4,
1427
+ 4
1428
+ ],
1429
+ "meaning": "Allowed global key positions; causal"
1430
+ },
1431
+ "encoder_3_local_mask": {
1432
+ "dtype": "int64",
1433
+ "semantic_shape": [
1434
+ "batch",
1435
+ "broadcast-head",
1436
+ "query",
1437
+ "key"
1438
+ ],
1439
+ "example_shape": [
1440
+ 1,
1441
+ 1,
1442
+ 4,
1443
+ 4
1444
+ ],
1445
+ "meaning": "Allowed local key positions; causal and within local window"
1446
+ },
1447
+ "encoder_3_attention_mask": {
1448
+ "dtype": "int64",
1449
+ "semantic_shape": [
1450
+ "batch",
1451
+ "broadcast-head",
1452
+ "query",
1453
+ "global+local-key"
1454
+ ],
1455
+ "example_shape": [
1456
+ 1,
1457
+ 1,
1458
+ 4,
1459
+ 8
1460
+ ],
1461
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
1462
+ },
1463
+ "encoder_3_attn_scores": {
1464
+ "dtype": "float32",
1465
+ "semantic_shape": [
1466
+ "batch",
1467
+ "head",
1468
+ "query",
1469
+ "global+local-key"
1470
+ ],
1471
+ "example_shape": [
1472
+ 1,
1473
+ 6,
1474
+ 4,
1475
+ 8
1476
+ ],
1477
+ "meaning": "Scaled Q times transposed combined K, before mask"
1478
+ },
1479
+ "encoder_3_attn_masked_scores": {
1480
+ "dtype": "float32",
1481
+ "semantic_shape": [
1482
+ "batch",
1483
+ "head",
1484
+ "query",
1485
+ "global+local-key"
1486
+ ],
1487
+ "example_shape": [
1488
+ 1,
1489
+ 6,
1490
+ 4,
1491
+ 8
1492
+ ],
1493
+ "meaning": "Attention scores with blocked positions set to negative infinity"
1494
+ },
1495
+ "encoder_3_attn_probs": {
1496
+ "dtype": "float32",
1497
+ "semantic_shape": [
1498
+ "batch",
1499
+ "head",
1500
+ "query",
1501
+ "global+local-key"
1502
+ ],
1503
+ "example_shape": [
1504
+ 1,
1505
+ 6,
1506
+ 4,
1507
+ 8
1508
+ ],
1509
+ "meaning": "Softmax probabilities actually multiplied by combined V"
1510
+ },
1511
+ "encoder_3_attn_output": {
1512
+ "dtype": "float32",
1513
+ "semantic_shape": [
1514
+ "batch",
1515
+ "sequence",
1516
+ "feature"
1517
+ ],
1518
+ "example_shape": [
1519
+ 1,
1520
+ 4,
1521
+ 384
1522
+ ],
1523
+ "meaning": "Attention result after output projection, before residual add"
1524
+ },
1525
+ "encoder_3_after_attn_residual": {
1526
+ "dtype": "float32",
1527
+ "semantic_shape": [
1528
+ "batch",
1529
+ "sequence",
1530
+ "feature"
1531
+ ],
1532
+ "example_shape": [
1533
+ 1,
1534
+ 4,
1535
+ 384
1536
+ ],
1537
+ "meaning": "Hidden state after attention residual add"
1538
+ },
1539
+ "encoder_3_norm2": {
1540
+ "dtype": "float32",
1541
+ "semantic_shape": [
1542
+ "batch",
1543
+ "sequence",
1544
+ "feature"
1545
+ ],
1546
+ "example_shape": [
1547
+ 1,
1548
+ 4,
1549
+ 384
1550
+ ],
1551
+ "meaning": "Hidden state after FFN RMSNorm"
1552
+ },
1553
+ "encoder_3_ffn_gate": {
1554
+ "dtype": "float32",
1555
+ "semantic_shape": [
1556
+ "batch",
1557
+ "sequence",
1558
+ "ffn_dim"
1559
+ ],
1560
+ "example_shape": [
1561
+ 1,
1562
+ 4,
1563
+ 1024
1564
+ ],
1565
+ "meaning": "SwiGLU gate linear projection"
1566
+ },
1567
+ "encoder_3_ffn_up": {
1568
+ "dtype": "float32",
1569
+ "semantic_shape": [
1570
+ "batch",
1571
+ "sequence",
1572
+ "ffn_dim"
1573
+ ],
1574
+ "example_shape": [
1575
+ 1,
1576
+ 4,
1577
+ 1024
1578
+ ],
1579
+ "meaning": "SwiGLU up linear projection"
1580
+ },
1581
+ "encoder_3_ffn_activation": {
1582
+ "dtype": "float32",
1583
+ "semantic_shape": [
1584
+ "batch",
1585
+ "sequence",
1586
+ "ffn_dim"
1587
+ ],
1588
+ "example_shape": [
1589
+ 1,
1590
+ 4,
1591
+ 1024
1592
+ ],
1593
+ "meaning": "SwiGLU product SiLU(gate) times up"
1594
+ },
1595
+ "encoder_3_ffn_output": {
1596
+ "dtype": "float32",
1597
+ "semantic_shape": [
1598
+ "batch",
1599
+ "sequence",
1600
+ "feature"
1601
+ ],
1602
+ "example_shape": [
1603
+ 1,
1604
+ 4,
1605
+ 384
1606
+ ],
1607
+ "meaning": "FFN down projection before residual add"
1608
+ },
1609
+ "encoder_3_output": {
1610
+ "dtype": "float32",
1611
+ "semantic_shape": [
1612
+ "batch",
1613
+ "sequence",
1614
+ "feature"
1615
+ ],
1616
+ "example_shape": [
1617
+ 1,
1618
+ 4,
1619
+ 384
1620
+ ],
1621
+ "meaning": "Block output after FFN residual add"
1622
+ },
1623
+ "encoder_pre_final_norm": {
1624
+ "dtype": "float32",
1625
+ "semantic_shape": [
1626
+ "batch",
1627
+ "sequence",
1628
+ "feature"
1629
+ ],
1630
+ "example_shape": [
1631
+ 1,
1632
+ 4,
1633
+ 384
1634
+ ],
1635
+ "meaning": "Encoder hidden state before encoder final RMSNorm"
1636
+ },
1637
+ "encoder_output": {
1638
+ "dtype": "float32",
1639
+ "semantic_shape": [
1640
+ "batch",
1641
+ "sequence",
1642
+ "feature"
1643
+ ],
1644
+ "example_shape": [
1645
+ 1,
1646
+ 4,
1647
+ 384
1648
+ ],
1649
+ "meaning": "Normalized encoder representation used as decoder global K/V source"
1650
+ },
1651
+ "decoder_0_input": {
1652
+ "dtype": "float32",
1653
+ "semantic_shape": [
1654
+ "batch",
1655
+ "sequence",
1656
+ "feature"
1657
+ ],
1658
+ "example_shape": [
1659
+ 1,
1660
+ 4,
1661
+ 384
1662
+ ],
1663
+ "meaning": "Block input before attention RMSNorm"
1664
+ },
1665
+ "decoder_0_norm1": {
1666
+ "dtype": "float32",
1667
+ "semantic_shape": [
1668
+ "batch",
1669
+ "sequence",
1670
+ "feature"
1671
+ ],
1672
+ "example_shape": [
1673
+ 1,
1674
+ 4,
1675
+ 384
1676
+ ],
1677
+ "meaning": "Block input after attention RMSNorm; local K/V source"
1678
+ },
1679
+ "decoder_0_q_pre_rope": {
1680
+ "dtype": "float32",
1681
+ "semantic_shape": [
1682
+ "batch",
1683
+ "head",
1684
+ "sequence",
1685
+ "head_dim"
1686
+ ],
1687
+ "example_shape": [
1688
+ 1,
1689
+ 6,
1690
+ 4,
1691
+ 64
1692
+ ],
1693
+ "meaning": "Query linear projection before RoPE"
1694
+ },
1695
+ "decoder_0_q": {
1696
+ "dtype": "float32",
1697
+ "semantic_shape": [
1698
+ "batch",
1699
+ "head",
1700
+ "sequence",
1701
+ "head_dim"
1702
+ ],
1703
+ "example_shape": [
1704
+ 1,
1705
+ 6,
1706
+ 4,
1707
+ 64
1708
+ ],
1709
+ "meaning": "Query after RoPE, used in attention scores"
1710
+ },
1711
+ "decoder_0_global_k_pre_rope": {
1712
+ "dtype": "float32",
1713
+ "semantic_shape": [
1714
+ "batch",
1715
+ "head",
1716
+ "sequence",
1717
+ "head_dim"
1718
+ ],
1719
+ "example_shape": [
1720
+ 1,
1721
+ 6,
1722
+ 4,
1723
+ 64
1724
+ ],
1725
+ "meaning": "Global key projection before RoPE; source: encoder_output"
1726
+ },
1727
+ "decoder_0_global_k": {
1728
+ "dtype": "float32",
1729
+ "semantic_shape": [
1730
+ "batch",
1731
+ "head",
1732
+ "sequence",
1733
+ "head_dim"
1734
+ ],
1735
+ "example_shape": [
1736
+ 1,
1737
+ 6,
1738
+ 4,
1739
+ 64
1740
+ ],
1741
+ "meaning": "Global key after RoPE, used in attention scores; source: encoder_output"
1742
+ },
1743
+ "decoder_0_global_v": {
1744
+ "dtype": "float32",
1745
+ "semantic_shape": [
1746
+ "batch",
1747
+ "head",
1748
+ "sequence",
1749
+ "head_dim"
1750
+ ],
1751
+ "example_shape": [
1752
+ 1,
1753
+ 6,
1754
+ 4,
1755
+ 64
1756
+ ],
1757
+ "meaning": "Global value projection used in attention output; source: encoder_output"
1758
+ },
1759
+ "decoder_0_local_k_pre_rope": {
1760
+ "dtype": "float32",
1761
+ "semantic_shape": [
1762
+ "batch",
1763
+ "head",
1764
+ "sequence",
1765
+ "head_dim"
1766
+ ],
1767
+ "example_shape": [
1768
+ 1,
1769
+ 6,
1770
+ 4,
1771
+ 64
1772
+ ],
1773
+ "meaning": "Local key projection before RoPE"
1774
+ },
1775
+ "decoder_0_local_k": {
1776
+ "dtype": "float32",
1777
+ "semantic_shape": [
1778
+ "batch",
1779
+ "head",
1780
+ "sequence",
1781
+ "head_dim"
1782
+ ],
1783
+ "example_shape": [
1784
+ 1,
1785
+ 6,
1786
+ 4,
1787
+ 64
1788
+ ],
1789
+ "meaning": "Local key after RoPE, used in attention scores"
1790
+ },
1791
+ "decoder_0_local_v": {
1792
+ "dtype": "float32",
1793
+ "semantic_shape": [
1794
+ "batch",
1795
+ "head",
1796
+ "sequence",
1797
+ "head_dim"
1798
+ ],
1799
+ "example_shape": [
1800
+ 1,
1801
+ 6,
1802
+ 4,
1803
+ 64
1804
+ ],
1805
+ "meaning": "Local value projection used in attention output"
1806
+ },
1807
+ "decoder_0_combined_k": {
1808
+ "dtype": "float32",
1809
+ "semantic_shape": [
1810
+ "batch",
1811
+ "head",
1812
+ "global+local-key",
1813
+ "head_dim"
1814
+ ],
1815
+ "example_shape": [
1816
+ 1,
1817
+ 6,
1818
+ 8,
1819
+ 64
1820
+ ],
1821
+ "meaning": "Global keys followed by local keys on the sequence axis"
1822
+ },
1823
+ "decoder_0_combined_v": {
1824
+ "dtype": "float32",
1825
+ "semantic_shape": [
1826
+ "batch",
1827
+ "head",
1828
+ "global+local-key",
1829
+ "head_dim"
1830
+ ],
1831
+ "example_shape": [
1832
+ 1,
1833
+ 6,
1834
+ 8,
1835
+ 64
1836
+ ],
1837
+ "meaning": "Global values followed by local values on the sequence axis"
1838
+ },
1839
+ "decoder_0_global_mask": {
1840
+ "dtype": "int64",
1841
+ "semantic_shape": [
1842
+ "batch",
1843
+ "broadcast-head",
1844
+ "query",
1845
+ "key"
1846
+ ],
1847
+ "example_shape": [
1848
+ 1,
1849
+ 1,
1850
+ 4,
1851
+ 4
1852
+ ],
1853
+ "meaning": "Allowed global key positions; causal"
1854
+ },
1855
+ "decoder_0_local_mask": {
1856
+ "dtype": "int64",
1857
+ "semantic_shape": [
1858
+ "batch",
1859
+ "broadcast-head",
1860
+ "query",
1861
+ "key"
1862
+ ],
1863
+ "example_shape": [
1864
+ 1,
1865
+ 1,
1866
+ 4,
1867
+ 4
1868
+ ],
1869
+ "meaning": "Allowed local key positions; causal and within local window"
1870
+ },
1871
+ "decoder_0_attention_mask": {
1872
+ "dtype": "int64",
1873
+ "semantic_shape": [
1874
+ "batch",
1875
+ "broadcast-head",
1876
+ "query",
1877
+ "global+local-key"
1878
+ ],
1879
+ "example_shape": [
1880
+ 1,
1881
+ 1,
1882
+ 4,
1883
+ 8
1884
+ ],
1885
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
1886
+ },
1887
+ "decoder_0_attn_scores": {
1888
+ "dtype": "float32",
1889
+ "semantic_shape": [
1890
+ "batch",
1891
+ "head",
1892
+ "query",
1893
+ "global+local-key"
1894
+ ],
1895
+ "example_shape": [
1896
+ 1,
1897
+ 6,
1898
+ 4,
1899
+ 8
1900
+ ],
1901
+ "meaning": "Scaled Q times transposed combined K, before mask"
1902
+ },
1903
+ "decoder_0_attn_masked_scores": {
1904
+ "dtype": "float32",
1905
+ "semantic_shape": [
1906
+ "batch",
1907
+ "head",
1908
+ "query",
1909
+ "global+local-key"
1910
+ ],
1911
+ "example_shape": [
1912
+ 1,
1913
+ 6,
1914
+ 4,
1915
+ 8
1916
+ ],
1917
+ "meaning": "Attention scores with blocked positions set to negative infinity"
1918
+ },
1919
+ "decoder_0_attn_probs": {
1920
+ "dtype": "float32",
1921
+ "semantic_shape": [
1922
+ "batch",
1923
+ "head",
1924
+ "query",
1925
+ "global+local-key"
1926
+ ],
1927
+ "example_shape": [
1928
+ 1,
1929
+ 6,
1930
+ 4,
1931
+ 8
1932
+ ],
1933
+ "meaning": "Softmax probabilities actually multiplied by combined V"
1934
+ },
1935
+ "decoder_0_attn_output": {
1936
+ "dtype": "float32",
1937
+ "semantic_shape": [
1938
+ "batch",
1939
+ "sequence",
1940
+ "feature"
1941
+ ],
1942
+ "example_shape": [
1943
+ 1,
1944
+ 4,
1945
+ 384
1946
+ ],
1947
+ "meaning": "Attention result after output projection, before residual add"
1948
+ },
1949
+ "decoder_0_after_attn_residual": {
1950
+ "dtype": "float32",
1951
+ "semantic_shape": [
1952
+ "batch",
1953
+ "sequence",
1954
+ "feature"
1955
+ ],
1956
+ "example_shape": [
1957
+ 1,
1958
+ 4,
1959
+ 384
1960
+ ],
1961
+ "meaning": "Hidden state after attention residual add"
1962
+ },
1963
+ "decoder_0_norm2": {
1964
+ "dtype": "float32",
1965
+ "semantic_shape": [
1966
+ "batch",
1967
+ "sequence",
1968
+ "feature"
1969
+ ],
1970
+ "example_shape": [
1971
+ 1,
1972
+ 4,
1973
+ 384
1974
+ ],
1975
+ "meaning": "Hidden state after FFN RMSNorm"
1976
+ },
1977
+ "decoder_0_ffn_gate": {
1978
+ "dtype": "float32",
1979
+ "semantic_shape": [
1980
+ "batch",
1981
+ "sequence",
1982
+ "ffn_dim"
1983
+ ],
1984
+ "example_shape": [
1985
+ 1,
1986
+ 4,
1987
+ 1024
1988
+ ],
1989
+ "meaning": "SwiGLU gate linear projection"
1990
+ },
1991
+ "decoder_0_ffn_up": {
1992
+ "dtype": "float32",
1993
+ "semantic_shape": [
1994
+ "batch",
1995
+ "sequence",
1996
+ "ffn_dim"
1997
+ ],
1998
+ "example_shape": [
1999
+ 1,
2000
+ 4,
2001
+ 1024
2002
+ ],
2003
+ "meaning": "SwiGLU up linear projection"
2004
+ },
2005
+ "decoder_0_ffn_activation": {
2006
+ "dtype": "float32",
2007
+ "semantic_shape": [
2008
+ "batch",
2009
+ "sequence",
2010
+ "ffn_dim"
2011
+ ],
2012
+ "example_shape": [
2013
+ 1,
2014
+ 4,
2015
+ 1024
2016
+ ],
2017
+ "meaning": "SwiGLU product SiLU(gate) times up"
2018
+ },
2019
+ "decoder_0_ffn_output": {
2020
+ "dtype": "float32",
2021
+ "semantic_shape": [
2022
+ "batch",
2023
+ "sequence",
2024
+ "feature"
2025
+ ],
2026
+ "example_shape": [
2027
+ 1,
2028
+ 4,
2029
+ 384
2030
+ ],
2031
+ "meaning": "FFN down projection before residual add"
2032
+ },
2033
+ "decoder_0_output": {
2034
+ "dtype": "float32",
2035
+ "semantic_shape": [
2036
+ "batch",
2037
+ "sequence",
2038
+ "feature"
2039
+ ],
2040
+ "example_shape": [
2041
+ 1,
2042
+ 4,
2043
+ 384
2044
+ ],
2045
+ "meaning": "Block output after FFN residual add"
2046
+ },
2047
+ "decoder_1_input": {
2048
+ "dtype": "float32",
2049
+ "semantic_shape": [
2050
+ "batch",
2051
+ "sequence",
2052
+ "feature"
2053
+ ],
2054
+ "example_shape": [
2055
+ 1,
2056
+ 4,
2057
+ 384
2058
+ ],
2059
+ "meaning": "Block input before attention RMSNorm"
2060
+ },
2061
+ "decoder_1_norm1": {
2062
+ "dtype": "float32",
2063
+ "semantic_shape": [
2064
+ "batch",
2065
+ "sequence",
2066
+ "feature"
2067
+ ],
2068
+ "example_shape": [
2069
+ 1,
2070
+ 4,
2071
+ 384
2072
+ ],
2073
+ "meaning": "Block input after attention RMSNorm; local K/V source"
2074
+ },
2075
+ "decoder_1_q_pre_rope": {
2076
+ "dtype": "float32",
2077
+ "semantic_shape": [
2078
+ "batch",
2079
+ "head",
2080
+ "sequence",
2081
+ "head_dim"
2082
+ ],
2083
+ "example_shape": [
2084
+ 1,
2085
+ 6,
2086
+ 4,
2087
+ 64
2088
+ ],
2089
+ "meaning": "Query linear projection before RoPE"
2090
+ },
2091
+ "decoder_1_q": {
2092
+ "dtype": "float32",
2093
+ "semantic_shape": [
2094
+ "batch",
2095
+ "head",
2096
+ "sequence",
2097
+ "head_dim"
2098
+ ],
2099
+ "example_shape": [
2100
+ 1,
2101
+ 6,
2102
+ 4,
2103
+ 64
2104
+ ],
2105
+ "meaning": "Query after RoPE, used in attention scores"
2106
+ },
2107
+ "decoder_1_global_k_pre_rope": {
2108
+ "dtype": "float32",
2109
+ "semantic_shape": [
2110
+ "batch",
2111
+ "head",
2112
+ "sequence",
2113
+ "head_dim"
2114
+ ],
2115
+ "example_shape": [
2116
+ 1,
2117
+ 6,
2118
+ 4,
2119
+ 64
2120
+ ],
2121
+ "meaning": "Global key projection before RoPE; source: encoder_output"
2122
+ },
2123
+ "decoder_1_global_k": {
2124
+ "dtype": "float32",
2125
+ "semantic_shape": [
2126
+ "batch",
2127
+ "head",
2128
+ "sequence",
2129
+ "head_dim"
2130
+ ],
2131
+ "example_shape": [
2132
+ 1,
2133
+ 6,
2134
+ 4,
2135
+ 64
2136
+ ],
2137
+ "meaning": "Global key after RoPE, used in attention scores; source: encoder_output"
2138
+ },
2139
+ "decoder_1_global_v": {
2140
+ "dtype": "float32",
2141
+ "semantic_shape": [
2142
+ "batch",
2143
+ "head",
2144
+ "sequence",
2145
+ "head_dim"
2146
+ ],
2147
+ "example_shape": [
2148
+ 1,
2149
+ 6,
2150
+ 4,
2151
+ 64
2152
+ ],
2153
+ "meaning": "Global value projection used in attention output; source: encoder_output"
2154
+ },
2155
+ "decoder_1_local_k_pre_rope": {
2156
+ "dtype": "float32",
2157
+ "semantic_shape": [
2158
+ "batch",
2159
+ "head",
2160
+ "sequence",
2161
+ "head_dim"
2162
+ ],
2163
+ "example_shape": [
2164
+ 1,
2165
+ 6,
2166
+ 4,
2167
+ 64
2168
+ ],
2169
+ "meaning": "Local key projection before RoPE"
2170
+ },
2171
+ "decoder_1_local_k": {
2172
+ "dtype": "float32",
2173
+ "semantic_shape": [
2174
+ "batch",
2175
+ "head",
2176
+ "sequence",
2177
+ "head_dim"
2178
+ ],
2179
+ "example_shape": [
2180
+ 1,
2181
+ 6,
2182
+ 4,
2183
+ 64
2184
+ ],
2185
+ "meaning": "Local key after RoPE, used in attention scores"
2186
+ },
2187
+ "decoder_1_local_v": {
2188
+ "dtype": "float32",
2189
+ "semantic_shape": [
2190
+ "batch",
2191
+ "head",
2192
+ "sequence",
2193
+ "head_dim"
2194
+ ],
2195
+ "example_shape": [
2196
+ 1,
2197
+ 6,
2198
+ 4,
2199
+ 64
2200
+ ],
2201
+ "meaning": "Local value projection used in attention output"
2202
+ },
2203
+ "decoder_1_combined_k": {
2204
+ "dtype": "float32",
2205
+ "semantic_shape": [
2206
+ "batch",
2207
+ "head",
2208
+ "global+local-key",
2209
+ "head_dim"
2210
+ ],
2211
+ "example_shape": [
2212
+ 1,
2213
+ 6,
2214
+ 8,
2215
+ 64
2216
+ ],
2217
+ "meaning": "Global keys followed by local keys on the sequence axis"
2218
+ },
2219
+ "decoder_1_combined_v": {
2220
+ "dtype": "float32",
2221
+ "semantic_shape": [
2222
+ "batch",
2223
+ "head",
2224
+ "global+local-key",
2225
+ "head_dim"
2226
+ ],
2227
+ "example_shape": [
2228
+ 1,
2229
+ 6,
2230
+ 8,
2231
+ 64
2232
+ ],
2233
+ "meaning": "Global values followed by local values on the sequence axis"
2234
+ },
2235
+ "decoder_1_global_mask": {
2236
+ "dtype": "int64",
2237
+ "semantic_shape": [
2238
+ "batch",
2239
+ "broadcast-head",
2240
+ "query",
2241
+ "key"
2242
+ ],
2243
+ "example_shape": [
2244
+ 1,
2245
+ 1,
2246
+ 4,
2247
+ 4
2248
+ ],
2249
+ "meaning": "Allowed global key positions; causal"
2250
+ },
2251
+ "decoder_1_local_mask": {
2252
+ "dtype": "int64",
2253
+ "semantic_shape": [
2254
+ "batch",
2255
+ "broadcast-head",
2256
+ "query",
2257
+ "key"
2258
+ ],
2259
+ "example_shape": [
2260
+ 1,
2261
+ 1,
2262
+ 4,
2263
+ 4
2264
+ ],
2265
+ "meaning": "Allowed local key positions; causal and within local window"
2266
+ },
2267
+ "decoder_1_attention_mask": {
2268
+ "dtype": "int64",
2269
+ "semantic_shape": [
2270
+ "batch",
2271
+ "broadcast-head",
2272
+ "query",
2273
+ "global+local-key"
2274
+ ],
2275
+ "example_shape": [
2276
+ 1,
2277
+ 1,
2278
+ 4,
2279
+ 8
2280
+ ],
2281
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
2282
+ },
2283
+ "decoder_1_attn_scores": {
2284
+ "dtype": "float32",
2285
+ "semantic_shape": [
2286
+ "batch",
2287
+ "head",
2288
+ "query",
2289
+ "global+local-key"
2290
+ ],
2291
+ "example_shape": [
2292
+ 1,
2293
+ 6,
2294
+ 4,
2295
+ 8
2296
+ ],
2297
+ "meaning": "Scaled Q times transposed combined K, before mask"
2298
+ },
2299
+ "decoder_1_attn_masked_scores": {
2300
+ "dtype": "float32",
2301
+ "semantic_shape": [
2302
+ "batch",
2303
+ "head",
2304
+ "query",
2305
+ "global+local-key"
2306
+ ],
2307
+ "example_shape": [
2308
+ 1,
2309
+ 6,
2310
+ 4,
2311
+ 8
2312
+ ],
2313
+ "meaning": "Attention scores with blocked positions set to negative infinity"
2314
+ },
2315
+ "decoder_1_attn_probs": {
2316
+ "dtype": "float32",
2317
+ "semantic_shape": [
2318
+ "batch",
2319
+ "head",
2320
+ "query",
2321
+ "global+local-key"
2322
+ ],
2323
+ "example_shape": [
2324
+ 1,
2325
+ 6,
2326
+ 4,
2327
+ 8
2328
+ ],
2329
+ "meaning": "Softmax probabilities actually multiplied by combined V"
2330
+ },
2331
+ "decoder_1_attn_output": {
2332
+ "dtype": "float32",
2333
+ "semantic_shape": [
2334
+ "batch",
2335
+ "sequence",
2336
+ "feature"
2337
+ ],
2338
+ "example_shape": [
2339
+ 1,
2340
+ 4,
2341
+ 384
2342
+ ],
2343
+ "meaning": "Attention result after output projection, before residual add"
2344
+ },
2345
+ "decoder_1_after_attn_residual": {
2346
+ "dtype": "float32",
2347
+ "semantic_shape": [
2348
+ "batch",
2349
+ "sequence",
2350
+ "feature"
2351
+ ],
2352
+ "example_shape": [
2353
+ 1,
2354
+ 4,
2355
+ 384
2356
+ ],
2357
+ "meaning": "Hidden state after attention residual add"
2358
+ },
2359
+ "decoder_1_norm2": {
2360
+ "dtype": "float32",
2361
+ "semantic_shape": [
2362
+ "batch",
2363
+ "sequence",
2364
+ "feature"
2365
+ ],
2366
+ "example_shape": [
2367
+ 1,
2368
+ 4,
2369
+ 384
2370
+ ],
2371
+ "meaning": "Hidden state after FFN RMSNorm"
2372
+ },
2373
+ "decoder_1_ffn_gate": {
2374
+ "dtype": "float32",
2375
+ "semantic_shape": [
2376
+ "batch",
2377
+ "sequence",
2378
+ "ffn_dim"
2379
+ ],
2380
+ "example_shape": [
2381
+ 1,
2382
+ 4,
2383
+ 1024
2384
+ ],
2385
+ "meaning": "SwiGLU gate linear projection"
2386
+ },
2387
+ "decoder_1_ffn_up": {
2388
+ "dtype": "float32",
2389
+ "semantic_shape": [
2390
+ "batch",
2391
+ "sequence",
2392
+ "ffn_dim"
2393
+ ],
2394
+ "example_shape": [
2395
+ 1,
2396
+ 4,
2397
+ 1024
2398
+ ],
2399
+ "meaning": "SwiGLU up linear projection"
2400
+ },
2401
+ "decoder_1_ffn_activation": {
2402
+ "dtype": "float32",
2403
+ "semantic_shape": [
2404
+ "batch",
2405
+ "sequence",
2406
+ "ffn_dim"
2407
+ ],
2408
+ "example_shape": [
2409
+ 1,
2410
+ 4,
2411
+ 1024
2412
+ ],
2413
+ "meaning": "SwiGLU product SiLU(gate) times up"
2414
+ },
2415
+ "decoder_1_ffn_output": {
2416
+ "dtype": "float32",
2417
+ "semantic_shape": [
2418
+ "batch",
2419
+ "sequence",
2420
+ "feature"
2421
+ ],
2422
+ "example_shape": [
2423
+ 1,
2424
+ 4,
2425
+ 384
2426
+ ],
2427
+ "meaning": "FFN down projection before residual add"
2428
+ },
2429
+ "decoder_1_output": {
2430
+ "dtype": "float32",
2431
+ "semantic_shape": [
2432
+ "batch",
2433
+ "sequence",
2434
+ "feature"
2435
+ ],
2436
+ "example_shape": [
2437
+ 1,
2438
+ 4,
2439
+ 384
2440
+ ],
2441
+ "meaning": "Block output after FFN residual add"
2442
+ },
2443
+ "decoder_2_input": {
2444
+ "dtype": "float32",
2445
+ "semantic_shape": [
2446
+ "batch",
2447
+ "sequence",
2448
+ "feature"
2449
+ ],
2450
+ "example_shape": [
2451
+ 1,
2452
+ 4,
2453
+ 384
2454
+ ],
2455
+ "meaning": "Block input before attention RMSNorm"
2456
+ },
2457
+ "decoder_2_norm1": {
2458
+ "dtype": "float32",
2459
+ "semantic_shape": [
2460
+ "batch",
2461
+ "sequence",
2462
+ "feature"
2463
+ ],
2464
+ "example_shape": [
2465
+ 1,
2466
+ 4,
2467
+ 384
2468
+ ],
2469
+ "meaning": "Block input after attention RMSNorm; local K/V source"
2470
+ },
2471
+ "decoder_2_q_pre_rope": {
2472
+ "dtype": "float32",
2473
+ "semantic_shape": [
2474
+ "batch",
2475
+ "head",
2476
+ "sequence",
2477
+ "head_dim"
2478
+ ],
2479
+ "example_shape": [
2480
+ 1,
2481
+ 6,
2482
+ 4,
2483
+ 64
2484
+ ],
2485
+ "meaning": "Query linear projection before RoPE"
2486
+ },
2487
+ "decoder_2_q": {
2488
+ "dtype": "float32",
2489
+ "semantic_shape": [
2490
+ "batch",
2491
+ "head",
2492
+ "sequence",
2493
+ "head_dim"
2494
+ ],
2495
+ "example_shape": [
2496
+ 1,
2497
+ 6,
2498
+ 4,
2499
+ 64
2500
+ ],
2501
+ "meaning": "Query after RoPE, used in attention scores"
2502
+ },
2503
+ "decoder_2_global_k_pre_rope": {
2504
+ "dtype": "float32",
2505
+ "semantic_shape": [
2506
+ "batch",
2507
+ "head",
2508
+ "sequence",
2509
+ "head_dim"
2510
+ ],
2511
+ "example_shape": [
2512
+ 1,
2513
+ 6,
2514
+ 4,
2515
+ 64
2516
+ ],
2517
+ "meaning": "Global key projection before RoPE; source: encoder_output"
2518
+ },
2519
+ "decoder_2_global_k": {
2520
+ "dtype": "float32",
2521
+ "semantic_shape": [
2522
+ "batch",
2523
+ "head",
2524
+ "sequence",
2525
+ "head_dim"
2526
+ ],
2527
+ "example_shape": [
2528
+ 1,
2529
+ 6,
2530
+ 4,
2531
+ 64
2532
+ ],
2533
+ "meaning": "Global key after RoPE, used in attention scores; source: encoder_output"
2534
+ },
2535
+ "decoder_2_global_v": {
2536
+ "dtype": "float32",
2537
+ "semantic_shape": [
2538
+ "batch",
2539
+ "head",
2540
+ "sequence",
2541
+ "head_dim"
2542
+ ],
2543
+ "example_shape": [
2544
+ 1,
2545
+ 6,
2546
+ 4,
2547
+ 64
2548
+ ],
2549
+ "meaning": "Global value projection used in attention output; source: encoder_output"
2550
+ },
2551
+ "decoder_2_local_k_pre_rope": {
2552
+ "dtype": "float32",
2553
+ "semantic_shape": [
2554
+ "batch",
2555
+ "head",
2556
+ "sequence",
2557
+ "head_dim"
2558
+ ],
2559
+ "example_shape": [
2560
+ 1,
2561
+ 6,
2562
+ 4,
2563
+ 64
2564
+ ],
2565
+ "meaning": "Local key projection before RoPE"
2566
+ },
2567
+ "decoder_2_local_k": {
2568
+ "dtype": "float32",
2569
+ "semantic_shape": [
2570
+ "batch",
2571
+ "head",
2572
+ "sequence",
2573
+ "head_dim"
2574
+ ],
2575
+ "example_shape": [
2576
+ 1,
2577
+ 6,
2578
+ 4,
2579
+ 64
2580
+ ],
2581
+ "meaning": "Local key after RoPE, used in attention scores"
2582
+ },
2583
+ "decoder_2_local_v": {
2584
+ "dtype": "float32",
2585
+ "semantic_shape": [
2586
+ "batch",
2587
+ "head",
2588
+ "sequence",
2589
+ "head_dim"
2590
+ ],
2591
+ "example_shape": [
2592
+ 1,
2593
+ 6,
2594
+ 4,
2595
+ 64
2596
+ ],
2597
+ "meaning": "Local value projection used in attention output"
2598
+ },
2599
+ "decoder_2_combined_k": {
2600
+ "dtype": "float32",
2601
+ "semantic_shape": [
2602
+ "batch",
2603
+ "head",
2604
+ "global+local-key",
2605
+ "head_dim"
2606
+ ],
2607
+ "example_shape": [
2608
+ 1,
2609
+ 6,
2610
+ 8,
2611
+ 64
2612
+ ],
2613
+ "meaning": "Global keys followed by local keys on the sequence axis"
2614
+ },
2615
+ "decoder_2_combined_v": {
2616
+ "dtype": "float32",
2617
+ "semantic_shape": [
2618
+ "batch",
2619
+ "head",
2620
+ "global+local-key",
2621
+ "head_dim"
2622
+ ],
2623
+ "example_shape": [
2624
+ 1,
2625
+ 6,
2626
+ 8,
2627
+ 64
2628
+ ],
2629
+ "meaning": "Global values followed by local values on the sequence axis"
2630
+ },
2631
+ "decoder_2_global_mask": {
2632
+ "dtype": "int64",
2633
+ "semantic_shape": [
2634
+ "batch",
2635
+ "broadcast-head",
2636
+ "query",
2637
+ "key"
2638
+ ],
2639
+ "example_shape": [
2640
+ 1,
2641
+ 1,
2642
+ 4,
2643
+ 4
2644
+ ],
2645
+ "meaning": "Allowed global key positions; causal"
2646
+ },
2647
+ "decoder_2_local_mask": {
2648
+ "dtype": "int64",
2649
+ "semantic_shape": [
2650
+ "batch",
2651
+ "broadcast-head",
2652
+ "query",
2653
+ "key"
2654
+ ],
2655
+ "example_shape": [
2656
+ 1,
2657
+ 1,
2658
+ 4,
2659
+ 4
2660
+ ],
2661
+ "meaning": "Allowed local key positions; causal and within local window"
2662
+ },
2663
+ "decoder_2_attention_mask": {
2664
+ "dtype": "int64",
2665
+ "semantic_shape": [
2666
+ "batch",
2667
+ "broadcast-head",
2668
+ "query",
2669
+ "global+local-key"
2670
+ ],
2671
+ "example_shape": [
2672
+ 1,
2673
+ 1,
2674
+ 4,
2675
+ 8
2676
+ ],
2677
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
2678
+ },
2679
+ "decoder_2_attn_scores": {
2680
+ "dtype": "float32",
2681
+ "semantic_shape": [
2682
+ "batch",
2683
+ "head",
2684
+ "query",
2685
+ "global+local-key"
2686
+ ],
2687
+ "example_shape": [
2688
+ 1,
2689
+ 6,
2690
+ 4,
2691
+ 8
2692
+ ],
2693
+ "meaning": "Scaled Q times transposed combined K, before mask"
2694
+ },
2695
+ "decoder_2_attn_masked_scores": {
2696
+ "dtype": "float32",
2697
+ "semantic_shape": [
2698
+ "batch",
2699
+ "head",
2700
+ "query",
2701
+ "global+local-key"
2702
+ ],
2703
+ "example_shape": [
2704
+ 1,
2705
+ 6,
2706
+ 4,
2707
+ 8
2708
+ ],
2709
+ "meaning": "Attention scores with blocked positions set to negative infinity"
2710
+ },
2711
+ "decoder_2_attn_probs": {
2712
+ "dtype": "float32",
2713
+ "semantic_shape": [
2714
+ "batch",
2715
+ "head",
2716
+ "query",
2717
+ "global+local-key"
2718
+ ],
2719
+ "example_shape": [
2720
+ 1,
2721
+ 6,
2722
+ 4,
2723
+ 8
2724
+ ],
2725
+ "meaning": "Softmax probabilities actually multiplied by combined V"
2726
+ },
2727
+ "decoder_2_attn_output": {
2728
+ "dtype": "float32",
2729
+ "semantic_shape": [
2730
+ "batch",
2731
+ "sequence",
2732
+ "feature"
2733
+ ],
2734
+ "example_shape": [
2735
+ 1,
2736
+ 4,
2737
+ 384
2738
+ ],
2739
+ "meaning": "Attention result after output projection, before residual add"
2740
+ },
2741
+ "decoder_2_after_attn_residual": {
2742
+ "dtype": "float32",
2743
+ "semantic_shape": [
2744
+ "batch",
2745
+ "sequence",
2746
+ "feature"
2747
+ ],
2748
+ "example_shape": [
2749
+ 1,
2750
+ 4,
2751
+ 384
2752
+ ],
2753
+ "meaning": "Hidden state after attention residual add"
2754
+ },
2755
+ "decoder_2_norm2": {
2756
+ "dtype": "float32",
2757
+ "semantic_shape": [
2758
+ "batch",
2759
+ "sequence",
2760
+ "feature"
2761
+ ],
2762
+ "example_shape": [
2763
+ 1,
2764
+ 4,
2765
+ 384
2766
+ ],
2767
+ "meaning": "Hidden state after FFN RMSNorm"
2768
+ },
2769
+ "decoder_2_ffn_gate": {
2770
+ "dtype": "float32",
2771
+ "semantic_shape": [
2772
+ "batch",
2773
+ "sequence",
2774
+ "ffn_dim"
2775
+ ],
2776
+ "example_shape": [
2777
+ 1,
2778
+ 4,
2779
+ 1024
2780
+ ],
2781
+ "meaning": "SwiGLU gate linear projection"
2782
+ },
2783
+ "decoder_2_ffn_up": {
2784
+ "dtype": "float32",
2785
+ "semantic_shape": [
2786
+ "batch",
2787
+ "sequence",
2788
+ "ffn_dim"
2789
+ ],
2790
+ "example_shape": [
2791
+ 1,
2792
+ 4,
2793
+ 1024
2794
+ ],
2795
+ "meaning": "SwiGLU up linear projection"
2796
+ },
2797
+ "decoder_2_ffn_activation": {
2798
+ "dtype": "float32",
2799
+ "semantic_shape": [
2800
+ "batch",
2801
+ "sequence",
2802
+ "ffn_dim"
2803
+ ],
2804
+ "example_shape": [
2805
+ 1,
2806
+ 4,
2807
+ 1024
2808
+ ],
2809
+ "meaning": "SwiGLU product SiLU(gate) times up"
2810
+ },
2811
+ "decoder_2_ffn_output": {
2812
+ "dtype": "float32",
2813
+ "semantic_shape": [
2814
+ "batch",
2815
+ "sequence",
2816
+ "feature"
2817
+ ],
2818
+ "example_shape": [
2819
+ 1,
2820
+ 4,
2821
+ 384
2822
+ ],
2823
+ "meaning": "FFN down projection before residual add"
2824
+ },
2825
+ "decoder_2_output": {
2826
+ "dtype": "float32",
2827
+ "semantic_shape": [
2828
+ "batch",
2829
+ "sequence",
2830
+ "feature"
2831
+ ],
2832
+ "example_shape": [
2833
+ 1,
2834
+ 4,
2835
+ 384
2836
+ ],
2837
+ "meaning": "Block output after FFN residual add"
2838
+ },
2839
+ "decoder_3_input": {
2840
+ "dtype": "float32",
2841
+ "semantic_shape": [
2842
+ "batch",
2843
+ "sequence",
2844
+ "feature"
2845
+ ],
2846
+ "example_shape": [
2847
+ 1,
2848
+ 4,
2849
+ 384
2850
+ ],
2851
+ "meaning": "Block input before attention RMSNorm"
2852
+ },
2853
+ "decoder_3_norm1": {
2854
+ "dtype": "float32",
2855
+ "semantic_shape": [
2856
+ "batch",
2857
+ "sequence",
2858
+ "feature"
2859
+ ],
2860
+ "example_shape": [
2861
+ 1,
2862
+ 4,
2863
+ 384
2864
+ ],
2865
+ "meaning": "Block input after attention RMSNorm; local K/V source"
2866
+ },
2867
+ "decoder_3_q_pre_rope": {
2868
+ "dtype": "float32",
2869
+ "semantic_shape": [
2870
+ "batch",
2871
+ "head",
2872
+ "sequence",
2873
+ "head_dim"
2874
+ ],
2875
+ "example_shape": [
2876
+ 1,
2877
+ 6,
2878
+ 4,
2879
+ 64
2880
+ ],
2881
+ "meaning": "Query linear projection before RoPE"
2882
+ },
2883
+ "decoder_3_q": {
2884
+ "dtype": "float32",
2885
+ "semantic_shape": [
2886
+ "batch",
2887
+ "head",
2888
+ "sequence",
2889
+ "head_dim"
2890
+ ],
2891
+ "example_shape": [
2892
+ 1,
2893
+ 6,
2894
+ 4,
2895
+ 64
2896
+ ],
2897
+ "meaning": "Query after RoPE, used in attention scores"
2898
+ },
2899
+ "decoder_3_global_k_pre_rope": {
2900
+ "dtype": "float32",
2901
+ "semantic_shape": [
2902
+ "batch",
2903
+ "head",
2904
+ "sequence",
2905
+ "head_dim"
2906
+ ],
2907
+ "example_shape": [
2908
+ 1,
2909
+ 6,
2910
+ 4,
2911
+ 64
2912
+ ],
2913
+ "meaning": "Global key projection before RoPE; source: encoder_output"
2914
+ },
2915
+ "decoder_3_global_k": {
2916
+ "dtype": "float32",
2917
+ "semantic_shape": [
2918
+ "batch",
2919
+ "head",
2920
+ "sequence",
2921
+ "head_dim"
2922
+ ],
2923
+ "example_shape": [
2924
+ 1,
2925
+ 6,
2926
+ 4,
2927
+ 64
2928
+ ],
2929
+ "meaning": "Global key after RoPE, used in attention scores; source: encoder_output"
2930
+ },
2931
+ "decoder_3_global_v": {
2932
+ "dtype": "float32",
2933
+ "semantic_shape": [
2934
+ "batch",
2935
+ "head",
2936
+ "sequence",
2937
+ "head_dim"
2938
+ ],
2939
+ "example_shape": [
2940
+ 1,
2941
+ 6,
2942
+ 4,
2943
+ 64
2944
+ ],
2945
+ "meaning": "Global value projection used in attention output; source: encoder_output"
2946
+ },
2947
+ "decoder_3_local_k_pre_rope": {
2948
+ "dtype": "float32",
2949
+ "semantic_shape": [
2950
+ "batch",
2951
+ "head",
2952
+ "sequence",
2953
+ "head_dim"
2954
+ ],
2955
+ "example_shape": [
2956
+ 1,
2957
+ 6,
2958
+ 4,
2959
+ 64
2960
+ ],
2961
+ "meaning": "Local key projection before RoPE"
2962
+ },
2963
+ "decoder_3_local_k": {
2964
+ "dtype": "float32",
2965
+ "semantic_shape": [
2966
+ "batch",
2967
+ "head",
2968
+ "sequence",
2969
+ "head_dim"
2970
+ ],
2971
+ "example_shape": [
2972
+ 1,
2973
+ 6,
2974
+ 4,
2975
+ 64
2976
+ ],
2977
+ "meaning": "Local key after RoPE, used in attention scores"
2978
+ },
2979
+ "decoder_3_local_v": {
2980
+ "dtype": "float32",
2981
+ "semantic_shape": [
2982
+ "batch",
2983
+ "head",
2984
+ "sequence",
2985
+ "head_dim"
2986
+ ],
2987
+ "example_shape": [
2988
+ 1,
2989
+ 6,
2990
+ 4,
2991
+ 64
2992
+ ],
2993
+ "meaning": "Local value projection used in attention output"
2994
+ },
2995
+ "decoder_3_combined_k": {
2996
+ "dtype": "float32",
2997
+ "semantic_shape": [
2998
+ "batch",
2999
+ "head",
3000
+ "global+local-key",
3001
+ "head_dim"
3002
+ ],
3003
+ "example_shape": [
3004
+ 1,
3005
+ 6,
3006
+ 8,
3007
+ 64
3008
+ ],
3009
+ "meaning": "Global keys followed by local keys on the sequence axis"
3010
+ },
3011
+ "decoder_3_combined_v": {
3012
+ "dtype": "float32",
3013
+ "semantic_shape": [
3014
+ "batch",
3015
+ "head",
3016
+ "global+local-key",
3017
+ "head_dim"
3018
+ ],
3019
+ "example_shape": [
3020
+ 1,
3021
+ 6,
3022
+ 8,
3023
+ 64
3024
+ ],
3025
+ "meaning": "Global values followed by local values on the sequence axis"
3026
+ },
3027
+ "decoder_3_global_mask": {
3028
+ "dtype": "int64",
3029
+ "semantic_shape": [
3030
+ "batch",
3031
+ "broadcast-head",
3032
+ "query",
3033
+ "key"
3034
+ ],
3035
+ "example_shape": [
3036
+ 1,
3037
+ 1,
3038
+ 4,
3039
+ 4
3040
+ ],
3041
+ "meaning": "Allowed global key positions; causal"
3042
+ },
3043
+ "decoder_3_local_mask": {
3044
+ "dtype": "int64",
3045
+ "semantic_shape": [
3046
+ "batch",
3047
+ "broadcast-head",
3048
+ "query",
3049
+ "key"
3050
+ ],
3051
+ "example_shape": [
3052
+ 1,
3053
+ 1,
3054
+ 4,
3055
+ 4
3056
+ ],
3057
+ "meaning": "Allowed local key positions; causal and within local window"
3058
+ },
3059
+ "decoder_3_attention_mask": {
3060
+ "dtype": "int64",
3061
+ "semantic_shape": [
3062
+ "batch",
3063
+ "broadcast-head",
3064
+ "query",
3065
+ "global+local-key"
3066
+ ],
3067
+ "example_shape": [
3068
+ 1,
3069
+ 1,
3070
+ 4,
3071
+ 8
3072
+ ],
3073
+ "meaning": "Global mask followed by local mask; 1 allowed, 0 blocked"
3074
+ },
3075
+ "decoder_3_attn_scores": {
3076
+ "dtype": "float32",
3077
+ "semantic_shape": [
3078
+ "batch",
3079
+ "head",
3080
+ "query",
3081
+ "global+local-key"
3082
+ ],
3083
+ "example_shape": [
3084
+ 1,
3085
+ 6,
3086
+ 4,
3087
+ 8
3088
+ ],
3089
+ "meaning": "Scaled Q times transposed combined K, before mask"
3090
+ },
3091
+ "decoder_3_attn_masked_scores": {
3092
+ "dtype": "float32",
3093
+ "semantic_shape": [
3094
+ "batch",
3095
+ "head",
3096
+ "query",
3097
+ "global+local-key"
3098
+ ],
3099
+ "example_shape": [
3100
+ 1,
3101
+ 6,
3102
+ 4,
3103
+ 8
3104
+ ],
3105
+ "meaning": "Attention scores with blocked positions set to negative infinity"
3106
+ },
3107
+ "decoder_3_attn_probs": {
3108
+ "dtype": "float32",
3109
+ "semantic_shape": [
3110
+ "batch",
3111
+ "head",
3112
+ "query",
3113
+ "global+local-key"
3114
+ ],
3115
+ "example_shape": [
3116
+ 1,
3117
+ 6,
3118
+ 4,
3119
+ 8
3120
+ ],
3121
+ "meaning": "Softmax probabilities actually multiplied by combined V"
3122
+ },
3123
+ "decoder_3_attn_output": {
3124
+ "dtype": "float32",
3125
+ "semantic_shape": [
3126
+ "batch",
3127
+ "sequence",
3128
+ "feature"
3129
+ ],
3130
+ "example_shape": [
3131
+ 1,
3132
+ 4,
3133
+ 384
3134
+ ],
3135
+ "meaning": "Attention result after output projection, before residual add"
3136
+ },
3137
+ "decoder_3_after_attn_residual": {
3138
+ "dtype": "float32",
3139
+ "semantic_shape": [
3140
+ "batch",
3141
+ "sequence",
3142
+ "feature"
3143
+ ],
3144
+ "example_shape": [
3145
+ 1,
3146
+ 4,
3147
+ 384
3148
+ ],
3149
+ "meaning": "Hidden state after attention residual add"
3150
+ },
3151
+ "decoder_3_norm2": {
3152
+ "dtype": "float32",
3153
+ "semantic_shape": [
3154
+ "batch",
3155
+ "sequence",
3156
+ "feature"
3157
+ ],
3158
+ "example_shape": [
3159
+ 1,
3160
+ 4,
3161
+ 384
3162
+ ],
3163
+ "meaning": "Hidden state after FFN RMSNorm"
3164
+ },
3165
+ "decoder_3_ffn_gate": {
3166
+ "dtype": "float32",
3167
+ "semantic_shape": [
3168
+ "batch",
3169
+ "sequence",
3170
+ "ffn_dim"
3171
+ ],
3172
+ "example_shape": [
3173
+ 1,
3174
+ 4,
3175
+ 1024
3176
+ ],
3177
+ "meaning": "SwiGLU gate linear projection"
3178
+ },
3179
+ "decoder_3_ffn_up": {
3180
+ "dtype": "float32",
3181
+ "semantic_shape": [
3182
+ "batch",
3183
+ "sequence",
3184
+ "ffn_dim"
3185
+ ],
3186
+ "example_shape": [
3187
+ 1,
3188
+ 4,
3189
+ 1024
3190
+ ],
3191
+ "meaning": "SwiGLU up linear projection"
3192
+ },
3193
+ "decoder_3_ffn_activation": {
3194
+ "dtype": "float32",
3195
+ "semantic_shape": [
3196
+ "batch",
3197
+ "sequence",
3198
+ "ffn_dim"
3199
+ ],
3200
+ "example_shape": [
3201
+ 1,
3202
+ 4,
3203
+ 1024
3204
+ ],
3205
+ "meaning": "SwiGLU product SiLU(gate) times up"
3206
+ },
3207
+ "decoder_3_ffn_output": {
3208
+ "dtype": "float32",
3209
+ "semantic_shape": [
3210
+ "batch",
3211
+ "sequence",
3212
+ "feature"
3213
+ ],
3214
+ "example_shape": [
3215
+ 1,
3216
+ 4,
3217
+ 384
3218
+ ],
3219
+ "meaning": "FFN down projection before residual add"
3220
+ },
3221
+ "decoder_3_output": {
3222
+ "dtype": "float32",
3223
+ "semantic_shape": [
3224
+ "batch",
3225
+ "sequence",
3226
+ "feature"
3227
+ ],
3228
+ "example_shape": [
3229
+ 1,
3230
+ 4,
3231
+ 384
3232
+ ],
3233
+ "meaning": "Block output after FFN residual add"
3234
+ },
3235
+ "decoder_output": {
3236
+ "dtype": "float32",
3237
+ "semantic_shape": [
3238
+ "batch",
3239
+ "sequence",
3240
+ "feature"
3241
+ ],
3242
+ "example_shape": [
3243
+ 1,
3244
+ 4,
3245
+ 384
3246
+ ],
3247
+ "meaning": "Last decoder block output before final RMSNorm"
3248
+ },
3249
+ "final_hidden": {
3250
+ "dtype": "float32",
3251
+ "semantic_shape": [
3252
+ "batch",
3253
+ "sequence",
3254
+ "feature"
3255
+ ],
3256
+ "example_shape": [
3257
+ 1,
3258
+ 4,
3259
+ 384
3260
+ ],
3261
+ "meaning": "Decoder hidden state after final RMSNorm"
3262
+ },
3263
+ "logits": {
3264
+ "dtype": "float32",
3265
+ "semantic_shape": [
3266
+ "batch",
3267
+ "sequence",
3268
+ "vocab"
3269
+ ],
3270
+ "example_shape": [
3271
+ 1,
3272
+ 4,
3273
+ 8192
3274
+ ],
3275
+ "meaning": "Full-sequence vocabulary logits from tied LM head"
3276
+ }
3277
+ }
3278
+ }