← MIC coverage of Transformers model types

HuggingFaceTB/SmolLM-135M

huggingface-mic/smollm-mic@d0da7b30e6c7 ← HuggingFaceTB/SmolLM-135M@1d461723eec6 · LlamaForCausalLM · overfit weights · built before the shrink rule (no recorded recipe)

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

Original134.5Mparameters
Fixture3.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 · 30
Fixture · 2
KindOriginalFixture
DecoderLayer302✓ 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.layers106.2M79.0%74.0K2.3%
model.embed_tokens28.3M21.0%3.1M97.7%
model.norm5760.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleGQA (9 heads, 3 KV)GQA (4 heads, 2 KV)✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typellamallama✓ kept
modelvocab_size4915249152✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings20482048✓ kept

Module classes

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

ClassOriginalFixture
Linear21115
RMSNorm615
Attention302
DecoderLayer302
MLP302
SiLUActivation302
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

6 fields changed, 24 unchanged.

FieldOriginalFixture
head_dim6416
hidden_size57664
intermediate_size1536128
num_attention_heads94
num_hidden_layers302
num_key_value_heads32