← MIC coverage of Transformers model types

Freepik/nsfw_image_detector

huggingface-mic/nsfw_image_detector-mic@a289ef28ebd1 ← Freepik/nsfw_image_detector@15b85477e4fd · TimmWrapperForImageClassification · random weights

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

Original86.4Mparameters
Fixture86.4Mparameters
Layer stacks1compared
Findings1to review

⚠ To review

Model tester (advisory)

The model's own small test config in its ModelTester (6 literal values, 6 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.

timm_model.blocks

Original · 12
Fixture · 12
KindOriginalFixture
EvaBlock1212✓ 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
timm_model.blocks85.1M98.6%85.1M98.6%
timm_model788.0K0.9%788.0K0.9%
timm_model.patch_embed452.4K0.5%452.4K0.5%
timm_model.head1.5K0.0%1.5K0.0%
timm_model.fc_norm1.5K0.0%1.5K0.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typetimm_wrappertimm_wrapper✓ kept

Module classes

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

ClassOriginalFixture
Linear8585
Identity6363
Dropout5050
LayerNorm3737
EvaAttention1212
EvaBlock1212
SiLU1212
SwiGLU1212
Conv2d11
Eva11
ModuleList11
PatchEmbed11
RotaryEmbeddingCat11
ForImageClassification11

Config changes

0 fields changed, 16 unchanged.

FieldOriginalFixture