← MIC coverage of Transformers model types

stabilityai/stablelm-2-1_6b

huggingface-mic/stablelm-2-1_6b-mic@eec0b53366b6 ← stabilityai/stablelm-2-1_6b@f499ead74c53 · StableLmForCausalLM · random weights

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

Original1.6Bparameters
Fixture12.9Mparameters
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 · 24
Fixture · 2
KindOriginalFixture
DecoderLayer242✓ 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.layers1.2B75.0%82.8K0.6%
model.embed_tokens205.5M12.5%6.4M49.7%
lm_head205.5M12.5%6.4M49.7%
model.norm4.1K0.0%1280.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleMHA (32 heads, 32 KV)MHA (4 heads, 4 KV)✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typestablelmstablelm✓ kept
modelvocab_size100352100352✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings40964096✓ kept

Module classes

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

ClassOriginalFixture
Linear16915
LayerNorm495
Dropout242
SiLUActivation242
Attention242
DecoderLayer242
MLP242
Embedding11
ModuleList11
ForCausalLM11
Model11
RotaryEmbedding11

Config changes

5 fields changed, 25 unchanged.

FieldOriginalFixture
hidden_size204864
intermediate_size5632128
num_attention_heads324
num_hidden_layers242
num_key_value_heads324