← MIC coverage of Transformers model types

MCG-NJU/videomae-base

huggingface-mic/videomae-base-mic@219b880691a0 ← MCG-NJU/videomae-base@dc740ceda42f · VideoMAEForPreTraining · random weights

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

Original94.2Mparameters
Fixture7.9Mparameters
Layer stacks2compared
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 (19 literal values, 19 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.

videomae.encoder.layer

Original · 12
Fixture · 2
KindOriginalFixture
Layer122✓ kept

decoder.decoder_layers

Original · 4
Fixture · 4
KindOriginalFixture
Layer44✓ 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
videomae.encoder.layer85.0M90.3%66.8K0.8%
decoder.decoder_layers7.1M7.5%7.1M90.1%
videomae.embeddings1.2M1.3%98.4K1.2%
decoder.head591.4K0.6%591.4K7.5%
encoder_to_decoder294.9K0.3%24.6K0.3%
videomae.layernorm1.5K0.0%1280.0%
decoder.norm7680.0%7680.0%
1 others3840.0%3840.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typevideomaevideomae✓ kept
modelhidden_actgelugelu✓ kept
modelimage_size224224✓ kept
modelpatch_size1616✓ kept
modelnum_channels33✓ kept

Module classes

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

ClassOriginalFixture
Linear9838
LayerNorm3414
Dropout3212
GELUActivation166
Attention166
Intermediate166
Layer166
Output166
SelfAttention166
SelfOutput166
ModuleList22
Conv3d11
Decoder11
Embeddings11
Encoder11
ForPreTraining11
Model11
PatchEmbeddings11

Config changes

4 fields changed, 26 unchanged.

FieldOriginalFixture
hidden_size76864
intermediate_size3072128
num_attention_heads124
num_hidden_layers122