SnifferCaptain commited on
Commit
330f577
·
verified ·
1 Parent(s): 9e8d67b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md CHANGED
@@ -13,6 +13,59 @@ datasets:
13
  - SnifferCaptain/z1-1m
14
  pipeline_tag: text-generation
15
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ## 模型描述
17
  YModel3是SnifferCaptain训练的到目前为止(5/4/2026)最新的大语言模型。模型相比YModel2,支持了如混合思考、可调思考深度的功能,在回答的质量上有一定的进步。
18
 
 
13
  - SnifferCaptain/z1-1m
14
  pipeline_tag: text-generation
15
  ---
16
+ ## Model Description
17
+ YModel3 is the latest large language model developed by SnifferCaptain as of May 4, 2026. Compared to YModel2, it introduces features such as mixed reasoning and adjustable reasoning depth, achieving certain improvements in response quality.
18
+
19
+ ## Model Details
20
+ - The model incorporates optimization ideas from MLA (DeepSeek, https://arxiv.org/pdf/2405.04434) and Gated Attention (Qwen, https://arxiv.org/pdf/2505.06708), replacing YModel2’s PEGA2 with the larger-capacity, better-scaling MLGA module, significantly improving parameter efficiency.
21
+ - The model uses SwiGLU in the FFN part.
22
+ - An SEBlock is added after each RMSNorm layer.
23
+
24
+ | Key | Value |
25
+ |:--|:--|
26
+ | Parameters (during training) | 50.149M |
27
+ | Number of layers | 8 |
28
+ | Hidden size | 768 |
29
+ | Vocabulary size | 6400 |
30
+ | FFN activation function | SwiGLU |
31
+ | FFN expansion dimension | 1536 |
32
+ | Normalization layer | RMSNorm + SEBlock |
33
+ | Attention mechanism | MLGA |
34
+ | Number of attention heads | 6 |
35
+ | Attention head dimension | 64 |
36
+ | KV latent dimension | 128 |
37
+ | RoPE embedding dimension | 64 |
38
+
39
+ ## Training Details
40
+ - The model was trained with the SiMuon optimizer, similar to YModel2, but with the number of NS iterations increased from 2 to 3. During pre-training, the SiMuon parameters used a learning rate 10× the default; in other stages, the learning rate was 66× the default. The AdamW part used 1× the default learning rate. Learning rate scaling used `0.2 * sqrt(max(fan in, fan out))`.
41
+ - The tokenizer and embedding layers are pre-trained weights from MiniMind3-v (https://github.com/jingyaogong/minimind).
42
+ - During pre-training, the model was trained on **5B tokens** with a context length of 512, using a learning rate of 1e-4 with warmup and cosine decay to 1e-5.
43
+ - During full fine-tuning, the model was trained on **8B tokens** with context lengths from 1024 to 4096, using a learning rate of 1e-5 with warmup and cosine decay to 1e-7. The final PPL is 4.01 (with a 6400 BPE vocabulary).
44
+ - Pre-training batch size: 65536 tokens/step. Fine-tuning batch size: 131072 tokens/step.
45
+
46
+ ## Additional Details
47
+ - Due to the pre-training dataset, the pre-trained model has a high probability of generating multiple-choice questions (similar to those found in benchmark tests) after English input.
48
+ - To adjust reasoning depth, a specific reasoning template must be followed:
49
+ ```
50
+ <|im_start|>user
51
+ [user content]<|im_end|>
52
+ <|im_start|>assistant
53
+ <think>juice = 1.14
54
+ [thinking content]</think>
55
+ [reply content]<|im_end|>
56
+ ```
57
+ The `juice` value must be a two‑decimal number with spaces before and after the equals sign; otherwise model performance degrades. If the value is too small or too large, the output length may be unexpected due to limited training data coverage. The `juice` value can be computed using:
58
+ $$\max\left(0.0,\ \log_2\left(\frac{\text{token\_count}}{128} + 1\right)\right)$$
59
+ Typical values:
60
+
61
+ | juice | token count |
62
+ |-------|--------------|
63
+ | 0.59 | 64 |
64
+ | 1.00 | 128 |
65
+ | 2.00 | 384 |
66
+ | 3.00 | 896 |
67
+
68
+
69
  ## 模型描述
70
  YModel3是SnifferCaptain训练的到目前为止(5/4/2026)最新的大语言模型。模型相比YModel2,支持了如混合思考、可调思考深度的功能,在回答的质量上有一定的进步。
71