mistralai/Voxtral-Mini-3B-2507
Original4.7Bparameters
Fixture17.1Mparameters
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.
model.audio_tower.layers
Original · 32
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| EncoderLayer | 32 | 2 | ✓ kept |
model.language_model.layers
Original · 30
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| LlamaDecoderLayer | 30 | 2 | ✓ 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
| Component | Original | Share | Fixture | Share |
|---|---|---|---|---|
| model.language_model.layers | 3.2B | 68.6% | 74.0K | 0.4% |
| model.audio_tower.layers | 629.6M | 13.5% | 99.8K | 0.6% |
| model.language_model | 402.7M | 8.6% | 8.4M | 49.0% |
| lm_head | 402.7M | 8.6% | 8.4M | 49.0% |
| model.multi_modal_projector | 25.2M | 0.5% | 20.5K | 0.1% |
| model.audio_tower | 7.3M | 0.2% | 133.1K | 0.8% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | model_type | voxtral | voxtral | ✓ kept |
| model | vocab_size | 131072 | 131072 | ✓ kept |
| audio_config | attention style | MHA (20 heads, 20 KV) | MHA (4 heads, 4 KV) | ✓ kept |
| audio_config | model_type | voxtral_encoder | voxtral_encoder | ✓ kept |
| audio_config | vocab_size | 51866 | 51866 | ✓ kept |
| audio_config | num_mel_bins | 128 | 128 | ✓ kept |
| text_config | attention style | GQA (32 heads, 8 KV) | GQA (4 heads, 2 KV) | ✓ kept |
| text_config | RoPE type | default | default | ✓ kept |
| text_config | model_type | llama | llama | ✓ kept |
| text_config | vocab_size | 131072 | 131072 | ✓ kept |
| text_config | tie_word_embeddings | False | False | ✓ kept |
| text_config | hidden_act | silu | silu | ✓ kept |
| text_config | max_position_embeddings | 131072 | 131072 | ✓ kept |
Module classes
Instances of each class in the built model (prefix Voxtral omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 405 | 29 |
| LayerNorm | 65 | 5 |
| LlamaRMSNorm | 61 | 5 |
| GELUActivation | 33 | 3 |
| Attention | 32 | 2 |
| EncoderLayer | 32 | 2 |
| LlamaAttention | 30 | 2 |
| LlamaDecoderLayer | 30 | 2 |
| LlamaMLP | 30 | 2 |
| SiLUActivation | 30 | 2 |
| Conv1d | 2 | 2 |
| Embedding | 2 | 2 |
| ModuleList | 2 | 2 |
| AvgPool1d | 1 | 1 |
| LlamaModel | 1 | 1 |
| LlamaRotaryEmbedding | 1 | 1 |
| Encoder | 1 | 1 |
| ForConditionalGeneration | 1 | 1 |
| Model | 1 | 1 |
| MultiModalProjector | 1 | 1 |
Config changes
13 fields changed, 56 unchanged.
| Field | Original | Fixture |
|---|---|---|
| audio_config.head_dim | 64 | 16 |
| audio_config.hidden_size | 1280 | 64 |
| audio_config.intermediate_size | 5120 | 256 |
| audio_config.num_attention_heads | 20 | 4 |
| audio_config.num_hidden_layers | 32 | 2 |
| audio_config.num_key_value_heads | 20 | 4 |
| hidden_size | 3072 | 64 |
| text_config.head_dim | 128 | 16 |
| text_config.hidden_size | 3072 | 64 |
| text_config.intermediate_size | 8192 | 128 |
| text_config.num_attention_heads | 32 | 4 |
| text_config.num_hidden_layers | 30 | 2 |
| text_config.num_key_value_heads | 8 | 2 |