← MIC coverage of Transformers model types

google/owlv2-base-patch16-ensemble

huggingface-mic/owlv2-base-patch16-ensemble-mic@de5f6eb0e6f6 ← google/owlv2-base-patch16-ensemble@cfd3195ba4ea · Owlv2ForObjectDetection · random weights

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

Original155.0Mparameters
Fixture3.6Mparameters
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.

owlv2.text_model.encoder.layers

Original · 12
Fixture · 2
KindOriginalFixture
EncoderLayer122✓ kept

owlv2.vision_model.encoder.layers

Original · 12
Fixture · 2
KindOriginalFixture
EncoderLayer122✓ 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
owlv2.vision_model.encoder.layers85.1M54.9%66.9K1.9%
owlv2.text_model.encoder.layers37.8M24.4%66.9K1.9%
owlv2.text_model25.3M16.3%3.2M87.7%
owlv2.vision_model3.4M2.2%279.9K7.8%
objectness_head.dense0590.6K0.4%4.2K0.1%
box_head.dense0590.6K0.4%4.2K0.1%
objectness_head.dense1590.6K0.4%4.2K0.1%
10 others1.6M1.1%17.1K0.5%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typeowlv2owlv2✓ kept
text_configmodel_typeowlv2_text_modelowlv2_text_model✓ kept
text_configvocab_size4940849408✓ kept
text_confighidden_actquick_geluquick_gelu✓ kept
text_configmax_position_embeddings1616✓ kept
vision_configmodel_typeowlv2_vision_modelowlv2_vision_model✓ kept
vision_confighidden_actquick_geluquick_gelu✓ kept
vision_configimage_size960960✓ kept
vision_configpatch_size1616✓ kept
vision_confignum_channels33✓ kept

Module classes

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

ClassOriginalFixture
Linear15535
LayerNorm5212
Attention244
EncoderLayer244
MLP244
QuickGELUActivation244
Embedding33
GELU22
ModuleList22
BoxPredictionHead22
Encoder22
Conv2d11
ELU11
ClassPredictionHead11
ForObjectDetection11
Model11
TextEmbeddings11
TextTransformer11
VisionEmbeddings11
VisionTransformer11
Sigmoid11

Config changes

9 fields changed, 47 unchanged.

FieldOriginalFixture
projection_dim51264
text_config.hidden_size51264
text_config.intermediate_size2048128
text_config.num_attention_heads84
text_config.num_hidden_layers122
vision_config.hidden_size76864
vision_config.intermediate_size3072128
vision_config.num_attention_heads124
vision_config.num_hidden_layers122