← MIC coverage of Transformers model types

shanearora/Flex-reddit-2x7B-1T

huggingface-mic/Flex-reddit-2x7B-1T-mic@b3a97ed0d497 ← shanearora/Flex-reddit-2x7B-1T@e478b3af8625 · FlexOlmoForCausalLM · random weights

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

Original11.6Bparameters
Fixture13.0Mparameters
Layer stacks1compared
Findings0to review

✓ Same architecture, smaller

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

Model tester (advisory)

The model's own small test config in its ModelTester (16 literal values, 1 set by the model's own tester, the rest generic base-tester defaults). Testers are usually representative but not always, so these notes are for review, not rules.

The fixture covers every per-layer kind the tester sets, and shrinks every size it does.

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 · 32
Fixture · 2
KindOriginalFixture
DecoderLayer322✓ 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.layers10.8B92.9%131.8K1.0%
lm_head411.0M3.5%6.4M49.5%
model.embed_tokens411.0M3.5%6.4M49.5%
model.norm4.1K0.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleMHA (32 heads, 32 KV)MHA (4 heads, 4 KV)✓ kept
modelMoE routingtop-2 of 2 expertstop-2 of 2 experts✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typeflex_olmoflex_olmo✓ 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 FlexOlmo omitted).

ClassOriginalFixture
RMSNorm1299
Linear1299
Attention322
DecoderLayer322
Experts322
SparseMoeBlock322
TopKRouter322
SiLUActivation322
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

5 fields changed, 28 unchanged.

FieldOriginalFixture
hidden_size409664
intermediate_size11008128
num_attention_heads324
num_hidden_layers322
num_key_value_heads324