← MIC coverage of Transformers model types

Zetatech/pvt-tiny-224

huggingface-mic/pvt-tiny-224-mic@e087920fd447 ← Zetatech/pvt-tiny-224@6a44ba96dda6 · PvtForImageClassification · real weights

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

Original13.2Mparameters
Fixture13.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.

pvt.encoder.patch_embeddings

Original · 4
Fixture · 4
KindOriginalFixture
Conv2d44✓ kept

pvt.encoder.block

Original · 4
Fixture · 4
KindOriginalFixture
Conv2d33✓ kept
no Conv2d11✓ 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
pvt.encoder.block11.5M86.7%11.5M86.7%
pvt.encoder.patch_embeddings1.2M9.4%1.2M9.4%
classifier513.0K3.9%513.0K3.9%
pvt.encoder1.0K0.0%1.0K0.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typepvtpvt✓ kept
modelhidden_actgelugelu✓ kept
modelimage_size224224✓ kept
modelnum_channels33✓ kept

Module classes

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

ClassOriginalFixture
Linear4949
Dropout2828
LayerNorm2727
Conv2d1010
GELUActivation88
Identity88
Attention88
EfficientSelfAttention88
FFN88
Layer88
SelfOutput88
ModuleList66
PatchEmbeddings44
Encoder11
ForImageClassification11
Model11

Config changes

0 fields changed, 28 unchanged.

FieldOriginalFixture