← MIC coverage of Transformers model types

microsoft/resnet-18

huggingface-mic/resnet-18-mic@79f172823370 ← microsoft/resnet-18@65a5785d9156 · ResNetForImageClassification · real weights

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

Original11.7Mparameters
Fixture11.7Mparameters
Layer stacks1compared
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.

resnet.encoder.stages

Original · 4
Fixture · 4
KindOriginalFixture
no ShortCut11✓ kept
ShortCut33✓ 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
resnet.encoder.stages11.2M95.5%11.2M95.5%
classifier.1513.0K4.4%513.0K4.4%
resnet.embedder9.5K0.1%9.5K0.1%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typeresnetresnet✓ kept
modelhidden_actrelurelu✓ kept
modelnum_channels33✓ kept

Module classes

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

ClassOriginalFixture
BatchNorm2d2020
Conv2d2020
ReLU1717
ConvLayer1717
Identity1313
Sequential1313
BasicLayer88
Stage44
ShortCut33
AdaptiveAvgPool2d11
Flatten11
Linear11
MaxPool2d11
ModuleList11
Embeddings11
Encoder11
ForImageClassification11
Model11

Config changes

0 fields changed, 20 unchanged.

FieldOriginalFixture