← MIC coverage of Transformers model types

facebook/opt-125m

huggingface-mic/opt-125m-mic@30dda77b685d ← facebook/opt-125m@27dcfa74d334 · OPTForCausalLM · random weights · built before the shrink rule (no recorded recipe)

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

Original125.2Mparameters
Fixture38.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.decoder.layers

Original · 12
Fixture · 2
KindOriginalFixture
DecoderLayer122✓ 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.decoder.layers85.1M67.9%66.9K0.2%
model.decoder40.2M32.1%38.8M99.8%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typeoptopt✓ kept
modelvocab_size5027250272✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
modelmax_position_embeddings20482048✓ kept

Module classes

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

ClassOriginalFixture
Linear7315
LayerNorm255
Attention122
DecoderLayer122
ReLU122
Embedding11
ModuleList11
Decoder11
ForCausalLM11
LearnedPositionalEmbedding11
Model11

Config changes

4 fields changed, 28 unchanged.

FieldOriginalFixture
ffn_dim3072128
hidden_size76864
num_attention_heads124
num_hidden_layers122