← MIC coverage of Transformers model types

poolside/Laguna-XS.2

huggingface-mic/Laguna-XS.2-mic@21bbfb128fc8 ← poolside/Laguna-XS.2@a397bde04501 · LagunaForCausalLM · random weights · built before the shrink rule (no recorded recipe)

CI: no failure on main in 30 days · MIC failures dashboard

Original33.4Bparameters
Fixture13.2Mparameters
Layer stacks1compared
Findings0to review

✓ Same architecture, smaller

Every module class, layer kind and checked property of the original is in the fixture.

Layer stacks

One square per layer, colored by kind: the layer's module classes and type attributes. Hover a square for its index and kind.

model.layers

Original · 40
Fixture · 2
KindOriginalFixture
no Experts11✓ kept
Experts, SparseMoeBlock, TopKRouter391✓ kept

Where the parameters are

Share of each model's parameters per component. Vocabulary and patch sizes are kept, so embeddings usually take a larger share of the fixture.

Original
Fixture
ComponentOriginalShareFixtureShare
model.layers33.0B98.8%319.0K2.4%
model.embed_tokens205.5M0.6%6.4M48.8%
lm_head205.5M0.6%6.4M48.8%
model.norm2.0K0.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleGQA (48 heads, 8 KV)GQA (4 heads, 2 KV)✓ kept
modelMoE routingtop-8 of 256 expertstop-2 of 4 experts✓ kept
modelmodel_typelagunalaguna✓ kept
modelvocab_size100352100352✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings262144262144✓ kept

Module classes

Instances of each class in the built model (prefix Laguna omitted).

ClassOriginalFixture
Linear32117
RMSNorm1619
SiLUActivation793
Attention402
DecoderLayer402
MLP402
Experts391
SparseMoeBlock391
TopKRouter391
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

13 fields changed, 31 unchanged.

FieldOriginalFixture
head_dim12816
hidden_size204864
intermediate_size8192128
layer_types40 entries: 30× sliding_attention, 10× full_attention["full_attention", "sliding_attention"]
mlp_layer_types40 entries: 39× sparse, 1× dense["dense", "sparse"]
moe_intermediate_size51232
num_attention_heads484
num_attention_heads_per_layer40 entries: 30× 64, 10× 48[48, 64]
num_experts2564
num_experts_per_tok82
num_hidden_layers402
num_key_value_heads82
shared_expert_intermediate_size512128