summerAIO/Qwen3.8-27B-Longbook27-v2 — model analysis
Summary
- Size: The model consists of about 27.1 billion numbers (parameters). Its saved files total about 54.1GB.
- Structure: A dense model that uses all of its parameters for every input. About 60% of the parameters are assigned to the part that holds knowledge (FFN), about 30% to the part that reads context (attention), about 5% to the output head, and about 5% to the vocabulary dictionary (embedding).
- 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 5,120. Positions 310, 3986, and 4349 were among the positions where outliers (extremely large values) appear most often, in all 64 layers. Position 310 also appeared in the tally of positions where normalization-layer weights take extreme values (310: 60 of 129 normalization 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: Dense · qwen3_5_gdn24 · 64 layers · 27.07B params · GQA (6:1) · context 262,144 · vocab 248,320
Basic information
- Model: summerAIO/Qwen3.8-27B-Longbook27-v2 (revision
46319430c16a, config.json) - License: apache-2.0
- Declared base_model: none
- Storage dtypes: BF16 27.07B
Architecture (stage 0)
Parameters by part
Counted from the tensor shapes in the safetensors headers (measured).
| Part | Parameters | Share |
|---|---|---|
| FFN (dense) | 17,112,760,320 | 63.21% |
| Attention | 7,416,059,904 | 27.39% |
| Output head | 1,271,398,400 | 4.70% |
| Embedding | 1,271,398,400 | 4.70% |
| Normalization | 668,672 | 0.00% |
Structure
Values from config.json.
| Item | Value |
|---|---|
| model_type / architectures | qwen3_5_gdn24 / Qwen35GDN24ForCausalLM |
| Layers | 64 |
| Hidden size | 5,120 |
| FFN intermediate size (intermediate_size) | 17,408 |
| Attention type | GQA (6:1) |
| Heads / KV heads / head dim | 24 / 4 / 256 |
| Sliding window | — (use_sliding_window=—) |
| Layer types (layer_types) | linear_attention×64 |
| 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) | — |
| Context length (max_position_embeddings) | 262,144 |
| Tied input/output embeddings | No |
| Activation | silu |
| Normalization ε | 1.000e-06 |
MoE configuration
Not applicable (not an MoE model).
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.embed_tokens.weight |
| hidden_size | 5,120 | 5,120 | Yes | model.embed_tokens.weight |
| num_hidden_layers | 64 | 64 | Yes | largest layer index + 1 (excluding MTP layers) |
| intermediate_size | 17,408 | 17,408 | Yes | model.layers.0.mlp.gate_proj.weight |
| tie_word_embeddings (no output-head tensor) | No | No | Yes | tensor list |
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 (8952 characters, sha256 prefix c3cf9e34abf4).
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 899 of 899 tensors (compute time 43 s). 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.
Matrices with the largest values (main-model weights with 2 or more dimensions): max|w| ÷ RMS 108.243 (model.layers.2.mlp.down_proj.weight), excess kurtosis 149.3 (model.layers.0.linear_attn.out_proj.weight), outlier share 0.532% (model.layers.40.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 64) |
|---|---|
| 310 | 64 |
| 3986 | 64 |
| 4349 | 64 |
| 2560 | 62 |
| 253 | 60 |
| 3586 | 60 |
| 3281 | 57 |
| 1089 | 54 |
| 2862 | 54 |
| 149 | 51 |
Normalization-layer weights
For each of the 129 normalization layers whose length equals the hidden size (5,120), 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 64 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 |
|---|---|
| 4939 | 85 |
| 2610 | 80 |
| 3321 | 77 |
| 2479 | 76 |
| 1501 | 68 |
| 2945 | 68 |
| 3055 | 68 |
| 3994 | 61 |
| 310 | 60 |
| 1047 | 55 |
Dimensions shared with the top 10 outlier channels above: 310.
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 |
|---|---|---|---|---|---|
| Attention | 320 | 0.0025 | 0.0536 | 0.1624 | model.layers.15.linear_attn.in_proj_z.weight |
| FFN (dense) | 192 | 0.0077 | 0.0855 | 0.268 | model.layers.0.mlp.down_proj.weight |
| Embedding | 1 | 0.0193 | 0.0193 | 0.0193 | 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.embed_tokens.weight (248,320 rows)
| Min | Bottom 0.1% | Bottom 1% | Median | Top 1% | Max |
|---|---|---|---|---|---|
| 8.0968e-04 | 0.1347 | 0.3635 | 0.9288 | 1.1165 | 1.1914 |
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:'承担一切因您的行为而'(8.0968e-04), 178519:'ссуа'(0.0104), 214963:' szexf'(0.0144), 233708:'tedothi'(0.0145), 138563:'承担一切因您的行为而直接或间接'(0.0159), 107618:'受苹果公司新规定'(0.0192), 76550:' ForCanBeConvertedToF'(0.0197), 144666:'葉影幽'(0.022), 76549:' ForCanBeConverted'(0.0226), 157743:'립어드바이저'(0.0242), 246203:' แสดงเพิ่มด้วย'(0.0245), 107656:'后至多加'(0.0248), 242037:' ตามระดับโรงแรม'(0.0251), 239820:' Kinhted'(0.0302), 229465:' tarsker'(0.0362), 192299:'матологи'(0.0377), 107620:'可通过二维码转账'(0.0392), 81073:'PostalCodesNL'(0.0393), 107569:'小有建树答主'(0.0418), 85329:'useRalative'(0.042)
lm_head.weight (248,320 rows)
| Min | Bottom 0.1% | Bottom 1% | Median | Top 1% | Max |
|---|---|---|---|---|---|
| 0.3438 | 0.4033 | 0.6981 | 0.9737 | 1.2701 | 1.6856 |
Rows with small norms (249 rows in the bottom 0.1%, the 20 smallest): 157743:'립어드바이저'(0.3438), 178519:'ссуа'(0.3438), 107656:'后至多加'(0.3438), 107618:'受苹果公司新规定'(0.3438), 233708:'tedothi'(0.3438), 107517:'承担一切因您的行为而'(0.3438), 214963:' szexf'(0.3439), 138563:'承担一切因您的行为而直接或间接'(0.3439), 246203:' แสดงเพิ่มด้วย'(0.344), 239820:' Kinhted'(0.3441), 144666:'葉影幽'(0.3441), 242037:' ตามระดับโรงแรม'(0.3442), 76550:' ForCanBeConvertedToF'(0.3442), 107620:'可通过二维码转账'(0.3444), 229465:' tarsker'(0.3447), 179115:'сматри'(0.3451), 229466:' tarskereso'(0.3451), 107657:'大有可为答主'(0.3451), 107569:'小有建树答主'(0.3453), 192299:'матологи'(0.3456)
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
Not applicable (not an MoE model).
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 prefix0a714a270435 - Computed on GPU NVIDIA GeForce RTX 3090 (CUDA 13.0, TF32 off) in fp32
Comments
…