← MIC coverage of Transformers model types

bigcode/tiny_starcoder_py

huggingface-mic/tiny_starcoder_py-mic@0ad90af0e2e2 ← bigcode/tiny_starcoder_py@8547527bef0b · GPTBigCodeForCausalLM · random weights

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

Original164.1Mparameters
Fixture3.7Mparameters
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 · 20
Fixture · 2
KindOriginalFixture
Block202✓ 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
transformer.h120.1M73.2%54.5K1.5%
transformer.wte37.7M23.0%3.1M84.5%
transformer.wpe6.3M3.8%524.3K14.1%
transformer.ln_f1.5K0.0%1280.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typegpt_bigcodegpt_bigcode✓ kept
modelvocab_size4915249152✓ kept
modeltie_word_embeddingsTrueTrue✓ kept

Module classes

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

ClassOriginalFixture
Linear819
Dropout415
LayerNorm415
GELUTanh202
Attention202
Block202
MLP202
Embedding22
ForCausalLM11
Model11
ModuleList11

Config changes

5 fields changed, 38 unchanged.

FieldOriginalFixture
n_embd76864
n_head124
n_inner3072128
n_layer202
num_key_value_heads12