← MIC coverage of Transformers model types

allenai/OLMo-1B-hf

huggingface-mic/OLMo-1B-hf-mic@87c81bd7d9f9 ← allenai/OLMo-1B-hf@aee7752d9c08 · OlmoForCausalLM · random weights

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

Original1.2Bparameters
Fixture3.3Mparameters
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 · 16
Fixture · 2
KindOriginalFixture
DecoderLayer162✓ 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.1B91.2%81.9K2.5%
model.embed_tokens103.0M8.8%3.2M97.5%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleMHA (16 heads, 16 KV)MHA (4 heads, 4 KV)✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typeolmoolmo✓ kept
modelvocab_size5030450304✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings20482048✓ kept

Module classes

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

ClassOriginalFixture
Linear11315
LayerNorm335
Attention162
DecoderLayer162
MLP162
SiLUActivation162
Embedding11
ModuleList11
ForCausalLM11
Model11
RotaryEmbedding11

Config changes

5 fields changed, 23 unchanged.

FieldOriginalFixture
hidden_size204864
intermediate_size8192128
num_attention_heads164
num_hidden_layers162
num_key_value_heads164