← MIC coverage of Transformers model types

google/mt5-small

huggingface-mic/mt5-small-mic@13bc3e6cb33e ← google/mt5-small@73fb5dbe4756 · MT5ForConditionalGeneration · random weights

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

Original172.1Mparameters
Fixture16.2Mparameters
Layer stacks2compared
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.

encoder.block

Original · 8
Fixture · 2
KindOriginalFixture
Embedding11✓ kept
no Embedding71✓ kept

decoder.block

Original · 8
Fixture · 2
KindOriginalFixture
Embedding11✓ kept
no Embedding71✓ 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
shared128.1M74.4%16.0M98.8%
decoder.block25.2M14.6%115.2K0.7%
encoder.block18.9M11.0%82.3K0.5%
decoder.final_layer_norm5120.0%640.0%
encoder.final_layer_norm5120.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typemt5mt5✓ kept
modelvocab_size250112250112✓ kept
modeltie_word_embeddingsTrueTrue✓ kept

Module classes

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

ClassOriginalFixture
Linear14537
Dropout5816
LayerNorm4212
Attention246
ModuleList186
Block164
DenseGatedActDense164
LayerFF164
LayerSelfAttention164
NewGELUActivation164
LayerCrossAttention82
Embedding55
Stack22
ForConditionalGeneration11

Config changes

6 fields changed, 27 unchanged.

FieldOriginalFixture
d_ff1024128
d_kv6416
d_model51264
num_decoder_layers82
num_heads64
num_layers82