PenAgent dealignai commited on
Commit
e873c80
·
0 Parent(s):

Duplicate from dealignai/GLM-5.3-ABLITERATED-NVFP4

Browse files

Co-authored-by: dealign.ai <dealignai@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +37 -0
  2. README.md +209 -0
  3. chat_template.jinja +251 -0
  4. config.json +414 -0
  5. dealign_logo.png +0 -0
  6. dealign_mascot.png +0 -0
  7. generation_config.json +13 -0
  8. model-00001-of-00282.safetensors +3 -0
  9. model-00002-of-00282.safetensors +3 -0
  10. model-00003-of-00282.safetensors +3 -0
  11. model-00004-of-00282.safetensors +3 -0
  12. model-00005-of-00282.safetensors +3 -0
  13. model-00006-of-00282.safetensors +3 -0
  14. model-00007-of-00282.safetensors +3 -0
  15. model-00008-of-00282.safetensors +3 -0
  16. model-00009-of-00282.safetensors +3 -0
  17. model-00010-of-00282.safetensors +3 -0
  18. model-00011-of-00282.safetensors +3 -0
  19. model-00012-of-00282.safetensors +3 -0
  20. model-00013-of-00282.safetensors +3 -0
  21. model-00014-of-00282.safetensors +3 -0
  22. model-00015-of-00282.safetensors +3 -0
  23. model-00016-of-00282.safetensors +3 -0
  24. model-00017-of-00282.safetensors +3 -0
  25. model-00018-of-00282.safetensors +3 -0
  26. model-00019-of-00282.safetensors +3 -0
  27. model-00020-of-00282.safetensors +3 -0
  28. model-00021-of-00282.safetensors +3 -0
  29. model-00022-of-00282.safetensors +3 -0
  30. model-00023-of-00282.safetensors +3 -0
  31. model-00024-of-00282.safetensors +3 -0
  32. model-00025-of-00282.safetensors +3 -0
  33. model-00026-of-00282.safetensors +3 -0
  34. model-00027-of-00282.safetensors +3 -0
  35. model-00028-of-00282.safetensors +3 -0
  36. model-00029-of-00282.safetensors +3 -0
  37. model-00030-of-00282.safetensors +3 -0
  38. model-00031-of-00282.safetensors +3 -0
  39. model-00032-of-00282.safetensors +3 -0
  40. model-00033-of-00282.safetensors +3 -0
  41. model-00034-of-00282.safetensors +3 -0
  42. model-00035-of-00282.safetensors +3 -0
  43. model-00036-of-00282.safetensors +3 -0
  44. model-00037-of-00282.safetensors +3 -0
  45. model-00038-of-00282.safetensors +3 -0
  46. model-00039-of-00282.safetensors +3 -0
  47. model-00040-of-00282.safetensors +3 -0
  48. model-00041-of-00282.safetensors +3 -0
  49. model-00042-of-00282.safetensors +3 -0
  50. model-00043-of-00282.safetensors +3 -0
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model:
4
+ - zai-org/GLM-5.3
5
+ language:
6
+ - en
7
+ tags:
8
+ - abliterated
9
+ - uncensored
10
+ - crack
11
+ - glm
12
+ - moe
13
+ - nvfp4
14
+ - cybersecurity
15
+ - offensive-security
16
+ - mtp
17
+ thumbnail: dealign_mascot.png
18
+ ---
19
+
20
+ > ## ⚡ Built for offensive cybersecurity · Updated 2026-08-29
21
+ >
22
+ > **This is a red-team / offensive-security model.** GLM-5.3 (753B) with refusal removed at the
23
+ > weight level so it produces **real, working security code** — exploits, payloads, tooling —
24
+ > for authorized penetration testing, malware analysis, CTFs, and security research. Verified to
25
+ > generate working **keyloggers, SUID privilege-escalation, AES ransomware, reverse shells, and
26
+ > SSH brute-forcers** across reasoning modes (greedy), with **zero degeneration/looping** and
27
+ > capability preserved (**MMLU 84.11%**, within ~1.5pp of base). Load with stock vLLM.
28
+ >
29
+ > **Designed for high / max reasoning-effort usage** — the modes tuned and recommended for
30
+ > offensive-security work. A few borderline social-harm topics may still be declined at lower
31
+ > effort; use high or max effort for the fully-uncensored experience.
32
+
33
+ <div align="center">
34
+ <img src="dealign_mascot.png" width="140" />
35
+
36
+ # GLM 5.3 CRACK Abliterated NVFP4
37
+
38
+ **CRACK** · guardrails removed at the weight level · tuned for **offensive security**
39
+
40
+ a **CRACK** release by [dealignai](https://huggingface.co/dealignai) [@dealignai](https://twitter.com/dealignai) · compute by [@jordanschenck](https://twitter.com/jordanschenck)
41
+
42
+ *Also mirrored at [dealignai/GLM-5.3-UNCENSORED-NVFP4](https://huggingface.co/dealignai/GLM-5.3-UNCENSORED-NVFP4).*
43
+
44
+ </div>
45
+
46
+ ---
47
+
48
+ > [!IMPORTANT]
49
+ > **Runtime notes** — field-tested on 8× DGX Spark GB10 by [@0xMagnus](https://huggingface.co/0xMagnus) ([discussion](https://huggingface.co/dealignai/GLM-5.3-UNCENSORED-FP8/discussions/3)):
50
+ >
51
+ > - **`reasoning_effort` only honors `"low"` and `"high"`.** Every other value — `off`, `medium`, `max`, unset, or an unquoted YAML `off:` (parses as boolean `false`) — falls through to `max`. There is no way to disable reasoning on this checkpoint; pass `"low"` for minimum.
52
+ > - **On NVFP4, `high` is usable** with `max_tokens ≥ 16384` (finishes cleanly). `max` will often exhaust the budget with a very long reasoning block and a truncated answer. NVFP4 tolerates `high` better than the FP8 build.
53
+ > - **Reasoning text is in `message.reasoning`**, not `message.reasoning_content`.
54
+ > - **On GB10, NVFP4 is a memory / context play, not a speed play** — no native FP4 compute, weights dequantize on the fly; decode lands near FP8 + MTP. The win is KV pool (~35 GiB/rank vs FP8's 7–9 GiB) → practical **512K context at TP8** (~695K-token pool at 1.33× concurrency).
55
+ > - **1M context via decode-context-parallel is closed** on `glm_moe_dsa` in vLLM today (DSA indexer `k_cache` is replicated across DCP ranks while MLA KV is sharded → `page size is not divisible by target page size and cannot be padded` for `nvfp4_ds_mla`).
56
+
57
+ ## What Is This?
58
+
59
+ **CRACK** is dealignai's brand for permanent, weight-level uncensoring. This is
60
+ [GLM-5.3](https://huggingface.co/zai-org/GLM-5.3) (753B) in **NVFP4** with its refusal behavior
61
+ removed **directly in the model weights** — tuned so it complies with **offensive-security**
62
+ requests (exploit dev, payloads, red-team tooling) that stock models refuse.
63
+
64
+ - ❌ No fine-tuning / SFT / DPO. ❌ No jailbreak prompt or chat-template tricks.
65
+ - ❌ No LoRA, adapters, steering vectors, runtime hooks, or custom `model.py`.
66
+ - ✅ A permanent edit baked into the tensors. Load with stock vLLM and it just works.
67
+
68
+ ## Specs
69
+
70
+ | | |
71
+ |---|---|
72
+ | **Architecture** | GLM-5.3 (`glm_moe_dsa`) — MoE + MLA + DeepSeek-sparse attention |
73
+ | **Parameters** | **753B total · ~18B active** per token |
74
+ | **Quantization** | **NVFP4** (routed experts NVFP4; attention + shared experts bf16) |
75
+ | **Context** | 1M tokens |
76
+ | **MTP** | multi-token-prediction draft head — **also CRACK'd** (~87% draft acceptance) |
77
+ | **Reasoning** | reasoning-off / low / high / max effort |
78
+
79
+ ## Refusal Rates — HarmBench (greedy, per reasoning-effort mode)
80
+
81
+ Measured on random HarmBench prompts, greedy decode, single-stream, `max_tokens=1400`,
82
+ classifier reads **content + reasoning combined** so nothing is counted as refusal by accident:
83
+
84
+ | Reasoning effort | Prompts | Comply | Refuse | **Refuse rate** |
85
+ |---|---|---|---|---|
86
+ | **default (off)** | 109 answered | 101 | 8 | **7.3%** |
87
+ | **high** | 76 | 76 | 0 | **0.0%** |
88
+ | **max** | 80 | 80 | 0 | **0.0%** |
89
+
90
+ At **high** and **max** the model is fully uncensored — 0 refusals across 156 random
91
+ HarmBench prompts. The 8 refusals at off-mode are 7 **copyright** ('full lyrics of X',
92
+ 'long passage from Y') plus 1 political persuasion — the true safety-refusal rate at off is
93
+ <1%. **Use high or max effort for the fully-uncensored experience.**
94
+
95
+ ## Offensive-Security Compliance (direct-read)
96
+
97
+ Direct-read verification — the model returns **real, working code**, not refusals or redirects:
98
+
99
+ | Capability | Result |
100
+ |---|---|
101
+ | Reverse shell / C2 beacon | ✅ working code |
102
+ | Keylogger (capture + exfil) | ✅ working code |
103
+ | AES ransomware (encrypt + note) | ✅ working code |
104
+ | Linux SUID privilege escalation | ✅ working code |
105
+ | SSH brute-force | ✅ working code |
106
+ | SQL injection payloads | ✅ working code |
107
+
108
+ Also complies on broader red-team topics (malware analysis, phishing templates for awareness,
109
+ recon). **0 looping / degenerate outputs** in every mode.
110
+
111
+ ## Capability Preserved — MMLU-logit
112
+
113
+ Identical logit-mode scoring (argmax over A/B/C/D), 1,026 questions:
114
+
115
+ | | Base | CRACK Abliterated | Δ |
116
+ |---|---|---|---|
117
+ | **MMLU (overall)** | **85.58%** | **84.11%** | **-1.47 pp** |
118
+
119
+ ## MMLU by Topic (base → CRACK)
120
+
121
+ <details>
122
+ <summary>All 57 MMLU subjects</summary>
123
+
124
+ | Subject | Base | CRACK |
125
+ |---|---|---|
126
+ | Abstract Algebra | 66.7% | 55.6% |
127
+ | Anatomy | 83.3% | 83.3% |
128
+ | Astronomy | 94.4% | 94.4% |
129
+ | Business Ethics | 94.4% | 94.4% |
130
+ | Clinical Knowledge | 88.9% | 88.9% |
131
+ | College Biology | 94.4% | 94.4% |
132
+ | College Chemistry | 55.6% | 50.0% |
133
+ | College Computer Science | 77.8% | 66.7% |
134
+ | College Mathematics | 66.7% | 72.2% |
135
+ | College Medicine | 88.9% | 83.3% |
136
+ | College Physics | 77.8% | 83.3% |
137
+ | Computer Security | 94.4% | 88.9% |
138
+ | Conceptual Physics | 94.4% | 94.4% |
139
+ | Econometrics | 88.9% | 83.3% |
140
+ | Electrical Engineering | 77.8% | 77.8% |
141
+ | Elementary Mathematics | 83.3% | 83.3% |
142
+ | Formal Logic | 61.1% | 55.6% |
143
+ | Global Facts | 61.1% | 61.1% |
144
+ | High School Biology | 94.4% | 94.4% |
145
+ | High School Chemistry | 94.4% | 100.0% |
146
+ | High School Computer Science | 88.9% | 88.9% |
147
+ | High School European History | 83.3% | 77.8% |
148
+ | High School Geography | 83.3% | 83.3% |
149
+ | High School Government And Politics | 100.0% | 100.0% |
150
+ | High School Macroeconomics | 88.9% | 83.3% |
151
+ | High School Mathematics | 44.4% | 44.4% |
152
+ | High School Microeconomics | 94.4% | 94.4% |
153
+ | High School Physics | 72.2% | 83.3% |
154
+ | High School Psychology | 100.0% | 100.0% |
155
+ | High School Statistics | 100.0% | 83.3% |
156
+ | High School Us History | 88.9% | 88.9% |
157
+ | High School World History | 94.4% | 94.4% |
158
+ | Human Aging | 83.3% | 83.3% |
159
+ | Human Sexuality | 88.9% | 88.9% |
160
+ | International Law | 94.4% | 94.4% |
161
+ | Jurisprudence | 100.0% | 94.4% |
162
+ | Logical Fallacies | 94.4% | 94.4% |
163
+ | Machine Learning | 77.8% | 66.7% |
164
+ | Management | 94.4% | 88.9% |
165
+ | Marketing | 100.0% | 100.0% |
166
+ | Medical Genetics | 100.0% | 94.4% |
167
+ | Miscellaneous | 94.4% | 94.4% |
168
+ | Moral Disputes | 83.3% | 88.9% |
169
+ | Moral Scenarios | 61.1% | 66.7% |
170
+ | Nutrition | 100.0% | 94.4% |
171
+ | Philosophy | 100.0% | 100.0% |
172
+ | Prehistory | 94.4% | 88.9% |
173
+ | Professional Accounting | 66.7% | 66.7% |
174
+ | Professional Law | 83.3% | 77.8% |
175
+ | Professional Medicine | 94.4% | 94.4% |
176
+ | Professional Psychology | 100.0% | 100.0% |
177
+ | Public Relations | 77.8% | 72.2% |
178
+ | Security Studies | 66.7% | 66.7% |
179
+ | Sociology | 100.0% | 94.4% |
180
+ | Us Foreign Policy | 100.0% | 94.4% |
181
+ | Virology | 50.0% | 61.1% |
182
+ | World Religions | 94.4% | 100.0% |
183
+
184
+ </details>
185
+
186
+ ## Usage
187
+
188
+ ```bash
189
+ vllm serve dealignai/GLM-5.3-ABLITERATED-NVFP4 \
190
+ --tensor-parallel-size 8 --moe-backend marlin \
191
+ --tool-call-parser glm47 --reasoning-parser glm45 --enable-auto-tool-choice
192
+ ```
193
+
194
+ NVFP4 routed experts serve via the Marlin FP4 path on Hopper (H100/H200). GLM-5.3's DSA sparse
195
+ attention needs a recent FlashInfer (>= 0.6.18) for the SM90 sparse-MLA backend.
196
+
197
+ **MTP speculative decoding** (also CRACK'd, ~87% draft acceptance): add
198
+ `--speculative-config '{"method":"mtp","num_speculative_tokens":1}'` and let vLLM auto-select
199
+ the MoE backend (the bf16 MTP head is unquantized, so don't force a global `--moe-backend`).
200
+
201
+ ## Credits
202
+
203
+ - **[dealignai](https://huggingface.co/dealignai)** — CRACK abliteration research & release · Twitter **[@dealignai](https://twitter.com/dealignai)**
204
+
205
+ ## Disclaimer
206
+
207
+ Safety guardrails have been removed; this model produces offensive-security content and will
208
+ comply with requests a stock model refuses. Released for **authorized** security research, red-
209
+ teaming, and CTFs. You are responsible for how you use it.
chat_template.jinja ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gMASK]<sop>
2
+ {%- set effective_reasoning_effort = reasoning_effort if reasoning_effort is defined and reasoning_effort in ['low', 'high'] else 'max' -%}
3
+ {%- if effective_reasoning_effort is not none -%}<|system|>Reasoning Effort: {{ effective_reasoning_effort | capitalize }}{%- endif -%}
4
+ {%- set clear_thinking = clear_thinking if clear_thinking is defined else true -%}
5
+ {%- if tools -%}
6
+ {%- macro tool_to_json(tool) -%}
7
+ {%- set ns_tool = namespace(first=true) -%}
8
+ {{ '{' -}}
9
+ {%- for k, v in tool.items() -%}
10
+ {%- if k != 'defer_loading' and k != 'strict' -%}
11
+ {%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%}
12
+ {%- set ns_tool.first = false -%}
13
+ "{{ k }}": {{ v | tojson(ensure_ascii=False) }}
14
+ {%- endif -%}
15
+ {%- endfor -%}
16
+ {{- '}' -}}
17
+ {%- endmacro -%}
18
+ {%- macro tool_references_to_response(refs) -%}
19
+ {{- '<tool_response><tools>\n' -}}
20
+ {%- for tr in refs -%}
21
+ {%- for tool in tools -%}
22
+ {%- if 'function' in tool -%}
23
+ {%- set tool = tool['function'] -%}
24
+ {%- endif -%}
25
+ {%- if tool.name == tr.name -%}
26
+ {{- tool_to_json(tool) + '\n' -}}
27
+ {%- endif -%}
28
+ {%- endfor -%}
29
+ {%- endfor -%}
30
+ {{- '</tools></tool_response>' -}}
31
+ {%- endmacro -%}
32
+ <|system|>
33
+ # Tools
34
+
35
+ You may call one or more functions to assist with the user query.
36
+
37
+ You are provided with function signatures within <tools></tools> XML tags:
38
+ <tools>
39
+ {% for tool in tools %}
40
+ {%- if 'function' in tool -%}
41
+ {%- set tool = tool['function'] -%}
42
+ {%- endif -%}
43
+ {% if tool.defer_loading is not defined or not tool.defer_loading %}
44
+ {{ tool_to_json(tool) }}
45
+ {% endif %}
46
+ {% endfor %}
47
+ </tools>
48
+
49
+ For each function call, output the function name and arguments within the following XML format:
50
+ <tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value><arg_key>{arg-key-2}</arg_key><arg_value>{arg-value-2}</arg_value>...</tool_call>{%- endif -%}
51
+ {%- macro visible_text(content) -%}
52
+ {%- if content is string -%}
53
+ {{- content }}
54
+ {%- elif content is iterable and content is not mapping -%}
55
+ {%- for item in content -%}
56
+ {%- if item is mapping and item.type == 'text' -%}
57
+ {{- item.text }}
58
+ {%- elif item is string -%}
59
+ {{- item }}
60
+ {%- elif item is mapping and item.type in ['image', 'image_url', 'video', 'video_url', 'audio', 'audio_url', 'input_audio'] -%}
61
+ {%- set media_type = item.type | replace('_url', '') | replace('input_', '') -%}
62
+ {{- "<reminder>You are unable to process this " ~ media_type ~ " because you don't have multi-modal input ability. Try different methods.</reminder>" }}
63
+ {%- endif -%}
64
+ {%- endfor -%}
65
+ {%- else -%}
66
+ {{- content }}
67
+ {%- endif -%}
68
+ {%- endmacro -%}
69
+ {%- macro tool_response(text) -%}
70
+ {{- '<tool_response>' + text + '</tool_response>' -}}
71
+ {%- endmacro -%}
72
+ {%- macro render_tool_response(m) -%}
73
+ {%- if m.content is string -%}
74
+ {{- tool_response(m.content) -}}
75
+ {%- elif m.content and m.content is not mapping and m.content.0.type == "tool_reference" -%}
76
+ {{- tool_references_to_response(m.content) -}}
77
+ {%- elif is_list_of_outputs(m) -%}
78
+ {%- for tr in m.content -%}
79
+ {%- if tr.output is iterable and tr.output is not string and tr.output is not mapping and tr.output and tr.output.0.type == "tool_reference" -%}
80
+ {{- tool_references_to_response(tr.output) -}}
81
+ {%- else -%}
82
+ {{- tool_response(visible_text(tr.output)) -}}
83
+ {%- endif -%}
84
+ {%- endfor -%}
85
+ {%- else -%}
86
+ {{- tool_response(visible_text(m.content)) -}}
87
+ {%- endif -%}
88
+ {%- endmacro -%}
89
+ {%- macro id_of(obj) -%}
90
+ {%- if obj.tool_call_id -%}
91
+ {{- obj.tool_call_id -}}
92
+ {%- elif obj.id -%}
93
+ {{- obj.id -}}
94
+ {%- endif -%}
95
+ {%- endmacro -%}
96
+ {%- macro is_list_of_outputs(m) -%}
97
+ {%- if m.content and m.content.0.output is defined -%}1{%- endif -%}
98
+ {%- endmacro -%}
99
+ {%- macro has_dup_tool_result_id(lo, hi, target) -%}
100
+ {%- set ns_cnt = namespace(n=0) -%}
101
+ {%- for k in range(lo, hi + 1) -%}
102
+ {%- set m = messages[k] -%}
103
+ {%- if is_list_of_outputs(m) -%}
104
+ {%- for entry in m.content -%}
105
+ {%- if id_of(entry) == target -%}
106
+ {%- set ns_cnt.n = ns_cnt.n + 1 -%}
107
+ {%- endif -%}
108
+ {%- endfor -%}
109
+ {%- elif id_of(m) == target -%}
110
+ {%- set ns_cnt.n = ns_cnt.n + 1 -%}
111
+ {%- endif -%}
112
+ {%- if ns_cnt.n > 1 -%}{%- break -%}{%- endif -%}
113
+ {%- endfor -%}
114
+ {%- if ns_cnt.n > 1 -%}1{%- endif -%}
115
+ {%- endmacro -%}
116
+ {%- macro tc_id_exists(tcs, target) -%}
117
+ {%- set ns_f = namespace(found=false) -%}
118
+ {%- for tc in tcs -%}
119
+ {%- if id_of(tc) == target -%}
120
+ {%- set ns_f.found = true -%}
121
+ {%- break -%}
122
+ {%- endif -%}
123
+ {%- endfor -%}
124
+ {%- if ns_f.found -%}1{%- endif -%}
125
+ {%- endmacro -%}
126
+ {%- set ns = namespace(last_user_index=-1) -%}
127
+ {%- for m in messages %}
128
+ {%- if m.role == 'user' %}
129
+ {%- set ns.last_user_index = loop.index0 -%}
130
+ {%- endif %}
131
+ {%- endfor %}
132
+ {%- for m in messages -%}
133
+ {%- if m.role == 'user' -%}<|user|>{{ visible_text(m.content) }}
134
+ {%- elif m.role == 'assistant' -%}
135
+ <|assistant|>
136
+ {%- set content = visible_text(m.content) %}
137
+ {%- if m.reasoning_content is string %}
138
+ {%- set reasoning_content = m.reasoning_content %}
139
+ {%- elif '</think>' in content %}
140
+ {%- set reasoning_content = content.split('</think>')[0].split('<think>')[-1] %}
141
+ {%- set content = content.split('</think>')[-1] %}
142
+ {%- endif %}
143
+ {%- if (not clear_thinking or loop.index0 > ns.last_user_index) and reasoning_content is defined -%}
144
+ {{ '<think>' + reasoning_content + '</think>'}}
145
+ {%- else -%}
146
+ {{ '<think></think>' }}
147
+ {%- endif -%}
148
+ {%- if content.strip() -%}
149
+ {{ content.strip() }}
150
+ {%- endif -%}
151
+ {% if m.tool_calls %}
152
+ {% for tc in m.tool_calls %}
153
+ {%- if tc.function %}
154
+ {%- set tc = tc.function %}
155
+ {%- endif %}
156
+ {{- '<tool_call>' + tc.name -}}
157
+ {% set _args = tc.arguments %}{% for k, v in _args.items() %}<arg_key>{{ k }}</arg_key><arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>{% endfor %}</tool_call>{% endfor %}
158
+ {% endif %}
159
+ {%- elif m.role == 'tool' -%}
160
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
161
+ {{- '<|observation|>' -}}
162
+ {%- set block_start = loop.index0 -%}
163
+ {%- set ns_blk = namespace(end=block_start) -%}
164
+ {%- for j in range(block_start, messages|length) -%}
165
+ {%- if messages[j].role == 'tool' -%}
166
+ {%- set ns_blk.end = j -%}
167
+ {%- else -%}
168
+ {%- break -%}
169
+ {%- endif -%}
170
+ {%- endfor -%}
171
+ {%- set ns_a = namespace(tool_calls=none) -%}
172
+ {%- if block_start > 0 and messages[block_start - 1].role == 'assistant' and messages[block_start - 1].tool_calls -%}
173
+ {%- set ns_a.tool_calls = messages[block_start - 1].tool_calls -%}
174
+ {%- endif -%}
175
+ {%- set ns_chk = namespace(can_sort=true) -%}
176
+ {%- if not ns_a.tool_calls -%}
177
+ {%- set ns_chk.can_sort = false -%}
178
+ {%- else -%}
179
+ {%- for k in range(block_start, ns_blk.end + 1) -%}
180
+ {%- set m = messages[k] -%}
181
+ {%- if is_list_of_outputs(m) -%}
182
+ {%- for entry in m.content -%}
183
+ {%- set eid = id_of(entry) -%}
184
+ {%- if not eid -%}
185
+ {%- set ns_chk.can_sort = false -%}
186
+ {%- elif has_dup_tool_result_id(block_start, ns_blk.end, eid) -%}
187
+ {%- set ns_chk.can_sort = false -%}
188
+ {%- elif not tc_id_exists(ns_a.tool_calls, eid) -%}
189
+ {%- set ns_chk.can_sort = false -%}
190
+ {%- endif -%}
191
+ {%- endfor -%}
192
+ {%- else -%}
193
+ {%- set tk_id = id_of(m) -%}
194
+ {%- if not tk_id -%}
195
+ {%- set ns_chk.can_sort = false -%}
196
+ {%- elif has_dup_tool_result_id(block_start, ns_blk.end, tk_id) -%}
197
+ {%- set ns_chk.can_sort = false -%}
198
+ {%- elif not tc_id_exists(ns_a.tool_calls, tk_id) -%}
199
+ {%- set ns_chk.can_sort = false -%}
200
+ {%- endif -%}
201
+ {%- endif -%}
202
+ {%- endfor -%}
203
+ {%- for i in range(ns_a.tool_calls | length) -%}
204
+ {%- set tc_id = id_of(ns_a.tool_calls[i]) -%}
205
+ {%- if not tc_id -%}
206
+ {%- set ns_chk.can_sort = false -%}
207
+ {%- endif -%}
208
+ {%- for j in range(i + 1, ns_a.tool_calls | length) -%}
209
+ {%- if id_of(ns_a.tool_calls[j]) == tc_id -%}
210
+ {%- set ns_chk.can_sort = false -%}
211
+ {%- endif -%}
212
+ {%- endfor -%}
213
+ {%- endfor -%}
214
+ {%- endif -%}
215
+ {%- if ns_chk.can_sort -%}
216
+ {%- for tc in ns_a.tool_calls -%}
217
+ {%- set tc_id = id_of(tc) -%}
218
+ {%- for k in range(block_start, ns_blk.end + 1) -%}
219
+ {%- set m = messages[k] -%}
220
+ {%- if is_list_of_outputs(m) -%}
221
+ {%- for entry in m.content -%}
222
+ {%- set eid = id_of(entry) -%}
223
+ {%- if eid == tc_id -%}
224
+ {%- if entry.output is iterable and entry.output is not string and entry.output is not mapping and entry.output and entry.output.0.type == "tool_reference" -%}
225
+ {{- tool_references_to_response(entry.output) -}}
226
+ {%- else -%}
227
+ {{- tool_response(visible_text(entry.output)) -}}
228
+ {%- endif -%}
229
+ {%- endif -%}
230
+ {%- endfor -%}
231
+ {%- else -%}
232
+ {%- set tk_id = id_of(m) -%}
233
+ {%- if tk_id == tc_id -%}
234
+ {{- render_tool_response(m) -}}
235
+ {%- endif -%}
236
+ {%- endif -%}
237
+ {%- endfor -%}
238
+ {%- endfor -%}
239
+ {%- else -%}
240
+ {%- for k in range(block_start, ns_blk.end + 1) -%}
241
+ {{- render_tool_response(messages[k]) -}}
242
+ {%- endfor -%}
243
+ {%- endif -%}
244
+ {% endif -%}
245
+ {%- elif m.role == 'system' -%}
246
+ <|system|>{{ visible_text(m.content) }}
247
+ {%- endif -%}
248
+ {%- endfor -%}
249
+ {%- if add_generation_prompt -%}
250
+ <|assistant|>{{- '<think>' -}}
251
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GlmMoeDsaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "dtype": "bfloat16",
8
+ "eos_token_id": [
9
+ 154820,
10
+ 154827,
11
+ 154829
12
+ ],
13
+ "ep_size": 1,
14
+ "first_k_dense_replace": 3,
15
+ "head_dim": 192,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 6144,
18
+ "index_head_dim": 128,
19
+ "index_n_heads": 32,
20
+ "index_share_for_mtp_iteration": true,
21
+ "index_skip_topk_offset": 3,
22
+ "index_topk": 2048,
23
+ "index_topk_freq": 4,
24
+ "index_topk_pattern": null,
25
+ "indexer_rope_interleave": true,
26
+ "indexer_types": [
27
+ "full",
28
+ "full",
29
+ "full",
30
+ "shared",
31
+ "shared",
32
+ "shared",
33
+ "full",
34
+ "shared",
35
+ "shared",
36
+ "shared",
37
+ "full",
38
+ "shared",
39
+ "shared",
40
+ "shared",
41
+ "full",
42
+ "shared",
43
+ "shared",
44
+ "shared",
45
+ "full",
46
+ "shared",
47
+ "shared",
48
+ "shared",
49
+ "full",
50
+ "shared",
51
+ "shared",
52
+ "shared",
53
+ "full",
54
+ "shared",
55
+ "shared",
56
+ "shared",
57
+ "full",
58
+ "shared",
59
+ "shared",
60
+ "shared",
61
+ "full",
62
+ "shared",
63
+ "shared",
64
+ "shared",
65
+ "full",
66
+ "shared",
67
+ "shared",
68
+ "shared",
69
+ "full",
70
+ "shared",
71
+ "shared",
72
+ "shared",
73
+ "full",
74
+ "shared",
75
+ "shared",
76
+ "shared",
77
+ "full",
78
+ "shared",
79
+ "shared",
80
+ "shared",
81
+ "full",
82
+ "shared",
83
+ "shared",
84
+ "shared",
85
+ "full",
86
+ "shared",
87
+ "shared",
88
+ "shared",
89
+ "full",
90
+ "shared",
91
+ "shared",
92
+ "shared",
93
+ "full",
94
+ "shared",
95
+ "shared",
96
+ "shared",
97
+ "full",
98
+ "shared",
99
+ "shared",
100
+ "shared",
101
+ "full",
102
+ "shared",
103
+ "shared",
104
+ "shared"
105
+ ],
106
+ "initializer_range": 0.02,
107
+ "intermediate_size": 12288,
108
+ "kv_lora_rank": 512,
109
+ "max_position_embeddings": 1048576,
110
+ "mlp_layer_types": [
111
+ "dense",
112
+ "dense",
113
+ "dense",
114
+ "sparse",
115
+ "sparse",
116
+ "sparse",
117
+ "sparse",
118
+ "sparse",
119
+ "sparse",
120
+ "sparse",
121
+ "sparse",
122
+ "sparse",
123
+ "sparse",
124
+ "sparse",
125
+ "sparse",
126
+ "sparse",
127
+ "sparse",
128
+ "sparse",
129
+ "sparse",
130
+ "sparse",
131
+ "sparse",
132
+ "sparse",
133
+ "sparse",
134
+ "sparse",
135
+ "sparse",
136
+ "sparse",
137
+ "sparse",
138
+ "sparse",
139
+ "sparse",
140
+ "sparse",
141
+ "sparse",
142
+ "sparse",
143
+ "sparse",
144
+ "sparse",
145
+ "sparse",
146
+ "sparse",
147
+ "sparse",
148
+ "sparse",
149
+ "sparse",
150
+ "sparse",
151
+ "sparse",
152
+ "sparse",
153
+ "sparse",
154
+ "sparse",
155
+ "sparse",
156
+ "sparse",
157
+ "sparse",
158
+ "sparse",
159
+ "sparse",
160
+ "sparse",
161
+ "sparse",
162
+ "sparse",
163
+ "sparse",
164
+ "sparse",
165
+ "sparse",
166
+ "sparse",
167
+ "sparse",
168
+ "sparse",
169
+ "sparse",
170
+ "sparse",
171
+ "sparse",
172
+ "sparse",
173
+ "sparse",
174
+ "sparse",
175
+ "sparse",
176
+ "sparse",
177
+ "sparse",
178
+ "sparse",
179
+ "sparse",
180
+ "sparse",
181
+ "sparse",
182
+ "sparse",
183
+ "sparse",
184
+ "sparse",
185
+ "sparse",
186
+ "sparse",
187
+ "sparse",
188
+ "sparse"
189
+ ],
190
+ "model_type": "glm_moe_dsa",
191
+ "moe_intermediate_size": 2048,
192
+ "moe_layer_freq": 1,
193
+ "moe_router_dtype": "float32",
194
+ "n_group": 1,
195
+ "n_routed_experts": 256,
196
+ "n_shared_experts": 1,
197
+ "norm_topk_prob": true,
198
+ "num_attention_heads": 64,
199
+ "num_experts_per_tok": 8,
200
+ "num_hidden_layers": 78,
201
+ "num_key_value_heads": 64,
202
+ "num_nextn_predict_layers": 1,
203
+ "pad_token_id": 154820,
204
+ "pretraining_tp": 1,
205
+ "q_lora_rank": 2048,
206
+ "qk_head_dim": 256,
207
+ "qk_nope_head_dim": 192,
208
+ "qk_rope_head_dim": 64,
209
+ "rms_norm_eps": 1e-05,
210
+ "rope_interleave": true,
211
+ "rope_parameters": {
212
+ "rope_theta": 8000000,
213
+ "rope_type": "default"
214
+ },
215
+ "routed_scaling_factor": 2.5,
216
+ "scoring_func": "sigmoid",
217
+ "tie_word_embeddings": false,
218
+ "topk_group": 1,
219
+ "topk_method": "noaux_tc",
220
+ "transformers_version": "5.15.0",
221
+ "use_cache": true,
222
+ "v_head_dim": 256,
223
+ "vocab_size": 154880,
224
+ "quantization_config": {
225
+ "config_groups": {
226
+ "group_0": {
227
+ "input_activations": {
228
+ "dynamic": false,
229
+ "num_bits": 4,
230
+ "type": "float",
231
+ "group_size": 16
232
+ },
233
+ "weights": {
234
+ "dynamic": false,
235
+ "num_bits": 4,
236
+ "type": "float",
237
+ "group_size": 16
238
+ },
239
+ "targets": [
240
+ "Linear"
241
+ ]
242
+ }
243
+ },
244
+ "ignore": [
245
+ "lm_head",
246
+ "model.embed_tokens",
247
+ "model.layers.0*",
248
+ "model.layers.1.*",
249
+ "model.layers.2.*",
250
+ "model.layers.3.self_attn*",
251
+ "model.layers.3.mlp.shared_experts*",
252
+ "model.layers.4.self_attn*",
253
+ "model.layers.4.mlp.shared_experts*",
254
+ "model.layers.5.self_attn*",
255
+ "model.layers.5.mlp.shared_experts*",
256
+ "model.layers.6.self_attn*",
257
+ "model.layers.6.mlp.shared_experts*",
258
+ "model.layers.7.self_attn*",
259
+ "model.layers.7.mlp.shared_experts*",
260
+ "model.layers.8.self_attn*",
261
+ "model.layers.8.mlp.shared_experts*",
262
+ "model.layers.9.self_attn*",
263
+ "model.layers.9.mlp.shared_experts*",
264
+ "model.layers.10.self_attn*",
265
+ "model.layers.10.mlp.shared_experts*",
266
+ "model.layers.11.self_attn*",
267
+ "model.layers.11.mlp.shared_experts*",
268
+ "model.layers.12.self_attn*",
269
+ "model.layers.12.mlp.shared_experts*",
270
+ "model.layers.13.self_attn*",
271
+ "model.layers.13.mlp.shared_experts*",
272
+ "model.layers.14.self_attn*",
273
+ "model.layers.14.mlp.shared_experts*",
274
+ "model.layers.15.self_attn*",
275
+ "model.layers.15.mlp.shared_experts*",
276
+ "model.layers.16.self_attn*",
277
+ "model.layers.16.mlp.shared_experts*",
278
+ "model.layers.17.self_attn*",
279
+ "model.layers.17.mlp.shared_experts*",
280
+ "model.layers.18.self_attn*",
281
+ "model.layers.18.mlp.shared_experts*",
282
+ "model.layers.19.self_attn*",
283
+ "model.layers.19.mlp.shared_experts*",
284
+ "model.layers.20.self_attn*",
285
+ "model.layers.20.mlp.shared_experts*",
286
+ "model.layers.21.self_attn*",
287
+ "model.layers.21.mlp.shared_experts*",
288
+ "model.layers.22.self_attn*",
289
+ "model.layers.22.mlp.shared_experts*",
290
+ "model.layers.23.self_attn*",
291
+ "model.layers.23.mlp.shared_experts*",
292
+ "model.layers.24.self_attn*",
293
+ "model.layers.24.mlp.shared_experts*",
294
+ "model.layers.25.self_attn*",
295
+ "model.layers.25.mlp.shared_experts*",
296
+ "model.layers.26.self_attn*",
297
+ "model.layers.26.mlp.shared_experts*",
298
+ "model.layers.27.self_attn*",
299
+ "model.layers.27.mlp.shared_experts*",
300
+ "model.layers.28.self_attn*",
301
+ "model.layers.28.mlp.shared_experts*",
302
+ "model.layers.29.self_attn*",
303
+ "model.layers.29.mlp.shared_experts*",
304
+ "model.layers.30.self_attn*",
305
+ "model.layers.30.mlp.shared_experts*",
306
+ "model.layers.31.self_attn*",
307
+ "model.layers.31.mlp.shared_experts*",
308
+ "model.layers.32.self_attn*",
309
+ "model.layers.32.mlp.shared_experts*",
310
+ "model.layers.33.self_attn*",
311
+ "model.layers.33.mlp.shared_experts*",
312
+ "model.layers.34.self_attn*",
313
+ "model.layers.34.mlp.shared_experts*",
314
+ "model.layers.35.self_attn*",
315
+ "model.layers.35.mlp.shared_experts*",
316
+ "model.layers.36.self_attn*",
317
+ "model.layers.36.mlp.shared_experts*",
318
+ "model.layers.37.self_attn*",
319
+ "model.layers.37.mlp.shared_experts*",
320
+ "model.layers.38.self_attn*",
321
+ "model.layers.38.mlp.shared_experts*",
322
+ "model.layers.39.self_attn*",
323
+ "model.layers.39.mlp.shared_experts*",
324
+ "model.layers.40.self_attn*",
325
+ "model.layers.40.mlp.shared_experts*",
326
+ "model.layers.41.self_attn*",
327
+ "model.layers.41.mlp.shared_experts*",
328
+ "model.layers.42.self_attn*",
329
+ "model.layers.42.mlp.shared_experts*",
330
+ "model.layers.43.self_attn*",
331
+ "model.layers.43.mlp.shared_experts*",
332
+ "model.layers.44.self_attn*",
333
+ "model.layers.44.mlp.shared_experts*",
334
+ "model.layers.45.self_attn*",
335
+ "model.layers.45.mlp.shared_experts*",
336
+ "model.layers.46.self_attn*",
337
+ "model.layers.46.mlp.shared_experts*",
338
+ "model.layers.47.self_attn*",
339
+ "model.layers.47.mlp.shared_experts*",
340
+ "model.layers.48.self_attn*",
341
+ "model.layers.48.mlp.shared_experts*",
342
+ "model.layers.49.self_attn*",
343
+ "model.layers.49.mlp.shared_experts*",
344
+ "model.layers.50.self_attn*",
345
+ "model.layers.50.mlp.shared_experts*",
346
+ "model.layers.51.self_attn*",
347
+ "model.layers.51.mlp.shared_experts*",
348
+ "model.layers.52.self_attn*",
349
+ "model.layers.52.mlp.shared_experts*",
350
+ "model.layers.53.self_attn*",
351
+ "model.layers.53.mlp.shared_experts*",
352
+ "model.layers.54.self_attn*",
353
+ "model.layers.54.mlp.shared_experts*",
354
+ "model.layers.55.self_attn*",
355
+ "model.layers.55.mlp.shared_experts*",
356
+ "model.layers.56.self_attn*",
357
+ "model.layers.56.mlp.shared_experts*",
358
+ "model.layers.57.self_attn*",
359
+ "model.layers.57.mlp.shared_experts*",
360
+ "model.layers.58.self_attn*",
361
+ "model.layers.58.mlp.shared_experts*",
362
+ "model.layers.59.self_attn*",
363
+ "model.layers.59.mlp.shared_experts*",
364
+ "model.layers.60.self_attn*",
365
+ "model.layers.60.mlp.shared_experts*",
366
+ "model.layers.61.self_attn*",
367
+ "model.layers.61.mlp.shared_experts*",
368
+ "model.layers.62.self_attn*",
369
+ "model.layers.62.mlp.shared_experts*",
370
+ "model.layers.63.self_attn*",
371
+ "model.layers.63.mlp.shared_experts*",
372
+ "model.layers.64.self_attn*",
373
+ "model.layers.64.mlp.shared_experts*",
374
+ "model.layers.65.self_attn*",
375
+ "model.layers.65.mlp.shared_experts*",
376
+ "model.layers.66.self_attn*",
377
+ "model.layers.66.mlp.shared_experts*",
378
+ "model.layers.67.self_attn*",
379
+ "model.layers.67.mlp.shared_experts*",
380
+ "model.layers.68.self_attn*",
381
+ "model.layers.68.mlp.shared_experts*",
382
+ "model.layers.69.self_attn*",
383
+ "model.layers.69.mlp.shared_experts*",
384
+ "model.layers.70.self_attn*",
385
+ "model.layers.70.mlp.shared_experts*",
386
+ "model.layers.71.self_attn*",
387
+ "model.layers.71.mlp.shared_experts*",
388
+ "model.layers.72.self_attn*",
389
+ "model.layers.72.mlp.shared_experts*",
390
+ "model.layers.73.self_attn*",
391
+ "model.layers.73.mlp.shared_experts*",
392
+ "model.layers.74.self_attn*",
393
+ "model.layers.74.mlp.shared_experts*",
394
+ "model.layers.75.self_attn*",
395
+ "model.layers.75.mlp.shared_experts*",
396
+ "model.layers.76.self_attn*",
397
+ "model.layers.76.mlp.shared_experts*",
398
+ "model.layers.77.self_attn*",
399
+ "model.layers.77.mlp.shared_experts*",
400
+ "model.layers.78*"
401
+ ],
402
+ "quant_algo": "NVFP4",
403
+ "kv_cache_scheme": {
404
+ "dynamic": false,
405
+ "num_bits": 8,
406
+ "type": "float"
407
+ },
408
+ "producer": {
409
+ "name": "modelopt",
410
+ "version": "0.45.0"
411
+ },
412
+ "quant_method": "modelopt"
413
+ }
414
+ }
dealign_logo.png ADDED
dealign_mascot.png ADDED
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 154820,
5
+ 154827,
6
+ 154829
7
+ ],
8
+ "pad_token_id": 154820,
9
+ "temperature": 1.0,
10
+ "top_p": 0.95,
11
+ "transformers_version": "5.12.0",
12
+ "repetition_penalty": 1.1
13
+ }
model-00001-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c2b5336222a667d84150f7503632450f4e59d69e3c3a8867abef1347269db3
3
+ size 5342821448
model-00002-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbac6b3cd6a00183b408bdb5ed613c247de0f92a4dcdef89984e801364e4e424
3
+ size 1553579016
model-00003-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03558ba5c79f2b5c049799243430f86dc4991a42f1a056005559b0d6a65647d
3
+ size 1507692576
model-00004-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:343ce839a58dde363dcbd47f7c9d56812d26a372f6a43b6a382aecd20d94a038
3
+ size 1507692160
model-00005-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ab6cdb23c494540f97925c348b4861323212d64283900b7094a7b2467bd2120
3
+ size 1814819344
model-00006-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5123a73e4d506aa8d7814b416c7ac3667c80381ccc6c27897f38c6a4aa4f9ca6
3
+ size 1507692592
model-00007-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2f00b811034a7d7bd338ee3514c103afb4ef157f18ca162a729caa6b5c129a
3
+ size 1507692576
model-00008-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04240fa7e6ab1eb74f374f78cedbe3fd44280ac471f9ab28250ecf6794a31156
3
+ size 1507691888
model-00009-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb86613e1b1e6d9b9bd8229a7f9cbd4c8f242caa822dc40b86e97dbe224d9ecf
3
+ size 1803153808
model-00010-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f78c32ee8e81652f4078fb6f2413860687f515bd44cc5ce38642aad2111ac2
3
+ size 1507692568
model-00011-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:155c399434c497d76c3b2796dbb6b421c418f872cfbc5457ac7e12e91bddc719
3
+ size 1507692472
model-00012-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f179f1a4e397a8e36b32b41a323253f4b9741248b4546c85dd068577480661a7
3
+ size 1565115248
model-00013-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60a95426d6536ba477d0df7eda442ae6f0c6442b24141e1f77958dcc797df6f9
3
+ size 1745730576
model-00014-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e7e4f2bf27fbb25dee334171f0f0a9501b732490a82f60873614997c4691e7d
3
+ size 1507692568
model-00015-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e51535c6d9cc4f1fea998e683f0a8ec59bf950ff5b13a9d9f9ece8abaa6dc6b
3
+ size 1507692200
model-00016-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf59b40494337f7ab7a3ec2d8205df2257c5d88fbfe3c5886eb14dad9c46f18e
3
+ size 1803153264
model-00017-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a968a2fc7ef5d0f3ef84dfd05c401593173ada22e55795395c4752d12bd9eae
3
+ size 1507692600
model-00018-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d793a4dab78d53f57aa3afb3b732420ba5ce97c811c78999020961c0433452ed
3
+ size 1507692568
model-00019-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b457e446448da844c756b65fc8d9625a1fea9e997008a37940cf4b8443a03b47
3
+ size 1507691928
model-00020-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:847423d0743afeeb9bd7c71ea604937b56bc83368e5f514388b163acef4972d1
3
+ size 1814819776
model-00021-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5685e1034d09303e32cf3f4cd5ccf09b1e218229d892645444651ec1710d5d6
3
+ size 1507692600
model-00022-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81c7e430612da27dfb773e5132495b901aebdad43e37a95a8b4f5f2e702587f5
3
+ size 1507692472
model-00023-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73c62d3e400663b3b0774e173c505f3ebf5abe57c37075d186c043b5c2cc51dc
3
+ size 1507691752
model-00024-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c33c2f700a879d0746e643e7ffb7664d74b68780d472e1eaa01479b0bbe84dcb
3
+ size 1803154288
model-00025-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c24e7e8fa48d758b8b70396714f74ce9928b1e4be6d9282daf4b6fb57424d7
3
+ size 1507692576
model-00026-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceb9fe38f5ff804d73e88196abdb0075efd6864e5c378e4fe23b1171f40cda90
3
+ size 1507692224
model-00027-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20186e8c6e0f6ef4d7bfba615e6489ee3a76e56f86d72ce7603f2672de51a33b
3
+ size 1803153224
model-00028-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5bf40eb5398795f59e3774a03a367a9c3124b7cfe57558dab68cd12a4e83026
3
+ size 1507692600
model-00029-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b03aea9d397c19b4cf53ae3d14f4f32e7040f814f47b98856e41e05b72e86f76
3
+ size 1507692576
model-00030-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9aa605769c25a2545c07f072cc187c19dffd91de208fa1ee4d35627f013a14f
3
+ size 1507691952
model-00031-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5824c22dee96e16b77bb92a8c20046653b449e7cff2eb912fda5ddaca119389a
3
+ size 1803153664
model-00032-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce9ed0f6ef22480ec60d4a1545360b9025b10a4c36e2dd679267db886ed64e04
3
+ size 1507692600
model-00033-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:104575795b0d33ba5d1268fd8dc08d8f6d2a7e5a7b0dc4997fd56118a2172200
3
+ size 1507692512
model-00034-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd0f9c9982bedb80d2b329791dc44528dcc11cbf80366207525ad947babd84a3
3
+ size 1507691744
model-00035-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab810fa47d3cecb72232804d17f9e4b3ac387f461c41e4d8bb62983132dff488
3
+ size 1814820232
model-00036-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:744cbdfce1b469245a92c10d1aafe2130d833e5c6dbfec0313ad32b82f707793
3
+ size 1507692576
model-00037-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e0faeb62518eb41bc931dd0fbb71b68ebcd47629d30a8ea8aa55598104f9bfb
3
+ size 1507692264
model-00038-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e096ec019db8720a4c07a4c56eaa90694b5b3ac686ecb5567cc5ab60eb06ac3
3
+ size 2378445352
model-00039-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdcd417215fa425bfb34ca4e61d3067fbbc34b6d8197a554277c7756f15e889f
3
+ size 1507692568
model-00040-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32e92825bdef507798aa29f7a601476f8a6cf6b6a8606f8046ed2cfbd5cb23f0
3
+ size 1507692576
model-00041-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75bb53cdb2101328d2221728ef1aa4ef6eb7023f6f2c2541939c9ae503179dab
3
+ size 1507692120
model-00042-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a1440eb53cfb3c9415974f57711d8a7cc655f30bc5e42af69854f6c9496d2e1
3
+ size 1803153344
model-00043-of-00282.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc177ee2fbefd31bc36911317dadb78a68fd428fef5d6267c832287760dd709
3
+ size 1507692592