← MIC coverage of Transformers model types

LiquidAI/LFM2.5-VL-450M

huggingface-mic/LFM2.5-VL-450M-mic@aa835f2f3e77 ← LiquidAI/LFM2.5-VL-450M@fc6221ca597f · Lfm2VlForConditionalGeneration · random weights

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

Original448.7Mparameters
Fixture4.5Mparameters
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 (25 literal values, 9 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.

model.vision_tower.encoder.layers

Original · 12
Fixture · 2
KindOriginalFixture
Siglip2EncoderLayer122✓ kept

model.language_model.layers

Original · 16
Fixture · 2
KindOriginalFixture
conv, Conv1d, Lfm2ShortConv101✓ kept
is_causal=True, Lfm2Attention61✓ 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
model.language_model.layers287.4M64.0%127.5K2.9%
model.vision_tower.encoder.layers85.1M19.0%66.9K1.5%
model.language_model67.1M15.0%4.2M93.9%
model.multi_modal_projector8.4M1.9%10.3K0.2%
model.vision_tower788.7K0.2%65.7K1.5%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typelfm2_vllfm2_vl✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
vision_configmodel_typesiglip2_vision_modelsiglip2_vision_model✓ kept
vision_confighidden_actgelu_pytorch_tanhgelu_pytorch_tanh✓ kept
vision_configpatch_size1616✓ kept
vision_confignum_channels33✓ kept
text_configattention styleGQA (16 heads, 8 KV)GQA (4 heads, 2 KV)✓ kept
text_configRoPE typedefaultdefault✓ kept
text_configmodel_typelfm2lfm2✓ kept
text_configvocab_size6553665536✓ kept
text_configtie_word_embeddingsTrueTrue✓ kept
text_configmax_position_embeddings128000128000✓ kept

Module classes

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

ClassOriginalFixture
Linear16828
Lfm2RMSNorm457
LayerNorm255
Lfm2DecoderLayer162
Lfm2MLP162
GELUTanh122
Siglip2Attention122
Siglip2EncoderLayer122
Siglip2MLP122
Conv1d101
Lfm2ShortConv101
Lfm2Attention61
Embedding22
ModuleList22
GELUActivation11
Lfm2Model11
Lfm2RotaryEmbedding11
ForConditionalGeneration11
Model11
MultiModalProjector11
Siglip2Encoder11
Siglip2VisionEmbeddings11
Siglip2VisionModel11

Config changes

12 fields changed, 76 unchanged.

FieldOriginalFixture
projector_hidden_size204832
text_config.hidden_size102464
text_config.intermediate_size6656128
text_config.layer_types16 entries: 10× conv, 6× full_attention["conv", "full_attention"]
text_config.num_attention_heads164
text_config.num_heads164
text_config.num_hidden_layers162
text_config.num_key_value_heads82
vision_config.hidden_size76864
vision_config.intermediate_size3072128
vision_config.num_attention_heads124
vision_config.num_hidden_layers122