bigscience/bloomz-560m
Original559.2Mparameters
Fixture16.2Mparameters
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 · 24
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| Block | 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 |
|---|---|---|---|---|
| transformer.h | 302.3M | 54.1% | 100.0K | 0.6% |
| transformer.word_embeddings | 256.9M | 45.9% | 16.1M | 99.4% |
| transformer.ln_f | 2.0K | 0.0% | 128 | 0.0% |
| transformer.word_embeddings_layernorm | 2.0K | 0.0% | 128 | 0.0% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | model_type | bloom | bloom | ✓ kept |
| model | vocab_size | 250880 | 250880 | ✓ kept |
| model | tie_word_embeddings | True | True | ✓ kept |
Module classes
Instances of each class in the built model (prefix Bloom omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 97 | 9 |
| LayerNorm | 50 | 6 |
| Attention | 24 | 2 |
| Block | 24 | 2 |
| Gelu | 24 | 2 |
| MLP | 24 | 2 |
| Dropout | 24 | 2 |
| ForCausalLM | 1 | 1 |
| Model | 1 | 1 |
| Embedding | 1 | 1 |
| ModuleList | 1 | 1 |
Config changes
3 fields changed, 31 unchanged.
| Field | Original | Fixture |
|---|---|---|
| hidden_size | 1024 | 64 |
| n_head | 16 | 4 |
| n_layer | 24 | 2 |