nerkyor commited on
Commit
8535cd1
·
verified ·
1 Parent(s): af4defb

add main model card

Browse files
Files changed (1) hide show
  1. README.md +121 -0
README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ - zh
6
+ tags:
7
+ - qwen3.6
8
+ - dsv4pro
9
+ - glm
10
+ - sft
11
+ - rl
12
+ - coding
13
+ - gguf
14
+ - fp8
15
+ - mtp
16
+ base_model: Merkyor/Qwen3.6-27B-DSV4Pro-Thinking-Distill
17
+ ---
18
+
19
+ # Qwen3.6-27B-DSV4Pro-GLM52-SFT-GPT55-RL-Coding
20
+
21
+ This is the Hugging Face main repository for the 27B dense coding model.
22
+
23
+ - BF16 weights are stored at the repository root.
24
+ - GGUF artifacts are stored under `GGUF/`, copied from the standalone GGUF repository.
25
+ - FP8 artifacts are stored under `FP8/` when synced.
26
+ - Standalone GGUF repository: [nerkyor/Qwen3.6-27B-DSV4Pro-GLM52-SFT-GPT55-RL-Coding-GGUF](https://huggingface.co/nerkyor/Qwen3.6-27B-DSV4Pro-GLM52-SFT-GPT55-RL-Coding-GGUF)
27
+
28
+ The model is based on `Merkyor/Qwen3.6-27B-DSV4Pro-Thinking-Distill` and was further trained for executable coding, repair loops, final-answer discipline, and robust verification behavior.
29
+
30
+ ## Repository Layout
31
+
32
+ | Path | Content |
33
+ |---|---|
34
+ | root | BF16 safetensors, config, tokenizer and chat template |
35
+ | `GGUF/Q8_0/` | Q8 GGUF baseline, official MTP draft sidecar, eval summaries and manifest |
36
+ | `GGUF/Q5_LynnStyle/` | 32GB recommended GGUF quantization, LynnStyle Dense protection rules and eval summaries |
37
+ | `GGUF/Q4_LynnStyle/` | 24GB GGUF quantization, LynnStyle Dense protection rules and eval summaries |
38
+ | `FP8/` | ModelOpt FP8 weights, SGLang script, MTP/NEXTN smoke and TPS data |
39
+
40
+ GGUF files are multi-shard models. Load the first shard; llama.cpp will load the remaining shards from the same directory.
41
+
42
+ ## llama.cpp GGUF Example
43
+
44
+ ```bash
45
+ llama-server \
46
+ -m GGUF/Q5_LynnStyle/Q5-imatrix-MTP-00001-of-00004.gguf \
47
+ -ngl 999 --split-mode layer \
48
+ -c 32768 -b 1024 -ub 256 -np 4 -cb \
49
+ --host 0.0.0.0 --port 8080 \
50
+ --jinja --reasoning on --reasoning-format deepseek
51
+ ```
52
+
53
+ Optional speculative decoding with the MTP draft sidecar:
54
+
55
+ ```bash
56
+ llama-server \
57
+ -m GGUF/Q5_LynnStyle/Q5-imatrix-MTP-00001-of-00004.gguf \
58
+ --model-draft GGUF/Q5_LynnStyle/Q5-imatrix-MTP-draft.gguf \
59
+ -ngl 999 --split-mode layer \
60
+ -c 32768 -b 1024 -ub 256 -np 4 -cb \
61
+ --host 0.0.0.0 --port 8080 \
62
+ --jinja --reasoning on --reasoning-format deepseek
63
+ ```
64
+
65
+ For Q4 on 24GB GPUs, long-context use should prioritize the main model and KV cache. Only load the MTP sidecar for short-context, low-concurrency runs with enough spare VRAM.
66
+
67
+ ## FP8 / SGLang
68
+
69
+ Recommended default: no MTP. MTP/NEXTN is supported but did not improve throughput in the current short-output smoke setup.
70
+
71
+ ```bash
72
+ bash FP8/scripts/sglang_fp8_start.sh
73
+ MTP=1 bash FP8/scripts/sglang_fp8_start.sh
74
+ ```
75
+
76
+ Measured on RTX PRO 6000 Blackwell Server Edition with SGLang `0.5.14`, context `16384`, 8 short coding requests per mode:
77
+
78
+ | Config | C1 | C2 | C4 |
79
+ |---|---:|---:|---:|
80
+ | no-MTP | 20.7581 tok/s | 32.6418 tok/s | 61.8252 tok/s |
81
+ | MTP/NEXTN n=2, draft tokens=3 | 18.3805 tok/s | 26.1985 tok/s | 47.0971 tok/s |
82
+
83
+ ## Q8 Clean Reference Scores
84
+
85
+ FP8 quality scores have not been independently rerun. For FP8, the table below is a Q8 clean-score reference for the same training branch.
86
+
87
+ | Benchmark | Score |
88
+ |---|---:|
89
+ | MMLU500 | 462/500 = 92.4% |
90
+ | GPQA198 | 162/198 = 81.82% |
91
+ | LBC100 | 78/100 |
92
+ | Coding100 current clean | 88/100 |
93
+
94
+ ## Quantized Clean Results
95
+
96
+ | Version | MMLU500 | GPQA198 | LBC100 | Coding100 |
97
+ |---|---:|---:|---:|---:|
98
+ | Q8 | 92.4% | 81.82% | 78/100 | 88/100 |
99
+ | Q5 LynnStyle | 92.2% | 78.79% | 75/100 | not rerun |
100
+ | Q4 LynnStyle | 92.0% | 74.75% | 71/100 | 82/100 |
101
+
102
+ Clean-gate policy: harness pollution, server-not-ready rows, parse failures caused by infrastructure, partial rows, and connection failures are not counted as model errors.
103
+
104
+ ## LynnStyle Dense Quantization
105
+
106
+ This 27B model is dense, not MoE. LynnStyle Dense quantization protects critical layer positions, full-attention layers, attention gates, SSM tensor families, and selected tensor families while compressing ordinary regions more aggressively. Low-bit releases use explicit protection plus imatrix or equivalent importance calibration.
107
+
108
+ ---
109
+
110
+ # 中文说明
111
+
112
+ 这是 27B Dense 编程模型的 Hugging Face 主仓。
113
+
114
+ - 根目录放 BF16 权重。
115
+ - `GGUF/` 放从 GGUF 独立仓复制过来的 Q8/Q5/Q4/Q3 等 GGUF 运行产物。
116
+ - `FP8/` 放 FP8 权重、SGLang 启动脚本和 TPS/MTP smoke 数据。
117
+ - GGUF 独立仓:[nerkyor/Qwen3.6-27B-DSV4Pro-GLM52-SFT-GPT55-RL-Coding-GGUF](https://huggingface.co/nerkyor/Qwen3.6-27B-DSV4Pro-GLM52-SFT-GPT55-RL-Coding-GGUF)
118
+
119
+ 本模型基于 `Merkyor/Qwen3.6-27B-DSV4Pro-Thinking-Distill` 继续后训练,重点强化可执行代码、闭环修复、验证纪律、final-answer 可靠性和推理预算控制。
120
+
121
+ GGUF 多分片模型只需要指定第一片;MTP sidecar 是可选 speculative decoding 加速件,不是主模型。FP8 默认推荐 no-MTP;当前短输出压测下 no-MTP TPS 高于 MTP/NEXTN。