← MIC coverage of Transformers model types

google-t5/t5-small

huggingface-mic/t5-mic@17a8c0b6ac87 ← google-t5/t5-small@df1b051c4962 · T5ForConditionalGeneration · random weights · built before the shrink rule (no recorded recipe)

CI: passing now; 3 failed checks in 30 days · MIC failures dashboard

Original60.5Mparameters
Fixture2.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 · 6
Fixture · 2
KindOriginalFixture
Embedding11✓ kept
no Embedding51✓ kept

decoder.block

Original · 6
Fixture · 2
KindOriginalFixture
Embedding11✓ kept
no Embedding51✓ 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
decoder.block25.2M41.6%98.8K4.4%
encoder.block18.9M31.2%65.9K3.0%
shared16.4M27.2%2.1M92.6%
decoder.final_layer_norm5120.0%640.0%
encoder.final_layer_norm5120.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typet5t5✓ kept
modelvocab_size3212832128✓ kept
modeltie_word_embeddingsTrueTrue✓ kept

Module classes

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

ClassOriginalFixture
Linear9733
Dropout4416
LayerNorm3212
Attention186
ModuleList146
ReLU124
Block124
DenseActDense124
LayerFF124
LayerSelfAttention124
LayerCrossAttention62
Embedding55
Stack22
ForConditionalGeneration11

Config changes

6 fields changed, 29 unchanged.

FieldOriginalFixture
d_ff2048128
d_kv6416
d_model51264
num_decoder_layers62
num_heads84
num_layers62