← MIC coverage of Transformers model types

optimum-intel-internal-testing/tiny-random-aya-base

huggingface-mic/tiny-random-aya-base-mic@42e97ac577e1 ← optimum-intel-internal-testing/tiny-random-aya-base@e85478d37f91 · Cohere2ForCausalLM · random weights

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

Original1.1Mparameters
Fixture16.9Mparameters
Layer stacks1compared
Findings2to review

⚠ To review

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 · 2
Fixture · 2
KindOriginalFixture
DecoderLayer22✓ 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
model.embed_tokens1.0M98.4%16.8M99.5%
model.layers16.5K1.6%82.0K0.5%
model.norm40.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleMHA (4 heads, 4 KV)MHA (4 heads, 4 KV)✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typecohere2cohere2✓ kept
modelvocab_size262144262144✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings500000500000✓ kept

Module classes

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

ClassOriginalFixture
Linear1515
LayerNorm33
Attention22
DecoderLayer22
MLP22
SiLUActivation22
ForCausalLM11
Model11
RotaryEmbedding11
Embedding11
ModuleList11

Config changes

3 fields changed, 40 unchanged.

FieldOriginalFixture
head_dim12816
hidden_size464
intermediate_size5128