ornith-ai/Ornith-1.5-35B-A3B — model analysis
Summary
- Size: The model consists of about 36 billion numbers (parameters). Its saved files total about 71.9GB.
- Structure: A mixture-of-experts (MoE) model that, for each input, selects only 8 of its 256 experts. Of about 36 billion parameters in total, about 3.9 billion are used per computation step. About 90% of the parameters are assigned to the experts, about 4% to the part that reads context (attention), about 2% to the multi-token prediction part (MTP), about 1% to the output head, about 1% to the vocabulary dictionary (embedding), and about 1% to the vision / audio processing parts.
- 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 2,048. Positions 175 and 1197 were among the positions where outliers (extremely large values) appear most often, in all 40 layers. This kind of skew is generally considered a cause of accuracy loss when a model is compressed (quantized).
One line: MoE (8 of 256 experts active) · qwen3_5_moe · 40 layers · 35.95B params · 3.90B active · GQA (8:1) · context 262,144 · vocab 248,320
Basic information
- Model: ornith-ai/Ornith-1.5-35B-A3B (revision
10fbf86fed7e, config.json) - License: mit
- Declared base_model: none
- Storage dtypes: BF16 35.95B
Architecture (stage 0)
Parameters by part
Counted from the tensor shapes in the safetensors headers (measured).
| Part | Parameters | Share |
|---|---|---|
| Experts | 32,212,254,720 | 89.60% |
| Attention | 1,284,179,840 | 3.57% |
| MTP (multi-token prediction) | 844,640,768 | 2.35% |
| Output head | 508,559,360 | 1.41% |
| Embedding | 508,559,360 | 1.41% |
| Vision / audio etc. | 446,571,248 | 1.24% |
| Shared experts | 125,911,040 | 0.35% |
| Router | 20,971,520 | 0.06% |
| Normalization | 174,848 | 0.00% |
Structure
Values from config.json.
| Item | Value |
|---|---|
| model_type / architectures | qwen3_5_moe / Qwen3_5MoeForConditionalGeneration |
| Layers | 40 |
| Hidden size | 2,048 |
| FFN intermediate size (intermediate_size) | — |
| Attention type | GQA (8:1) |
| Heads / KV heads / head dim | 16 / 2 / 256 |
| Sliding window | — (use_sliding_window=—) |
| Layer types (layer_types) | linear_attention×30, full_attention×10 |
| 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 − expert part + expert part × active ÷ experts (computed).
| Item | Value |
|---|---|
| Experts (config) | 256 |
| Experts counted from tensor names (count: layers) | 256:40 layers |
| Active experts per token | 8 |
| Expert intermediate size (moe_intermediate_size) | 512 |
| Shared experts | 1 |
| MoE layers | 40 |
| Leading dense layers (first_k_dense_replace) | — |
| Expert parameters | 32.21B |
| Active parameters | 3.90B |
| MTP parameters (excluded from active) | 844.64M |
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 | 2,048 | 2,048 | Yes | model.language_model.embed_tokens.weight |
| num_hidden_layers | 40 | 40 | 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) | 8,192 | 8,192 | 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 (7536 characters, sha256 prefix 182e77dd83bd).
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,811 of 1,811 tensors (compute time 1.3 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.
Matrices with the largest values (main-model weights with 2 or more dimensions): max|w| ÷ RMS 125.384 (model.language_model.layers.36.linear_attn.out_proj.weight), excess kurtosis 97.771 (model.language_model.layers.28.linear_attn.conv1d.weight), outlier share 0.690% (model.language_model.layers.12.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 40) |
|---|---|
| 175 | 40 |
| 1197 | 40 |
| 1875 | 39 |
| 444 | 38 |
| 803 | 38 |
| 859 | 38 |
| 1538 | 38 |
| 36 | 37 |
| 895 | 37 |
| 1176 | 37 |
Normalization-layer weights
For each of the 81 normalization layers whose length equals the hidden size (2,048), 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 50 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 |
|---|---|
| 542 | 56 |
| 682 | 51 |
| 466 | 42 |
| 1269 | 42 |
| 1072 | 39 |
| 1234 | 39 |
| 1305 | 39 |
| 221 | 35 |
| 444 | 35 |
| 896 | 34 |
Dimensions shared with the top 10 outlier channels above: 444.
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).
Stable rank ÷ shorter side by part:
| Part | Matrices | Min | Median | Max | Matrix with the minimum |
|---|---|---|---|---|---|
| MTP (multi-token prediction) | 777 | 0.0058 | 0.0843 | 0.3552 | mtp.layers.0.mlp.gate.weight |
| Attention | 190 | 0.0042 | 0.0479 | 0.4637 | model.language_model.layers.0.linear_attn.in_proj_qkv.weight |
| Shared experts | 120 | 0.0126 | 0.0745 | 0.1874 | model.language_model.layers.39.mlp.shared_expert.up_proj.weight |
| Vision / audio etc. | 111 | 0.0029 | 0.0618 | 0.1874 | model.visual.blocks.0.mlp.linear_fc1.weight |
| Experts | 80 | 0.046 | 0.1537 | 0.2822 | model.language_model.layers.39.mlp.experts.gate_up_proj |
| Router | 40 | 0.006 | 0.0084 | 0.0107 | model.language_model.layers.38.mlp.gate.weight |
| Embedding | 1 | 0.0199 | 0.0199 | 0.0199 | model.language_model.embed_tokens.weight |
| Output head | 1 | 0.0032 | 0.0032 | 0.0032 | 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 |
|---|---|---|---|---|---|
| 4.5532e-04 | 0.0902 | 0.2444 | 0.5634 | 0.677 | 0.7807 |
Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 107517:'承担一切因您的行为而'(4.5532e-04), 233708:'tedothi'(0.0025), 76550:' ForCanBeConvertedToF'(0.0051), 76549:' ForCanBeConverted'(0.0089), 214963:' szexf'(0.0094), 107618:'受苹果公司新规定'(0.0098), 138563:'承担一切因您的行为而直接或间接'(0.01), 242037:' ตามระดับโรงแรม'(0.0116), 107656:'后至多加'(0.0116), 157743:'립어드바이저'(0.0119), 144666:'葉影幽'(0.0152), 246203:' แสดงเพิ่มด้วย'(0.0172), 239820:' Kinhted'(0.0187), 212958:'xfabl'(0.0206), 81073:'PostalCodesNL'(0.0206), 85329:'useRalative'(0.0211), 229465:' tarsker'(0.0233), 192299:'матологи'(0.0252), 85328:'useRal'(0.0268), 107620:'可通过二维码转账'(0.0269)
lm_head.weight (248,320 rows)
| Min | Bottom 0.1% | Bottom 1% | Median | Top 1% | Max |
|---|---|---|---|---|---|
| 0.4346 | 0.435 | 0.6301 | 0.8304 | 1.0555 | 1.5973 |
Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 248063:'<|fim_pad|>'(0.4346), 76550:' ForCanBeConvertedToF'(0.4349), 81075:'$PostalCodesNL'(0.4349), 85329:'useRalative'(0.4349), 212958:'xfabl'(0.4349), 248071:''(0.435), 233708:'tedothi'(0.435), 239820:' Kinhted'(0.435), 107618:'受苹果公司新规定'(0.435), 107517:'承担一切因您的行为而'(0.435), 77331:'20'(0.435), 248092:''(0.435), 248219:''(0.435), 248106:''(0.435), 248087:''(0.435), 248086:''(0.435), 248220:''(0.435), 248088:''(0.435), 248200:''(0.435), 248199:''(0.435)
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: 0.0013.
Measurement conditions
- mbscope 0.2.11 (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 prefix0a714a270435 - Computed on GPU NVIDIA GeForce RTX 3090 (CUDA 13.0, TF32 off) in fp32
- Measured with mbscope 0.2.10. The measurements were re-aggregated with mbscope 0.2.11 without re-measuring
Comments
…