← MIC coverage of Transformers model types

sail/poolformer_s12

huggingface-mic/poolformer_s12-mic@c6f3c06c7b9d ← sail/poolformer_s12@01bcf57546ac · PoolFormerForImageClassification · real weights

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

Original11.9Mparameters
Fixture11.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 (14 literal values, 14 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.

poolformer.encoder.patch_embeddings

Original · 4
Fixture · 4
KindOriginalFixture
Conv2d44✓ kept

poolformer.encoder.block

Original · 4
Fixture · 4
KindOriginalFixture
FormerLayer44✓ 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
poolformer.encoder.block9.5M79.5%9.5M79.5%
poolformer.encoder.patch_embeddings1.9M16.2%1.9M16.2%
classifier513.0K4.3%513.0K4.3%
norm1.0K0.0%1.0K0.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typepoolformerpoolformer✓ kept
modelhidden_actgelugelu✓ kept
modelpatch_size1616✓ kept
modelnum_channels33✓ kept

Module classes

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

ClassOriginalFixture
Conv2d2828
FormerGroupNorm2525
Identity1616
AvgPool2d1212
GELUActivation1212
FormerDropPath1212
FormerLayer1212
FormerOutput1212
FormerPooling1212
ModuleList66
FormerEmbeddings44
Linear11
FormerEncoder11
FormerForImageClassification11
FormerModel11

Config changes

0 fields changed, 26 unchanged.

FieldOriginalFixture