← MIC coverage of Transformers model types

tiiuae/falcon-7b

huggingface-mic/falcon-7b-mic@c2ffcf79ca75 ← tiiuae/falcon-7b@ec89142b67d7 · FalconForCausalLM · random weights

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

Original6.9Bparameters
Fixture8.8Mparameters
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.

transformer.h

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
transformer.h6.6B95.7%4.7M52.9%
transformer.word_embeddings295.5M4.3%4.2M47.1%
transformer.ln_f9.1K0.0%1280.0%

Preserved properties

ConfigPropertyOriginalFixture
modelRoPE typedefaultdefault✓ kept
modelmodel_typefalconfalcon✓ kept
modelvocab_size6502465024✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
modelmax_position_embeddings20482048✓ kept

Module classes

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

ClassOriginalFixture
Linear1288
LayerNorm333
Dropout322
Attention322
DecoderLayer322
MLP322
GELUActivation322
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
Linear11
ModuleList11

Config changes

3 fields changed, 32 unchanged.

FieldOriginalFixture
hidden_size454464
num_attention_heads714
num_hidden_layers322