Axion1-0/Axion-1.0-35B — model analysis

Summary

  • Size: The model consists of about 35.1 billion numbers (parameters). Its saved files total about 70.2GB.
  • Structure: A mixture-of-experts (MoE) model that, for each input, selects only 8 of its 256 experts. Of about 35.1 billion parameters in total, about 3.5 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 4% to the part that reads context (attention), 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,077 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).
  • Nearly unused tokens: In the input embedding, 1 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 · 40 layers · 35.11B params · 3.45B active · GQA (8: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 32,212,254,720 91.75%
Attention 1,284,179,840 3.66%
Output head 508,559,360 1.45%
Embedding 508,559,360 1.45%
Vision / audio etc. 446,571,248 1.27%
Shared experts 125,911,040 0.36%
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) 8,192
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 − 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: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.45B
Vision/audio parameters (excluded from active) 446.57M

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,077 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

21 special tokens. BOS: None, EOS: <|im_end|>. Chat template: present (7764 characters, sha256 prefix e84f32a23fdd). 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|>, <|audio_start|>, <|audio_end|>, <tts_pad>, <tts_text_bos>, <tts_text_eod>, <tts_text_bos_single>, <|audio_pad|>

Weights (stage 1)

Analyzed 1,026 of 1,026 tensors (compute time 1.1 min). Each tensor was converted to fp32 for computation.

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 124.665 (model.language_model.layers.36.linear_attn.out_proj.weight), excess kurtosis 96.906 (model.language_model.layers.28.linear_attn.conv1d.weight), outlier share 0.696% (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
1176 38
36 37
895 37
1538 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
1269 43
466 42
1072 40
1234 39
1305 39
444 35
896 34
221 33

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).

Effective rank

Stable rank ÷ shorter side by part:

Part Matrices Min Median Max Matrix with the minimum
Attention 190 0.0042 0.048 0.4648 model.language_model.layers.0.linear_attn.in_proj_qkv.weight
Shared experts 120 0.0129 0.0746 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.0464 0.1533 0.2821 model.language_model.layers.39.mlp.experts.gate_up_proj
Router 40 0.0059 0.0084 0.0108 model.language_model.layers.38.mlp.gate.weight
Output head 1 0.004 0.004 0.004 lm_head.weight
Embedding 1 0.0202 0.0202 0.0202 model.language_model.embed_tokens.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).

lm_head.weight (248,320 rows)

Min Bottom 0.1% Bottom 1% Median Top 1% Max
0.3897 0.3906 0.6122 0.8255 1.0478 1.633

Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 248063:'<|fim_pad|>'(0.3897), 248055:'<|vision_pad|>'(0.3903), 85329:'useRalative'(0.3904), 212958:'xfabl'(0.3905), 76550:' ForCanBeConvertedToF'(0.3905), 81075:'$PostalCodesNL'(0.3905), 214963:' szexf'(0.3905), 239820:' Kinhted'(0.3906), 233708:'tedothi'(0.3906), 107517:'承担一切因您的行为而'(0.3906), 229947:'JernihBer'(0.3906), 248077:''(0.3906), 248070:'<|audio_start|>'(0.3906), 248193:''(0.3906), 178519:'ссуа'(0.3906), 248072:'<tts_pad>'(0.3906), 248089:''(0.3906), 248076:'<|audio_pad|>'(0.3906), 248314:''(0.3906), 248204:''(0.3906)

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

Min Bottom 0.1% Bottom 1% Median Top 1% Max
4.5791e-04 0.0907 0.2458 0.5666 0.681 0.7857

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

Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 107517:'承担一切因您的行为而'(4.5791e-04), 233708:'tedothi'(0.0025), 76550:' ForCanBeConvertedToF'(0.0052), 76549:' ForCanBeConverted'(0.0089), 214963:' szexf'(0.0094), 107618:'受苹果公司新规定'(0.0098), 138563:'承担一切因您的行为而直接或间接'(0.0101), 242037:' ตามระดับโรงแรม'(0.0117), 107656:'后至多加'(0.0117), 157743:'립어드바이저'(0.012), 144666:'葉影幽'(0.0153), 246203:' แสดงเพิ่มด้วย'(0.0173), 239820:' Kinhted'(0.0188), 212958:'xfabl'(0.0207), 81073:'PostalCodesNL'(0.0207), 85329:'useRalative'(0.0213), 229465:' tarsker'(0.0234), 192299:'матологи'(0.0254), 85328:'useRal'(0.027), 107620:'可通过二维码转账'(0.0271)

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: 0.0013.

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

Comments

…

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

← All notes