tiiuae/falcon-7b
Original6.9Bparameters
Fixture8.8Mparameters
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.
transformer.h
Original · 32
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| DecoderLayer | 32 | 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 |
|---|---|---|---|---|
| transformer.h | 6.6B | 95.7% | 4.7M | 52.9% |
| transformer.word_embeddings | 295.5M | 4.3% | 4.2M | 47.1% |
| transformer.ln_f | 9.1K | 0.0% | 128 | 0.0% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | RoPE type | default | default | ✓ kept |
| model | model_type | falcon | falcon | ✓ kept |
| model | vocab_size | 65024 | 65024 | ✓ kept |
| model | tie_word_embeddings | True | True | ✓ kept |
| model | max_position_embeddings | 2048 | 2048 | ✓ kept |
Module classes
Instances of each class in the built model (prefix Falcon omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 128 | 8 |
| LayerNorm | 33 | 3 |
| Dropout | 32 | 2 |
| Attention | 32 | 2 |
| DecoderLayer | 32 | 2 |
| MLP | 32 | 2 |
| GELUActivation | 32 | 2 |
| Embedding | 1 | 1 |
| ForCausalLM | 1 | 1 |
| Model | 1 | 1 |
| RotaryEmbedding | 1 | 1 |
| Linear | 1 | 1 |
| ModuleList | 1 | 1 |
Config changes
3 fields changed, 32 unchanged.
| Field | Original | Fixture |
|---|---|---|
| hidden_size | 4544 | 64 |
| num_attention_heads | 71 | 4 |
| num_hidden_layers | 32 | 2 |