ornith-ai/Ornith-1.5-122B — model analysis

Summary

  • Size: The model consists of about 125 billion numbers (parameters). Its saved files total about 250GB.
  • Structure: A mixture-of-experts (MoE) model that, for each input, selects only 8 of its 256 experts. Of about 125 billion parameters in total, about 9.8 billion are used per computation step (for text-only input; the parts that read images are not counted). About 90% of the parameters are assigned to the experts, about 3% to the part that reads context (attention), and about 2% to the multi-token prediction part (MTP).
  • Japanese text: In Japanese, one token holds about 1.7 characters. In English, one token holds about 4.1 characters. For the same number of characters, Japanese needs about 2.4 times as many tokens as English. Of its 248,070 vocabulary entries, 58,888 contain kana or kanji.
  • Context length: The limit written in the config (max_position_embeddings) is 262,144 tokens, roughly 450,000 Japanese characters or 1,100,000 English characters at the same ratio as the fixed texts above.
  • Skew in values: Values inside the model flow in groups of 3,072. Positions 2 and 14 were among the positions where outliers (extremely large values) appear most often, in all 48 layers. Position 14 also appeared in the tally of positions where normalization-layer weights take extreme values (14: 47 of 97 normalization layers). This kind of skew is generally considered a cause of accuracy loss when a model is compressed (quantized).
  • Experts with all-zero weights: In 10 experts, at least one weight matrix is entirely 0 (3 in layer 3, 2 in layer 4, 1 in layer 5, 1 in layer 6, 1 in layer 7, 1 in layer 10, 1 in layer 13). In 10 of them the output-side matrix (down_proj) is 0, so they output 0 even when selected.
  • Nearly unused tokens: In the input embedding, 259 of 248,320 rows have a length of 1/1000 of the median or less. Feeding these tokens in gives an almost-zero embedding.

One line: MoE (8 of 256 experts active) · qwen3_5_moe · 48 layers · 125.09B params · 9.77B active · GQA (16:1) · context 262,144 · vocab 248,320

Basic information

Architecture (stage 0)

Parameters by part

Counted from the tensor shapes in the safetensors headers (measured).

Parameters by part

Part Parameters Share
Experts 115,964,116,992 92.71%
Attention 4,130,542,080 3.30%
MTP (multi-token prediction) 2,523,679,232 2.02%
Embedding 762,839,040 0.61%
Output head 762,839,040 0.61%
Shared experts 453,132,288 0.36%
Vision / audio etc. 451,290,864 0.36%
Router 37,748,736 0.03%
Normalization 308,736 0.00%

Structure

Values from config.json.

Item Value
model_type / architectures qwen3_5_moe / Qwen3_5MoeForConditionalGeneration
Layers 48
Hidden size 3,072
FFN intermediate size (intermediate_size) —
Attention type GQA (16:1)
Heads / KV heads / head dim 32 / 2 / 256
Sliding window — (use_sliding_window=—)
Layer types (layer_types) linear_attention×36, full_attention×12
RoPE θ 10,000,000
RoPE scaling {'mrope_interleaved': True, 'mrope_section': [11, 11, 10], 'partial_rotary_factor': 0.25, 'rope_theta': 10000000, 'rope_type': 'default'}
Partial rotary (partial_rotary_factor) 0.25
Context length (max_position_embeddings) 262,144
Tied input/output embeddings No
Activation silu
Normalization ε 1.000e-06

MoE configuration

Expert counts come from both config and tensor names (MTP layers excluded). Active parameters = total − MTP − vision/audio parts − expert part + expert part × active ÷ experts (computed; the value for text-only input).

Item Value
Experts (config) 256
Experts counted from tensor names (count: layers) 256:48 layers
Active experts per token 8
Expert intermediate size (moe_intermediate_size) 1,024
Shared experts 1
MoE layers 48
Leading dense layers (first_k_dense_replace) —
Expert parameters 115.96B
Active parameters 9.77B
MTP parameters (excluded from active) 2.52B
Vision/audio parameters (excluded from active) 451.29M

config vs. actual tensors

Values in config.json side by side with the actual tensor shapes (measured).

Item config Actual Match Source of actual
vocab_size 248,320 248,320 Yes model.language_model.embed_tokens.weight
hidden_size 3,072 3,072 Yes model.language_model.embed_tokens.weight
num_hidden_layers 48 48 Yes largest layer index + 1 (excluding MTP layers)
num_key_value_heads×head_dim 512 512 Yes model.language_model.layers.3.self_attn.k_proj.weight
num_attention_heads×head_dim×2 (attn_output_gate) 16,384 16,384 Yes model.language_model.layers.3.self_attn.q_proj.weight
tie_word_embeddings (no output-head tensor) No No Yes tensor list
num_experts 256 256 Yes tensor names

Tokenizer

Results of tokenizing the fixed Japanese and English texts (see conditions) without special tokens (measured). "Tokens splitting a character" is the share of tokens that decode to a broken character (U+FFFD) on their own.

Text Characters Tokens Chars/token Bytes/token Tokens splitting a character Round-trips exactly
Japanese 449 260 1.727 5.173 0.8% Yes
English 1,201 290 4.141 4.238 0.0% Yes

Of 248,070 vocabulary entries, 58,888 (23.74%) contain at least one kana or kanji character and 53,189 contain two or more (loaded with tokenizers).

Special tokens and chat format

14 special tokens. BOS: None, EOS: <|im_end|>. Chat template: present (7593 characters, sha256 prefix 9dd2fbd270fe). Thinking tags: Yes, tool calls: Yes, FIM: No, image tokens: Yes (found by searching special-token names and the template text).

List of special tokens

<|endoftext|>, <|im_start|>, <|im_end|>, <|object_ref_start|>, <|object_ref_end|>, <|box_start|>, <|box_end|>, <|quad_start|>, <|quad_end|>, <|vision_start|>, <|vision_end|>, <|vision_pad|>, <|image_pad|>, <|video_pad|>

Weights (stage 1)

Analyzed 1,949 of 1,949 tensors (compute time 2.9 min). Each tensor was converted to fp32 for computation. The 785 tensors of the MTP (multi-token prediction) part were analyzed but kept out of the per-layer trends, outlier channels, normalization-layer dimensions, embedding rows, expert similarity and extremes below, so that only the main layers are counted.

Trends across layers

RMS is the root mean square of the elements. max|w| ÷ RMS is how many times larger the largest element is than a typical one. Excess kurtosis measures tail heaviness and is 0 for a normal distribution (all measured). The figures use weights with 2 or more dimensions (matrices) only; 1-D biases and similar are left out.

RMS

max|w| ÷ RMS

Excess kurtosis

Matrices with the largest values (main-model weights with 2 or more dimensions): max|w| ÷ RMS 106.164 (model.language_model.layers.0.mlp.experts.down_proj), excess kurtosis 116.406 (model.language_model.layers.0.mlp.shared_expert.down_proj.weight), outlier share 1.003% (model.language_model.layers.44.linear_attn.conv1d.weight).

Outliers and outlier channels

An outlier is an element exceeding 6 times the standard deviation of its matrix. For each matrix that takes the hidden dimension as input, the columns with the most outliers (top 16) were collected, and the number of layers in which each column appeared was counted (measured).

Hidden-dimension column Layers it appeared in (of 48)
2 48
14 48
12 47
23 47
9 46
13 46
18 45
22 45
25 44
30 44

Normalization-layer weights

For each of the 97 normalization layers whose length equals the hidden size (3,072), the dimensions farthest from the median (top 16) were collected, and the number of normalization layers in which each dimension appeared was counted (measured). The 60 normalization layers of other lengths, such as per-head normalization, were left out because their dimension numbers mean something different.

Dimension Normalization layers it appeared in
0 70
9 57
114 50
30 48
14 47
99 45
126 42
95 41
23 40
22 38

Dimensions shared with the top 10 outlier channels above: 9, 14, 22, 23, 30.

Effective rank

Stable rank = (Frobenius norm)² ÷ (largest singular value)², divided by the matrix's shorter side to scale it to 0–1. The largest singular value is approximated by power iteration (30 steps) (estimated).

Effective rank

Stable rank ÷ shorter side by part:

Part Matrices Min Median Max Matrix with the minimum
MTP (multi-token prediction) 777 0.0055 0.0625 0.2493 mtp.layers.0.mlp.shared_expert.gate_proj.weight
Attention 228 0.0028 0.0442 0.4736 model.language_model.layers.0.linear_attn.in_proj_qkv.weight
Shared experts 144 0.0052 0.0469 0.3324 model.language_model.layers.6.mlp.shared_expert.gate_proj.weight
Vision / audio etc. 111 0.0029 0.0618 0.1861 model.visual.blocks.0.mlp.linear_fc1.weight
Experts 96 0.0237 0.1404 0.2674 model.language_model.layers.0.mlp.experts.gate_up_proj
Router 48 0.0062 0.009 0.0139 model.language_model.layers.46.mlp.gate.weight
Embedding 1 0.0248 0.0248 0.0248 model.language_model.embed_tokens.weight
Output head 1 0.0018 0.0018 0.0018 lm_head.weight

Embedding rows

Distribution of the length (norm) of each vocabulary entry's embedding row, and the rows with the smallest norms (bottom 0.1%) (measured).

model.language_model.embed_tokens.weight (248,320 rows)

Min Bottom 0.1% Bottom 1% Median Top 1% Max
2.3755e-05 2.5206e-05 0.2647 0.6608 0.8889 0.9951

Rows of length exactly 0: 0. Rows of length 1/1000 of the median or less (including the zero rows): 259.

Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 248094:''(2.3755e-05), 248203:''(2.3862e-05), 248195:''(2.3990e-05), 248087:''(2.3995e-05), 184:'�'(2.4000e-05), 248270:''(2.4054e-05), 248246:''(2.4055e-05), 248295:''(2.4062e-05), 248119:''(2.4110e-05), 248250:''(2.4117e-05), 248171:''(2.4125e-05), 248179:''(2.4160e-05), 248313:''(2.4181e-05), 248198:''(2.4189e-05), 248256:''(2.4192e-05), 186:'�'(2.4193e-05), 248175:''(2.4211e-05), 248221:''(2.4212e-05), 248127:''(2.4213e-05), 248114:''(2.4213e-05)

lm_head.weight (248,320 rows)

Min Bottom 0.1% Bottom 1% Median Top 1% Max
0.4272 0.4281 0.651 0.8675 1.0885 1.3604

Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 85329:'useRalative'(0.4272), 81073:'PostalCodesNL'(0.4278), 76549:' ForCanBeConverted'(0.4279), 144666:'葉影幽'(0.428), 146345:'陆修连'(0.428), 248071:''(0.428), 107618:'受苹果公司新规定'(0.428), 242037:' ตามระดับโรงแรม'(0.428), 212958:'xfabl'(0.428), 239820:' Kinhted'(0.428), 76550:' ForCanBeConvertedToF'(0.428), 248070:''(0.428), 178519:'ссуа'(0.428), 138563:'承担一切因您的行为而直接或间接'(0.428), 85328:'useRal'(0.4281), 248063:'<|fim_pad|>'(0.4281), 233708:'tedothi'(0.4281), 248138:''(0.4281), 248245:''(0.4281), 248200:''(0.4281)

Rows of length 0 or nearly 0 hold almost no values for their token. They are likely tokens that were barely used in training or rows that were set to 0 on purpose, but this analysis cannot tell which. For longer rows, a small norm does not mean that the token is unimportant or untrained.

Similarity between experts

For matrices of the same kind in the same layer, the cosine similarity between experts was estimated with a 32×32 random projection (estimated). Mean over all layers: 6.0056e-04. The 10 experts whose weights are entirely 0 were left out, because their similarity cannot be computed (it would divide by 0): layer 3: 72 (down_proj/gate_up_proj), layer 3: 166 (down_proj/gate_up_proj), layer 3: 252 (down_proj/gate_up_proj), layer 4: 62 (down_proj/gate_up_proj), layer 4: 239 (down_proj/gate_up_proj), layer 5: 210 (down_proj/gate_up_proj), layer 6: 188 (down_proj/gate_up_proj), layer 7: 241 (down_proj), layer 10: 6 (down_proj/gate_up_proj), layer 13: 40 (down_proj/gate_up_proj).

Expert similarity

Measurement conditions

  • mbscope 0.2.17 (result schema v1), Python 3.14.4, torch 2.13.0+cu130, safetensors 0.8.0, huggingface_hub 0.36.2, tokenizers 0.21.4, transformers 4.49.0
  • Estimation criteria: outlier_sigma=6.0, embed_low_pct=0.1, power_iters=30, sketch_dim=32, top_channels=16, seed=20261002
  • Input texts: ja: Natsume Sōseki, I Am a Cat, opening (Aozora Bunko 789_ruby_5639; source: Natsume Sōseki Zenshū 1, Chikuma Bunko), sha256 prefix 5d6b40f79b6a / en: Jane Austen, Pride and Prejudice, opening of Chapter 1 (Project Gutenberg eBook #1342), sha256 prefix 0a714a270435
  • Computed on GPU NVIDIA GeForce RTX 3090 (CUDA 13.0, TF32 off) in fp32
  • Measured with mbscope 0.2.16. The measurements were re-aggregated with mbscope 0.2.17 without re-measuring

Comments

…

Comments are public. Please don't include personal information. Inappropriate comments may be removed.

← All notes