zancato commited on
Commit
3f5dc28
·
0 Parent(s):

Super-squash branch 'main' using huggingface_hub

Browse files
.gitattributes ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
2
+ model-00001-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
3
+ model-00002-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
4
+ model-00003-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
5
+ model-00004-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - hybrid
7
+ - ssm
8
+ - state-space-model
9
+ - linear-attention
10
+ - gated-kalmanet
11
+ - priming
12
+ - long-context
13
+ - reasoning
14
+ base_model: Qwen/Qwen3-8B
15
+ paper:
16
+ - https://arxiv.org/abs/2511.21016
17
+ ---
18
+
19
+ # GKA-primed-HQwen3-8B-Reasoner
20
+
21
+ GKA-primed-HQwen3-8B-Reasoner is a Hybrid language model consisting of 50% Attention layers and 50% [Gated KalmaNet (GKA)](https://arxiv.org/abs/2511.21016) layers, primed from [Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) using the [Hybrid Model Factory](https://github.com/awslabs/hybrid-model-factory) Priming pipeline. The model is trained for long-context reasoning and supports context lengths of 128K tokens.
22
+
23
+ GKA (pronounced as gee-ka) is a State-Space Model layer inspired by the Kalman Filter that solves an online ridge regression problem at test time, with constant
24
+ memory and linear compute cost in the sequence length.
25
+
26
+ By combining Attention with GKA, our Hybrid model achieves up to **2× faster inference** at long contexts while **closely matching the base Transformer's quality**.
27
+
28
+ ## Links
29
+
30
+ - 📄 [Gated KalmaNet paper (CVPR 2026)](https://arxiv.org/abs/2511.21016)
31
+ - 💻 [GitHub: Hybrid Model Factory](https://github.com/awslabs/hybrid-model-factory)
32
+
33
+
34
+ ## Why Hybrid?
35
+
36
+ Each Primed Hybrid model is initialized from a base Transformer by converting a portion of its Attention layers into State-Space Model (SSM) layers that maintain a fixed-size recurrent state instead of a growing KV cache. At a 50% Hybrid ratio, roughly half the KV cache (which grows linearly with sequence length) is replaced with fixed-size SSM state. The practical benefits:
37
+
38
+ - **Higher throughput at long contexts** — less memory on KV cache means more memory for batching
39
+ - **More concurrent sequences** — ~2× as many concurrent sequences before hitting memory limits
40
+ - **Growing advantage with context length** — at long contexts, Attention dominates the forward pass while SSM layers remain negligible in cost. Since the Hybrid model makes roughly half as many Attention calls as the base Transformer, the throughput advantage grows with context length
41
+
42
+ Increasing hybridization ratio, replacing more Attention layers with SSM layers, further reduces memory and increases throughput, typically at the expense of performance.
43
+
44
+ ## Model Overview
45
+
46
+ - **Type**: Causal Language Model (Hybrid Attention + SSM)
47
+ - **Base Model**: Qwen3-8B
48
+ - **Hybrid Layer Type**: Gated KalmaNet (GKA)
49
+ - **Hybrid Ratio**: 50% (18 Attention + 18 GKA layers)
50
+ - **Parameters**: ~8B
51
+ - **Context Length**: 128K natively
52
+ - **Precision**: bfloat16
53
+ - **License**: Apache 2.0
54
+
55
+ ## Benchmark Results
56
+
57
+ We consider the following Transformer as a baseline:
58
+
59
+ 1. **Qwen3-8B (thinking, from HF)**: The original Qwen model evaluated in thinking mode, which is the intended mode for reasoning tasks. This serves as the base Transformer from which we start the Priming procedure.
60
+
61
+ ### Reasoning Benchmarks
62
+
63
+ Evaluations on math reasoning (AIME24/25), science (GPQA), coding (LiveCodeBenchv5, Scicode), tool-calling (BFCLv3/v4), and instruction-following (IFBench). Evaluations are done using the [Nemo Evaluator SDK](https://docs.nvidia.com/nemo/evaluator/latest/). We have provided the evaluation configuration [examples/evaluation/nemo_reasoning_evals.yaml](https://github.com/awslabs/hybrid-model-factory/blob/main/examples/evaluation/nemo_reasoning_evals.yaml) for reproducibility. Evaluations are done at 64K generation length.
64
+
65
+ | Model | AIME24 | AIME25 | GPQA | LiveCodeBench-v5 | BFCLv4 (minus web-search) | BFCLv3 | IFBench | SciCode | Average |
66
+ |-------------------------------|------|-----------|--------|-----------|----------|------|----|-----|-----|
67
+ | Qwen3-8B (thinking, from HF) | 78.67 | 71.0 | 57.77 | 57.94 | 68.30 | 66.46 | 31.60 | 10.63 | 55.29 |
68
+ | GKA-primed-HQwen3-8B-Reasoner | 82.00 | 73.67 | 61.81 | 63.10 | 66.47 | 62.20 | 38.96 | 6.41 | 56.82 |
69
+ | GDN-primed-HQwen3-8B-Reasoner | 82.00 | 73.33 | 61.49 | 62.94 | 63.27 | 57.44 | 37.80 | 2.50 | 55.10 |
70
+
71
+ *For BFCLv4, we remove the web-search subtask and weight each task by the number of entries (test examples) for that task: \\(\text{Overall Accuracy} = \frac{\sum_i \left(\text{accuracy}_i \times \text{num\_entries}_i\right)}{\sum_i \text{num\_entries}_i}\\)*
72
+
73
+ **How close are the Hybrid models to the Transformer baseline on complex reasoning tasks?**
74
+ Our Primed Hybrid models are competitive with the Qwen3-8B (thinking, from HF) model despite [< 0.5% of the base Transformer's pre-training token budget](#training-data). In particular, **Primed GKA outperforms the Transformer baseline** by ~1.5 points on average.
75
+
76
+ **Which SSM layer type performs best?**
77
+ Primed GKA uniformly outperforms GDN across all reasoning tasks, with a +1.73 point average gain — consistent with the expressiveness order of their respective SSM layers.
78
+
79
+ ## About Gated KalmaNet (GKA)
80
+
81
+ Gated KalmaNet is a recently proposed SSM layer that is more expressive than both Mamba2 and Gated DeltaNet. GKA achieves this by employing the Kalman Filter to compute the optimal state at each time-step based on the entire past. In contrast, SSMs like Mamba2 and GDN rely on instantaneous objectives (that rely *solely* on the current input and loss estimate of the past) to compute their state.
82
+
83
+ Unlike other SSM-based hybrid layers, GKA gives you a runtime knob for trading compute against speed — with no retraining nor architecture changes. The `num_iter` parameter controls how many iterations the GKA solver runs during inference. No other hybrid layer type offers this: GDN and Mamba2 have fixed compute per layer, so their speed is fixed a priori. GKA lets you slide along the compute–latency curve per deployment, making it uniquely suited for scenarios where different endpoints or traffic tiers have different latency budgets.
84
+
85
+ For details on controlling GKA's compute–speed tradeoff at serving time via `num_iter`, see [GKA Compute Control](https://github.com/awslabs/hybrid-model-factory/blob/main/docs/Inference.md#gka-compute-control-num_iter), and for more details on the modelling choices see the [GKA paper](https://arxiv.org/abs/2511.21016).
86
+
87
+ ### Architecture Details
88
+
89
+ | Component | Details |
90
+ |-----------|---------|
91
+ | Number of Layers | 36 (18 Attention + 18 GKA) |
92
+ | Hidden Dimension | 4096 |
93
+ | Attention Heads | 32 (Q) / 8 (KV) |
94
+ | Head Dimension | 128 |
95
+ | Intermediate Dimension (FFN) | 12288 |
96
+ | Vocabulary Size | 151,936 |
97
+ | Position Encoding | RoPE (θ = 5,000,000) |
98
+ | Layer Layout | GKA layer indices were selected with our [*selective hybridization*](https://github.com/awslabs/hybrid-model-factory/blob/main/docs/LayerSelection.md) procedure |
99
+
100
+ ### Trade-off inference FLOPs for accuracy.
101
+ As discussed above, GKA offers the unique ability to adjust the inference FLOPs by tuning the `num_iter` parameter. Here we summarize long context performance with different iteration numbers.
102
+
103
+ | Model | Avg. Reasoning Performance |
104
+ |--------------------------------------------------------|----------------------------|
105
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=30`, default) | 56.82 |
106
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=10`) | 56.20 |
107
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=5`) | 55.40 |
108
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=1`) | 55.19 |
109
+ | Qwen3-8B (thinking, from HF) | 55.29 |
110
+
111
+ For most practical scenarios, we recommend setting `num_iter=10` for the best trade-off. See next section for inference gains upon reducing number of iterations.
112
+
113
+ **Note.** Interestingly, setting `num_iter=0` effectively converts the GKA model to a Gated Linear Attention (GLA) model. Thus, one can think of increasing num iters as improving upon the initial solution of the GLA model.
114
+
115
+ ### Inference Efficiency
116
+
117
+ Sustained decode throughput (tokens/s) on 8× H200 GPUs (TP=8), measured during pure decode with a saturated KV cache. Benchmarked with random data (no prefix-caching benefits). See the full [Inference guide](https://github.com/awslabs/hybrid-model-factory/blob/main/docs/Inference.md#performance-benchmarks) for methodology and additional models.
118
+
119
+ | Model | 16K | 32K | 64K | 128K |
120
+ |----------------------------------------------------------|----------------|----------------|----------------|----------------|
121
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=30`, default) | 15,892 (1.78×) | 9,159 (1.77×) | 5,173 (1.89×) | 2,736 (2.23×) |
122
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=10`) | 17,261 (1.93×) | 9,668 (1.87×) | 5,359 (1.96×) | 2,801 (2.28×) |
123
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=5`) | 17,606 (1.97×) | 9,770 (1.89×) | 5,399 (1.97×) | 2,811 (2.29×) |
124
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=1`) | 17,485 (1.95×) | 9,780 (1.89×) | 5,413 (1.98×) | 2,812 (2.29×) |
125
+ | GDN-primed-HQwen3-8B | 17,479 (1.95×) | 10,080 (1.95×) | 5,521 (2.01×) | 2,863 (2.33×) |
126
+ | Qwen3-8B (thinking, from HF) | 8,951 | 5,174 | 2,740 | 1,227 |
127
+
128
+ Mean TTFT at the Transformer's saturated batch size (Hybrid model has memory to spare):
129
+
130
+ | Model | 16K | 32K | 64K | 128K |
131
+ |----------------------------------------------------------|-------------------|-------------------|-------------------|-------------------|
132
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=30`, default) | 35,013 ms (1.26×) | 38,502 ms (1.18×) | 44,893 ms (1.06×) | 53,606 ms (0.85×) |
133
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=10`) | 33,008 ms (1.19×) | 36,334 ms (1.11×) | 42,076 ms (0.99×) | 51,404 ms (0.82×) |
134
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=5`) | 32,318 ms (1.17×) | 35,690 ms (1.09×) | 41,490 ms (0.98×) | 50,752 ms (0.81×) |
135
+ | GKA-primed-HQwen3-8B-Reasoner (`num_iter=1`) | 31,741 ms (1.14×) | 35,716 ms (1.09×) | 39,963 ms (0.94×) | 50,232 ms (0.80×) |
136
+ | GDN-primed-HQwen3-8B | 27,805 ms (1.00×) | 30,975 ms (0.95×) | 36,151 ms (0.85×) | 46,389 ms (0.74×) |
137
+ | Qwen3-8B (thinking, from HF) | 27,736 ms | 32,661 ms | 42,462 ms | 62,922 ms |
138
+
139
+ The decode throughput advantage grows with context length — from 1.78× at 16K to 2.23× at 128K — thanks to GKA layers maintaining a fixed-size recurrent state instead of a growing KV cache. TTFT crosses over at long contexts: GKA prefills 15–20% faster than the Transformer at 128K. Reducing `num_iter` progressively improves both decode and TTFT, with most of the gain coming from 30 → 10. See [Trade-off inference FLOPs for accuracy](#trade-off-inference-flops-for-accuracy) for details.
140
+
141
+ ## Usage
142
+
143
+ ### With vLLM (recommended)
144
+
145
+ Install the [Hybrid Model Factory vLLM plugin](https://github.com/awslabs/hybrid-model-factory/blob/main/docs/Inference.md#docker-recommended) in your local environment, then serve:
146
+
147
+ ```bash
148
+ vllm serve amazon/GKA-primed-HQwen3-8B-Reasoner \
149
+ --enable-prefix-caching \
150
+ --mamba-cache-mode align \
151
+ --mamba-cache-dtype float32 \
152
+ --mamba-ssm-cache-dtype float32 \
153
+ --enable-auto-tool-choice \
154
+ --tool-call-parser hermes \
155
+ --reasoning-parser qwen3
156
+ ```
157
+
158
+ Query the server:
159
+
160
+ ```bash
161
+ curl http://localhost:8000/v1/chat/completions \
162
+ -H "Content-Type: application/json" \
163
+ -d '{
164
+ "model": "amazon/GKA-primed-HQwen3-8B-Reasoner",
165
+ "messages": [
166
+ {"role": "user", "content": "What is Linear Attention in the context of LLMs?"}
167
+ ],
168
+ "temperature": 1.0,
169
+ "top_p": 1.0
170
+ }'
171
+ ```
172
+
173
+ > **Tip:** The `--mamba-cache-dtype float32` and `--mamba-ssm-cache-dtype float32` flags are important for accurate long-context generation. See the [Inference guide](https://github.com/awslabs/hybrid-model-factory/blob/main/docs/Inference.md#recommended-flags-for-hybrid-models) for details on all recommended flags.
174
+
175
+ > **Tip:** Similarly to [NVIDIA-Nemotron-3-Nano-30B-A3B-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16), for generic reasoning tasks (e.g. Math, Science) we recommend setting `temperature=1.0` and `top_p=1.0`. For tool-calling we recommend `temperature=0.6`, `top_p=0.95`.
176
+
177
+ #### Thinking Versus Non-thinking Setting
178
+
179
+ Our reasoning model supports thinking on/off modes. Whenever thinking mode is on, the model will reason for multiple tokens in a segment delimited by `<think>` and `</think>` (which is extracted by the reasoning parser) before producing a response. This is necessary for difficult queries and increases response quality at the expense of higher latency. Thinking mode is enabled by default, however thinking mode can be turned off via the chat template.
180
+
181
+ If you want to query the model with thinking mode *off*, query the model as follows:
182
+
183
+ ```bash
184
+ curl http://localhost:8000/v1/chat/completions \
185
+ -H "Content-Type: application/json" \
186
+ -d '{
187
+ "model": "amazon/GKA-primed-HQwen3-8B-Reasoner",
188
+ "messages": [
189
+ {"role": "user", "content": "What is Linear Attention in the context of LLMs?"}
190
+ ],
191
+ "chat_template_kwargs": {"enable_thinking": false}
192
+ }'
193
+ ```
194
+
195
+ ### With HuggingFace Transformers
196
+
197
+ > **Warning:** Due to the long generations produced by reasoning models, the lower latency provided by vLLM is preferred over Huggingface for evaluations and in production settings. We recommend Huggingface generation primarily for quick debugging or testing.
198
+
199
+ ```python
200
+ from transformers import AutoModelForCausalLM, AutoTokenizer
201
+ import hmf.model.hybrid_zoo.models.model_register # Register Hybrid models
202
+
203
+ model = AutoModelForCausalLM.from_pretrained(
204
+ "amazon/GKA-primed-HQwen3-8B-Reasoner", trust_remote_code=True
205
+ ).to("cuda")
206
+ tokenizer = AutoTokenizer.from_pretrained("amazon/GKA-primed-HQwen3-8B-Reasoner")
207
+
208
+ messages = [{"role": "user", "content": "What is linear attention in the context of LLMs?"}]
209
+ prompt = tokenizer.apply_chat_template(
210
+ messages, tokenize=False, add_generation_prompt=True, enable_thinking=True
211
+ )
212
+ inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
213
+ outputs = model.generate(**inputs, max_new_tokens=65536, temperature=1.0, top_p=1.0)
214
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
215
+ ```
216
+
217
+ In order to turn thinking mode off, simply specify `enable_thinking=False` when applying the chat template:
218
+ ```python
219
+ messages = [{"role": "user", "content": "What is linear attention in the context of LLMs?"}]
220
+ prompt = tokenizer.apply_chat_template(
221
+ messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
222
+ )
223
+ ```
224
+
225
+ ## Training data
226
+ These models were produced through the multi-stage Priming pipeline from [Hybrid Model Factory](https://github.com/awslabs/hybrid-model-factory). Training data spans web documents, mathematics, long-context documents, and instruction-following and reasoning examples — each targeting a different capability axis. This diversity is critical: it allows the Priming procedure to convert a base Transformer into a more memory- and compute-efficient Hybrid architecture at nearly the same level of performance, using < 0.5% of the base Transformer model's pre-training token budget.
227
+
228
+ ## Responsible AI Considerations
229
+ At Amazon, we are committed to developing AI responsibly and take a people-centric approach that prioritizes education, science, and our customers, to integrate responsible AI across the end-to-end AI lifecycle. We believe the use of AI must respect the rule of law and human rights, and we encourage the safe and responsible development of AI. When downloaded or used in accordance with [AWS Responsible AI Policy](https://aws.amazon.com/ai/responsible-ai/policy/), developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
230
+ Please report model quality, risk, security vulnerabilities or Amazon AI Concerns [here](https://pages.awscloud.com/global-ln-gc-400-ai-service-cards-contact-us-registration.html).
231
+
232
+ ## Citation
233
+
234
+ ```bibtex
235
+ @software{hybrid_model_factory,
236
+ title = {Hybrid Model Factory},
237
+ year = {2026},
238
+ url = {https://github.com/awslabs/hybrid-model-factory}
239
+ }
240
+
241
+ @inproceedings{gka2026,
242
+ title = {Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regression},
243
+ year = {2026},
244
+ booktitle = {CVPR},
245
+ url = {https://arxiv.org/abs/2511.21016}
246
+ }
247
+
248
+ ```
249
+
250
+ ## License
251
+
252
+ This model is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
chat_template.jinja ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n' }}
5
+ {%- endif %}
6
+ {%- if enable_thinking is defined and enable_thinking is false %}
7
+ {{- 'detailed thinking off\n\n' }}
8
+ {%- else %}
9
+ {{- 'detailed thinking on\n\n' }}
10
+ {%- endif %}
11
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
12
+ {%- for tool in tools %}
13
+ {{- "\n" }}
14
+ {{- tool | tojson }}
15
+ {%- endfor %}
16
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call>" }}
17
+ {{- '<|im_end|>\n' }}
18
+ {%- else %}
19
+ {{- '<|im_start|>system\n' }}
20
+ {%- if messages[0].role == 'system' %}
21
+ {{- messages[0].content + '\n' }}
22
+ {%- endif %}
23
+ {%- if enable_thinking is defined and enable_thinking is false %}
24
+ {{- 'detailed thinking off' }}
25
+ {%- else %}
26
+ {{- 'detailed thinking on' }}
27
+ {%- endif %}
28
+ {{- '<|im_end|>\n' }}
29
+ {%- endif %}
30
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
31
+ {%- for message in messages[::-1] %}
32
+ {%- set index = (messages|length - 1) - loop.index0 %}
33
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
34
+ {%- set ns.multi_step_tool = false %}
35
+ {%- set ns.last_query_index = index %}
36
+ {%- endif %}
37
+ {%- endfor %}
38
+ {%- for message in messages %}
39
+ {%- if message.content is string %}
40
+ {%- set content = message.content %}
41
+ {%- else %}
42
+ {%- set content = '' %}
43
+ {%- endif %}
44
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
45
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
46
+ {%- elif message.role == "assistant" %}
47
+ {%- set reasoning_content = '' %}
48
+ {%- if message.reasoning_content is string %}
49
+ {%- set reasoning_content = message.reasoning_content %}
50
+ {%- else %}
51
+ {%- if '</think>' in content %}
52
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
53
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
54
+ {%- endif %}
55
+ {%- endif %}
56
+ {%- if loop.index0 > ns.last_query_index %}
57
+ {%- if loop.last or (not loop.last and reasoning_content) %}
58
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
59
+ {%- else %}
60
+ {{- '<|im_start|>' + message.role + '\n' + content }}
61
+ {%- endif %}
62
+ {%- else %}
63
+ {{- '<|im_start|>' + message.role + '\n' + content }}
64
+ {%- endif %}
65
+ {%- if message.tool_calls %}
66
+ {%- for tool_call in message.tool_calls %}
67
+ {%- if (loop.first and content) or (not loop.first) %}
68
+ {{- '\n' }}
69
+ {%- endif %}
70
+ {%- if tool_call.function %}
71
+ {%- set tool_call = tool_call.function %}
72
+ {%- endif %}
73
+ {{- '<tool_call>\n{"name": "' }}
74
+ {{- tool_call.name }}
75
+ {{- '", "arguments": ' }}
76
+ {%- if tool_call.arguments is string %}
77
+ {{- tool_call.arguments }}
78
+ {%- else %}
79
+ {{- tool_call.arguments | tojson }}
80
+ {%- endif %}
81
+ {{- '}\n</tool_call>' }}
82
+ {%- endfor %}
83
+ {%- endif %}
84
+ {{- '<|im_end|>\n' }}
85
+ {%- elif message.role == "tool" %}
86
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
87
+ {{- '<|im_start|>user' }}
88
+ {%- endif %}
89
+ {{- '\n<tool_response>\n' }}
90
+ {{- content }}
91
+ {{- '\n</tool_response>' }}
92
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
93
+ {{- '<|im_end|>\n' }}
94
+ {%- endif %}
95
+ {%- endif %}
96
+ {%- endfor %}
97
+ {%- if add_generation_prompt %}
98
+ {{- '<|im_start|>assistant\n' }}
99
+ {%- if enable_thinking is defined and enable_thinking is false %}
100
+ {{- '<think>\n\n</think>\n\n' }}
101
+ {%- endif %}
102
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "HybridQwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 151645,
10
+ "gka_config": {
11
+ "bp_lambda": true,
12
+ "chunk_size": 64,
13
+ "conv_size": 4,
14
+ "gla_rescale": true,
15
+ "head_dim": 128,
16
+ "hidden_size": 4096,
17
+ "norm_eps": 1e-06,
18
+ "num_iter": 30,
19
+ "num_k_heads": 8,
20
+ "num_q_heads": 32,
21
+ "num_v_heads": 8,
22
+ "ridge_strength": 0.02,
23
+ "solver_type": "chebyshev",
24
+ "use_alpha_connection": true,
25
+ "use_beta_gate": true,
26
+ "use_forgetting_gate": true,
27
+ "use_forgetting_gate_kk": true,
28
+ "use_gate": true,
29
+ "use_v_conv": true
30
+ },
31
+ "head_dim": 128,
32
+ "hidden_act": "silu",
33
+ "hidden_size": 4096,
34
+ "hybrid_override_pattern": "*-GKA-GKA-GKA-GKA-GKA-GKA-*-*-GKA-GKA-GKA-*-*-*-*-*-*-*-*-*-*-*-*-*-*-GKA-GKA-GKA-*-GKA-GKA-GKA-GKA-GKA-GKA",
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 12288,
37
+ "layer_types": [
38
+ "*",
39
+ "GKA",
40
+ "GKA",
41
+ "GKA",
42
+ "GKA",
43
+ "GKA",
44
+ "GKA",
45
+ "*",
46
+ "*",
47
+ "GKA",
48
+ "GKA",
49
+ "GKA",
50
+ "*",
51
+ "*",
52
+ "*",
53
+ "*",
54
+ "*",
55
+ "*",
56
+ "*",
57
+ "*",
58
+ "*",
59
+ "*",
60
+ "*",
61
+ "*",
62
+ "*",
63
+ "*",
64
+ "GKA",
65
+ "GKA",
66
+ "GKA",
67
+ "*",
68
+ "GKA",
69
+ "GKA",
70
+ "GKA",
71
+ "GKA",
72
+ "GKA",
73
+ "GKA"
74
+ ],
75
+ "max_position_embeddings": 131072,
76
+ "max_window_layers": 36,
77
+ "model_type": "hybrid_qwen3",
78
+ "num_attention_heads": 32,
79
+ "num_hidden_layers": 36,
80
+ "num_key_value_heads": 8,
81
+ "pad_token_id": null,
82
+ "rms_norm_eps": 1e-06,
83
+ "rope_parameters": {
84
+ "rope_theta": 5000000,
85
+ "rope_type": "default"
86
+ },
87
+ "sliding_window": null,
88
+ "tie_word_embeddings": false,
89
+ "transformers_version": "5.3.0",
90
+ "use_cache": false,
91
+ "use_sliding_window": false,
92
+ "vocab_size": 151936
93
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": 151645,
5
+ "transformers_version": "4.51.3"
6
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:210c959a9288e52671d0cff6f905d7c44fd7f2cd39fe8855f322847c77362fd2
3
+ size 4924069920
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38c5dcc6e882539c0438f31824d5a34561da4805c68a46c7bf4043b7320982cc
3
+ size 4918436784
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e59476cbb28ebd240ec4fc9ee6dd22370aed2cf5554fa28159c5ad36e008a93
3
+ size 4996475736
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3ce0a1a4716c42d8b3165c1d26cd5d7cfaa562205fbe1bece82b9d910276a65
3
+ size 2161573264
model.safetensors.index.json ADDED
@@ -0,0 +1,586 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 17000491008
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
19
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.gka.A_log": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.gka.a_proj.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.1.gka.b_proj.bias": "model-00001-of-00004.safetensors",
28
+ "model.layers.1.gka.b_proj.weight": "model-00001-of-00004.safetensors",
29
+ "model.layers.1.gka.dt_bias": "model-00001-of-00004.safetensors",
30
+ "model.layers.1.gka.g_proj.weight": "model-00001-of-00004.safetensors",
31
+ "model.layers.1.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.1.gka.k_proj.weight": "model-00001-of-00004.safetensors",
33
+ "model.layers.1.gka.o_norm.weight": "model-00001-of-00004.safetensors",
34
+ "model.layers.1.gka.o_proj.weight": "model-00001-of-00004.safetensors",
35
+ "model.layers.1.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
36
+ "model.layers.1.gka.q_proj.weight": "model-00001-of-00004.safetensors",
37
+ "model.layers.1.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
38
+ "model.layers.1.gka.v_proj.weight": "model-00001-of-00004.safetensors",
39
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
40
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
41
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
43
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.10.gka.A_log": "model-00002-of-00004.safetensors",
45
+ "model.layers.10.gka.a_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.10.gka.alpha_proj.bias": "model-00002-of-00004.safetensors",
47
+ "model.layers.10.gka.alpha_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.10.gka.b_proj.bias": "model-00002-of-00004.safetensors",
49
+ "model.layers.10.gka.b_proj.weight": "model-00002-of-00004.safetensors",
50
+ "model.layers.10.gka.dt_bias": "model-00002-of-00004.safetensors",
51
+ "model.layers.10.gka.g_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.10.gka.k_conv1d.weight": "model-00002-of-00004.safetensors",
53
+ "model.layers.10.gka.k_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.10.gka.o_norm.weight": "model-00002-of-00004.safetensors",
55
+ "model.layers.10.gka.o_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.10.gka.q_conv1d.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.10.gka.q_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.10.gka.v_conv1d.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.10.gka.v_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
62
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
65
+ "model.layers.11.gka.A_log": "model-00002-of-00004.safetensors",
66
+ "model.layers.11.gka.a_proj.weight": "model-00002-of-00004.safetensors",
67
+ "model.layers.11.gka.alpha_proj.bias": "model-00002-of-00004.safetensors",
68
+ "model.layers.11.gka.alpha_proj.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.11.gka.b_proj.bias": "model-00002-of-00004.safetensors",
70
+ "model.layers.11.gka.b_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.11.gka.dt_bias": "model-00002-of-00004.safetensors",
72
+ "model.layers.11.gka.g_proj.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.11.gka.k_conv1d.weight": "model-00002-of-00004.safetensors",
74
+ "model.layers.11.gka.k_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.11.gka.o_norm.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.11.gka.o_proj.weight": "model-00002-of-00004.safetensors",
77
+ "model.layers.11.gka.q_conv1d.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.11.gka.q_proj.weight": "model-00002-of-00004.safetensors",
79
+ "model.layers.11.gka.v_conv1d.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.11.gka.v_proj.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
86
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.12.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
89
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.12.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
91
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
98
+ "model.layers.13.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
101
+ "model.layers.13.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
103
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.14.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
110
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.14.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
113
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
115
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
117
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
118
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
119
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
120
+ "model.layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
121
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
122
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
123
+ "model.layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
124
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
125
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
127
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
129
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
130
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.16.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
133
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
134
+ "model.layers.16.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
137
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
139
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
141
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
142
+ "model.layers.17.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
143
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
144
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
145
+ "model.layers.17.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
146
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
147
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
148
+ "model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
149
+ "model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
150
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
151
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
152
+ "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
153
+ "model.layers.18.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
154
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
155
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
156
+ "model.layers.18.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
157
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
158
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
159
+ "model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
160
+ "model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
161
+ "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
162
+ "model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
163
+ "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
164
+ "model.layers.19.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
165
+ "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
166
+ "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
167
+ "model.layers.19.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
168
+ "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
169
+ "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
170
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
171
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
172
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
173
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
174
+ "model.layers.2.gka.A_log": "model-00001-of-00004.safetensors",
175
+ "model.layers.2.gka.a_proj.weight": "model-00001-of-00004.safetensors",
176
+ "model.layers.2.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
177
+ "model.layers.2.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
178
+ "model.layers.2.gka.b_proj.bias": "model-00001-of-00004.safetensors",
179
+ "model.layers.2.gka.b_proj.weight": "model-00001-of-00004.safetensors",
180
+ "model.layers.2.gka.dt_bias": "model-00001-of-00004.safetensors",
181
+ "model.layers.2.gka.g_proj.weight": "model-00001-of-00004.safetensors",
182
+ "model.layers.2.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
183
+ "model.layers.2.gka.k_proj.weight": "model-00001-of-00004.safetensors",
184
+ "model.layers.2.gka.o_norm.weight": "model-00001-of-00004.safetensors",
185
+ "model.layers.2.gka.o_proj.weight": "model-00001-of-00004.safetensors",
186
+ "model.layers.2.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
187
+ "model.layers.2.gka.q_proj.weight": "model-00001-of-00004.safetensors",
188
+ "model.layers.2.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
189
+ "model.layers.2.gka.v_proj.weight": "model-00001-of-00004.safetensors",
190
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
191
+ "model.layers.20.input_layernorm.weight": "model-00002-of-00004.safetensors",
192
+ "model.layers.20.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
193
+ "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
194
+ "model.layers.20.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
195
+ "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
196
+ "model.layers.20.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
197
+ "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
198
+ "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
199
+ "model.layers.20.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
200
+ "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
201
+ "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
202
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
205
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
206
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.21.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
208
+ "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
209
+ "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
210
+ "model.layers.21.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
211
+ "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
212
+ "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
213
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
216
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
217
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
218
+ "model.layers.22.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
219
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
220
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
221
+ "model.layers.22.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
222
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
223
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
224
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
230
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
233
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
235
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.24.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
242
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.24.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
245
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
247
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.25.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
254
+ "model.layers.25.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
257
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
259
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
261
+ "model.layers.26.gka.A_log": "model-00003-of-00004.safetensors",
262
+ "model.layers.26.gka.a_proj.weight": "model-00003-of-00004.safetensors",
263
+ "model.layers.26.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
264
+ "model.layers.26.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
265
+ "model.layers.26.gka.b_proj.bias": "model-00003-of-00004.safetensors",
266
+ "model.layers.26.gka.b_proj.weight": "model-00003-of-00004.safetensors",
267
+ "model.layers.26.gka.dt_bias": "model-00003-of-00004.safetensors",
268
+ "model.layers.26.gka.g_proj.weight": "model-00003-of-00004.safetensors",
269
+ "model.layers.26.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
270
+ "model.layers.26.gka.k_proj.weight": "model-00003-of-00004.safetensors",
271
+ "model.layers.26.gka.o_norm.weight": "model-00003-of-00004.safetensors",
272
+ "model.layers.26.gka.o_proj.weight": "model-00003-of-00004.safetensors",
273
+ "model.layers.26.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
274
+ "model.layers.26.gka.q_proj.weight": "model-00003-of-00004.safetensors",
275
+ "model.layers.26.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
276
+ "model.layers.26.gka.v_proj.weight": "model-00003-of-00004.safetensors",
277
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
278
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
279
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
280
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
281
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
282
+ "model.layers.27.gka.A_log": "model-00003-of-00004.safetensors",
283
+ "model.layers.27.gka.a_proj.weight": "model-00003-of-00004.safetensors",
284
+ "model.layers.27.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
285
+ "model.layers.27.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
286
+ "model.layers.27.gka.b_proj.bias": "model-00003-of-00004.safetensors",
287
+ "model.layers.27.gka.b_proj.weight": "model-00003-of-00004.safetensors",
288
+ "model.layers.27.gka.dt_bias": "model-00003-of-00004.safetensors",
289
+ "model.layers.27.gka.g_proj.weight": "model-00003-of-00004.safetensors",
290
+ "model.layers.27.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
291
+ "model.layers.27.gka.k_proj.weight": "model-00003-of-00004.safetensors",
292
+ "model.layers.27.gka.o_norm.weight": "model-00003-of-00004.safetensors",
293
+ "model.layers.27.gka.o_proj.weight": "model-00003-of-00004.safetensors",
294
+ "model.layers.27.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
295
+ "model.layers.27.gka.q_proj.weight": "model-00003-of-00004.safetensors",
296
+ "model.layers.27.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
297
+ "model.layers.27.gka.v_proj.weight": "model-00003-of-00004.safetensors",
298
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
299
+ "model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
300
+ "model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
301
+ "model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
302
+ "model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
303
+ "model.layers.28.gka.A_log": "model-00003-of-00004.safetensors",
304
+ "model.layers.28.gka.a_proj.weight": "model-00003-of-00004.safetensors",
305
+ "model.layers.28.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
306
+ "model.layers.28.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
307
+ "model.layers.28.gka.b_proj.bias": "model-00003-of-00004.safetensors",
308
+ "model.layers.28.gka.b_proj.weight": "model-00003-of-00004.safetensors",
309
+ "model.layers.28.gka.dt_bias": "model-00003-of-00004.safetensors",
310
+ "model.layers.28.gka.g_proj.weight": "model-00003-of-00004.safetensors",
311
+ "model.layers.28.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
312
+ "model.layers.28.gka.k_proj.weight": "model-00003-of-00004.safetensors",
313
+ "model.layers.28.gka.o_norm.weight": "model-00003-of-00004.safetensors",
314
+ "model.layers.28.gka.o_proj.weight": "model-00003-of-00004.safetensors",
315
+ "model.layers.28.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
316
+ "model.layers.28.gka.q_proj.weight": "model-00003-of-00004.safetensors",
317
+ "model.layers.28.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
318
+ "model.layers.28.gka.v_proj.weight": "model-00003-of-00004.safetensors",
319
+ "model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
320
+ "model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
321
+ "model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
322
+ "model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
323
+ "model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
324
+ "model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
325
+ "model.layers.29.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
326
+ "model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
327
+ "model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
328
+ "model.layers.29.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
329
+ "model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
330
+ "model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
331
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
332
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
333
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
334
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
335
+ "model.layers.3.gka.A_log": "model-00001-of-00004.safetensors",
336
+ "model.layers.3.gka.a_proj.weight": "model-00001-of-00004.safetensors",
337
+ "model.layers.3.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
338
+ "model.layers.3.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
339
+ "model.layers.3.gka.b_proj.bias": "model-00001-of-00004.safetensors",
340
+ "model.layers.3.gka.b_proj.weight": "model-00001-of-00004.safetensors",
341
+ "model.layers.3.gka.dt_bias": "model-00001-of-00004.safetensors",
342
+ "model.layers.3.gka.g_proj.weight": "model-00001-of-00004.safetensors",
343
+ "model.layers.3.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
344
+ "model.layers.3.gka.k_proj.weight": "model-00001-of-00004.safetensors",
345
+ "model.layers.3.gka.o_norm.weight": "model-00001-of-00004.safetensors",
346
+ "model.layers.3.gka.o_proj.weight": "model-00001-of-00004.safetensors",
347
+ "model.layers.3.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
348
+ "model.layers.3.gka.q_proj.weight": "model-00001-of-00004.safetensors",
349
+ "model.layers.3.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
350
+ "model.layers.3.gka.v_proj.weight": "model-00001-of-00004.safetensors",
351
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
352
+ "model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
353
+ "model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
354
+ "model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
355
+ "model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
356
+ "model.layers.30.gka.A_log": "model-00003-of-00004.safetensors",
357
+ "model.layers.30.gka.a_proj.weight": "model-00003-of-00004.safetensors",
358
+ "model.layers.30.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
359
+ "model.layers.30.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
360
+ "model.layers.30.gka.b_proj.bias": "model-00003-of-00004.safetensors",
361
+ "model.layers.30.gka.b_proj.weight": "model-00003-of-00004.safetensors",
362
+ "model.layers.30.gka.dt_bias": "model-00003-of-00004.safetensors",
363
+ "model.layers.30.gka.g_proj.weight": "model-00003-of-00004.safetensors",
364
+ "model.layers.30.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
365
+ "model.layers.30.gka.k_proj.weight": "model-00003-of-00004.safetensors",
366
+ "model.layers.30.gka.o_norm.weight": "model-00003-of-00004.safetensors",
367
+ "model.layers.30.gka.o_proj.weight": "model-00003-of-00004.safetensors",
368
+ "model.layers.30.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
369
+ "model.layers.30.gka.q_proj.weight": "model-00003-of-00004.safetensors",
370
+ "model.layers.30.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
371
+ "model.layers.30.gka.v_proj.weight": "model-00003-of-00004.safetensors",
372
+ "model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
373
+ "model.layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
374
+ "model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
375
+ "model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
376
+ "model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
377
+ "model.layers.31.gka.A_log": "model-00003-of-00004.safetensors",
378
+ "model.layers.31.gka.a_proj.weight": "model-00003-of-00004.safetensors",
379
+ "model.layers.31.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
380
+ "model.layers.31.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
381
+ "model.layers.31.gka.b_proj.bias": "model-00003-of-00004.safetensors",
382
+ "model.layers.31.gka.b_proj.weight": "model-00003-of-00004.safetensors",
383
+ "model.layers.31.gka.dt_bias": "model-00003-of-00004.safetensors",
384
+ "model.layers.31.gka.g_proj.weight": "model-00003-of-00004.safetensors",
385
+ "model.layers.31.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
386
+ "model.layers.31.gka.k_proj.weight": "model-00003-of-00004.safetensors",
387
+ "model.layers.31.gka.o_norm.weight": "model-00003-of-00004.safetensors",
388
+ "model.layers.31.gka.o_proj.weight": "model-00003-of-00004.safetensors",
389
+ "model.layers.31.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
390
+ "model.layers.31.gka.q_proj.weight": "model-00003-of-00004.safetensors",
391
+ "model.layers.31.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
392
+ "model.layers.31.gka.v_proj.weight": "model-00003-of-00004.safetensors",
393
+ "model.layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
394
+ "model.layers.32.input_layernorm.weight": "model-00003-of-00004.safetensors",
395
+ "model.layers.32.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
396
+ "model.layers.32.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
397
+ "model.layers.32.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
398
+ "model.layers.32.gka.A_log": "model-00003-of-00004.safetensors",
399
+ "model.layers.32.gka.a_proj.weight": "model-00003-of-00004.safetensors",
400
+ "model.layers.32.gka.alpha_proj.bias": "model-00003-of-00004.safetensors",
401
+ "model.layers.32.gka.alpha_proj.weight": "model-00003-of-00004.safetensors",
402
+ "model.layers.32.gka.b_proj.bias": "model-00003-of-00004.safetensors",
403
+ "model.layers.32.gka.b_proj.weight": "model-00003-of-00004.safetensors",
404
+ "model.layers.32.gka.dt_bias": "model-00003-of-00004.safetensors",
405
+ "model.layers.32.gka.g_proj.weight": "model-00003-of-00004.safetensors",
406
+ "model.layers.32.gka.k_conv1d.weight": "model-00003-of-00004.safetensors",
407
+ "model.layers.32.gka.k_proj.weight": "model-00003-of-00004.safetensors",
408
+ "model.layers.32.gka.o_norm.weight": "model-00003-of-00004.safetensors",
409
+ "model.layers.32.gka.o_proj.weight": "model-00003-of-00004.safetensors",
410
+ "model.layers.32.gka.q_conv1d.weight": "model-00003-of-00004.safetensors",
411
+ "model.layers.32.gka.q_proj.weight": "model-00003-of-00004.safetensors",
412
+ "model.layers.32.gka.v_conv1d.weight": "model-00003-of-00004.safetensors",
413
+ "model.layers.32.gka.v_proj.weight": "model-00003-of-00004.safetensors",
414
+ "model.layers.32.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
415
+ "model.layers.33.input_layernorm.weight": "model-00003-of-00004.safetensors",
416
+ "model.layers.33.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
417
+ "model.layers.33.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
418
+ "model.layers.33.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
419
+ "model.layers.33.gka.A_log": "model-00003-of-00004.safetensors",
420
+ "model.layers.33.gka.a_proj.weight": "model-00004-of-00004.safetensors",
421
+ "model.layers.33.gka.alpha_proj.bias": "model-00004-of-00004.safetensors",
422
+ "model.layers.33.gka.alpha_proj.weight": "model-00004-of-00004.safetensors",
423
+ "model.layers.33.gka.b_proj.bias": "model-00004-of-00004.safetensors",
424
+ "model.layers.33.gka.b_proj.weight": "model-00004-of-00004.safetensors",
425
+ "model.layers.33.gka.dt_bias": "model-00003-of-00004.safetensors",
426
+ "model.layers.33.gka.g_proj.weight": "model-00004-of-00004.safetensors",
427
+ "model.layers.33.gka.k_conv1d.weight": "model-00004-of-00004.safetensors",
428
+ "model.layers.33.gka.k_proj.weight": "model-00003-of-00004.safetensors",
429
+ "model.layers.33.gka.o_norm.weight": "model-00004-of-00004.safetensors",
430
+ "model.layers.33.gka.o_proj.weight": "model-00004-of-00004.safetensors",
431
+ "model.layers.33.gka.q_conv1d.weight": "model-00004-of-00004.safetensors",
432
+ "model.layers.33.gka.q_proj.weight": "model-00003-of-00004.safetensors",
433
+ "model.layers.33.gka.v_conv1d.weight": "model-00004-of-00004.safetensors",
434
+ "model.layers.33.gka.v_proj.weight": "model-00004-of-00004.safetensors",
435
+ "model.layers.33.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
436
+ "model.layers.34.input_layernorm.weight": "model-00004-of-00004.safetensors",
437
+ "model.layers.34.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
438
+ "model.layers.34.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
439
+ "model.layers.34.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
440
+ "model.layers.34.gka.A_log": "model-00004-of-00004.safetensors",
441
+ "model.layers.34.gka.a_proj.weight": "model-00004-of-00004.safetensors",
442
+ "model.layers.34.gka.alpha_proj.bias": "model-00004-of-00004.safetensors",
443
+ "model.layers.34.gka.alpha_proj.weight": "model-00004-of-00004.safetensors",
444
+ "model.layers.34.gka.b_proj.bias": "model-00004-of-00004.safetensors",
445
+ "model.layers.34.gka.b_proj.weight": "model-00004-of-00004.safetensors",
446
+ "model.layers.34.gka.dt_bias": "model-00004-of-00004.safetensors",
447
+ "model.layers.34.gka.g_proj.weight": "model-00004-of-00004.safetensors",
448
+ "model.layers.34.gka.k_conv1d.weight": "model-00004-of-00004.safetensors",
449
+ "model.layers.34.gka.k_proj.weight": "model-00004-of-00004.safetensors",
450
+ "model.layers.34.gka.o_norm.weight": "model-00004-of-00004.safetensors",
451
+ "model.layers.34.gka.o_proj.weight": "model-00004-of-00004.safetensors",
452
+ "model.layers.34.gka.q_conv1d.weight": "model-00004-of-00004.safetensors",
453
+ "model.layers.34.gka.q_proj.weight": "model-00004-of-00004.safetensors",
454
+ "model.layers.34.gka.v_conv1d.weight": "model-00004-of-00004.safetensors",
455
+ "model.layers.34.gka.v_proj.weight": "model-00004-of-00004.safetensors",
456
+ "model.layers.34.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
457
+ "model.layers.35.input_layernorm.weight": "model-00004-of-00004.safetensors",
458
+ "model.layers.35.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
459
+ "model.layers.35.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
460
+ "model.layers.35.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
461
+ "model.layers.35.gka.A_log": "model-00004-of-00004.safetensors",
462
+ "model.layers.35.gka.a_proj.weight": "model-00004-of-00004.safetensors",
463
+ "model.layers.35.gka.alpha_proj.bias": "model-00004-of-00004.safetensors",
464
+ "model.layers.35.gka.alpha_proj.weight": "model-00004-of-00004.safetensors",
465
+ "model.layers.35.gka.b_proj.bias": "model-00004-of-00004.safetensors",
466
+ "model.layers.35.gka.b_proj.weight": "model-00004-of-00004.safetensors",
467
+ "model.layers.35.gka.dt_bias": "model-00004-of-00004.safetensors",
468
+ "model.layers.35.gka.g_proj.weight": "model-00004-of-00004.safetensors",
469
+ "model.layers.35.gka.k_conv1d.weight": "model-00004-of-00004.safetensors",
470
+ "model.layers.35.gka.k_proj.weight": "model-00004-of-00004.safetensors",
471
+ "model.layers.35.gka.o_norm.weight": "model-00004-of-00004.safetensors",
472
+ "model.layers.35.gka.o_proj.weight": "model-00004-of-00004.safetensors",
473
+ "model.layers.35.gka.q_conv1d.weight": "model-00004-of-00004.safetensors",
474
+ "model.layers.35.gka.q_proj.weight": "model-00004-of-00004.safetensors",
475
+ "model.layers.35.gka.v_conv1d.weight": "model-00004-of-00004.safetensors",
476
+ "model.layers.35.gka.v_proj.weight": "model-00004-of-00004.safetensors",
477
+ "model.layers.35.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
478
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
479
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
480
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
481
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
482
+ "model.layers.4.gka.A_log": "model-00001-of-00004.safetensors",
483
+ "model.layers.4.gka.a_proj.weight": "model-00001-of-00004.safetensors",
484
+ "model.layers.4.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
485
+ "model.layers.4.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
486
+ "model.layers.4.gka.b_proj.bias": "model-00001-of-00004.safetensors",
487
+ "model.layers.4.gka.b_proj.weight": "model-00001-of-00004.safetensors",
488
+ "model.layers.4.gka.dt_bias": "model-00001-of-00004.safetensors",
489
+ "model.layers.4.gka.g_proj.weight": "model-00001-of-00004.safetensors",
490
+ "model.layers.4.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
491
+ "model.layers.4.gka.k_proj.weight": "model-00001-of-00004.safetensors",
492
+ "model.layers.4.gka.o_norm.weight": "model-00001-of-00004.safetensors",
493
+ "model.layers.4.gka.o_proj.weight": "model-00001-of-00004.safetensors",
494
+ "model.layers.4.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
495
+ "model.layers.4.gka.q_proj.weight": "model-00001-of-00004.safetensors",
496
+ "model.layers.4.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
497
+ "model.layers.4.gka.v_proj.weight": "model-00001-of-00004.safetensors",
498
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
499
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
500
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
501
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
502
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
503
+ "model.layers.5.gka.A_log": "model-00001-of-00004.safetensors",
504
+ "model.layers.5.gka.a_proj.weight": "model-00001-of-00004.safetensors",
505
+ "model.layers.5.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
506
+ "model.layers.5.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
507
+ "model.layers.5.gka.b_proj.bias": "model-00001-of-00004.safetensors",
508
+ "model.layers.5.gka.b_proj.weight": "model-00001-of-00004.safetensors",
509
+ "model.layers.5.gka.dt_bias": "model-00001-of-00004.safetensors",
510
+ "model.layers.5.gka.g_proj.weight": "model-00001-of-00004.safetensors",
511
+ "model.layers.5.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
512
+ "model.layers.5.gka.k_proj.weight": "model-00001-of-00004.safetensors",
513
+ "model.layers.5.gka.o_norm.weight": "model-00001-of-00004.safetensors",
514
+ "model.layers.5.gka.o_proj.weight": "model-00001-of-00004.safetensors",
515
+ "model.layers.5.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
516
+ "model.layers.5.gka.q_proj.weight": "model-00001-of-00004.safetensors",
517
+ "model.layers.5.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
518
+ "model.layers.5.gka.v_proj.weight": "model-00001-of-00004.safetensors",
519
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
520
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
521
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
522
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
523
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
524
+ "model.layers.6.gka.A_log": "model-00001-of-00004.safetensors",
525
+ "model.layers.6.gka.a_proj.weight": "model-00001-of-00004.safetensors",
526
+ "model.layers.6.gka.alpha_proj.bias": "model-00001-of-00004.safetensors",
527
+ "model.layers.6.gka.alpha_proj.weight": "model-00001-of-00004.safetensors",
528
+ "model.layers.6.gka.b_proj.bias": "model-00001-of-00004.safetensors",
529
+ "model.layers.6.gka.b_proj.weight": "model-00001-of-00004.safetensors",
530
+ "model.layers.6.gka.dt_bias": "model-00001-of-00004.safetensors",
531
+ "model.layers.6.gka.g_proj.weight": "model-00001-of-00004.safetensors",
532
+ "model.layers.6.gka.k_conv1d.weight": "model-00001-of-00004.safetensors",
533
+ "model.layers.6.gka.k_proj.weight": "model-00001-of-00004.safetensors",
534
+ "model.layers.6.gka.o_norm.weight": "model-00001-of-00004.safetensors",
535
+ "model.layers.6.gka.o_proj.weight": "model-00001-of-00004.safetensors",
536
+ "model.layers.6.gka.q_conv1d.weight": "model-00001-of-00004.safetensors",
537
+ "model.layers.6.gka.q_proj.weight": "model-00001-of-00004.safetensors",
538
+ "model.layers.6.gka.v_conv1d.weight": "model-00001-of-00004.safetensors",
539
+ "model.layers.6.gka.v_proj.weight": "model-00001-of-00004.safetensors",
540
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
541
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
542
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
543
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
544
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
545
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
546
+ "model.layers.7.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
547
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
548
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
549
+ "model.layers.7.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
550
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
551
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
552
+ "model.layers.8.input_layernorm.weight": "model-00001-of-00004.safetensors",
553
+ "model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
554
+ "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
555
+ "model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
556
+ "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
557
+ "model.layers.8.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
558
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
559
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
560
+ "model.layers.8.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
561
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
562
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
563
+ "model.layers.9.input_layernorm.weight": "model-00001-of-00004.safetensors",
564
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
565
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
566
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
567
+ "model.layers.9.gka.A_log": "model-00002-of-00004.safetensors",
568
+ "model.layers.9.gka.a_proj.weight": "model-00002-of-00004.safetensors",
569
+ "model.layers.9.gka.alpha_proj.bias": "model-00002-of-00004.safetensors",
570
+ "model.layers.9.gka.alpha_proj.weight": "model-00002-of-00004.safetensors",
571
+ "model.layers.9.gka.b_proj.bias": "model-00002-of-00004.safetensors",
572
+ "model.layers.9.gka.b_proj.weight": "model-00002-of-00004.safetensors",
573
+ "model.layers.9.gka.dt_bias": "model-00002-of-00004.safetensors",
574
+ "model.layers.9.gka.g_proj.weight": "model-00002-of-00004.safetensors",
575
+ "model.layers.9.gka.k_conv1d.weight": "model-00002-of-00004.safetensors",
576
+ "model.layers.9.gka.k_proj.weight": "model-00002-of-00004.safetensors",
577
+ "model.layers.9.gka.o_norm.weight": "model-00002-of-00004.safetensors",
578
+ "model.layers.9.gka.o_proj.weight": "model-00002-of-00004.safetensors",
579
+ "model.layers.9.gka.q_conv1d.weight": "model-00002-of-00004.safetensors",
580
+ "model.layers.9.gka.q_proj.weight": "model-00002-of-00004.safetensors",
581
+ "model.layers.9.gka.v_conv1d.weight": "model-00002-of-00004.safetensors",
582
+ "model.layers.9.gka.v_proj.weight": "model-00002-of-00004.safetensors",
583
+ "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
584
+ "model.norm.weight": "model-00004-of-00004.safetensors"
585
+ }
586
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": true,
9
+ "model_max_length": 131072,
10
+ "pad_token": "<|endoftext|>",
11
+ "padding_side": "right",
12
+ "split_special_tokens": false,
13
+ "tokenizer_class": "Qwen2Tokenizer",
14
+ "unk_token": null
15
+ }