tiiuae/Falcon-H1-Tiny-90M-Instruct
Original91.1Mparameters
Fixture2.5Mparameters
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.
model.layers
Original · 24
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| DecoderLayer | 24 | 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.layers | 74.4M | 81.6% | 382.1K | 15.4% |
| model.embed_tokens | 16.8M | 18.4% | 2.1M | 84.6% |
| model.final_layernorm | 512 | 0.0% | 64 | 0.0% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | attention style | GQA (8 heads, 2 KV) | GQA (4 heads, 2 KV) | ✓ kept |
| model | RoPE type | default | default | ✓ kept |
| model | model_type | falcon_h1 | falcon_h1 | ✓ kept |
| model | vocab_size | 32768 | 32768 | ✓ kept |
| model | tie_word_embeddings | True | True | ✓ kept |
| model | hidden_act | silu | silu | ✓ kept |
| model | max_position_embeddings | 262144 | 262144 | ✓ kept |
Module classes
Instances of each class in the built model (prefix FalconH1 omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 217 | 19 |
| RMSNorm | 49 | 5 |
| SiLUActivation | 48 | 4 |
| Conv1d | 24 | 2 |
| Attention | 24 | 2 |
| DecoderLayer | 24 | 2 |
| MLP | 24 | 2 |
| Mixer | 24 | 2 |
| Identity | 24 | 2 |
| Embedding | 1 | 1 |
| ForCausalLM | 1 | 1 |
| Model | 1 | 1 |
| RotaryEmbedding | 1 | 1 |
| ModuleList | 1 | 1 |
Config changes
9 fields changed, 53 unchanged.
| Field | Original | Fixture |
|---|---|---|
| head_dim | 64 | 16 |
| hidden_size | 512 | 64 |
| intermediate_size | 768 | 128 |
| mamba_chunk_size | 128 | 8 |
| mamba_d_head | 32 | 96 |
| mamba_d_state | 64 | 16 |
| mamba_n_heads | 24 | 8 |
| num_attention_heads | 8 | 4 |
| num_hidden_layers | 24 | 2 |