danielhanchen commited on
Commit
2319235
·
verified ·
1 Parent(s): 745bbdc

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,629 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - ibm-granite/granite-4.0-h-small
4
+ license: apache-2.0
5
+ library_name: transformers
6
+ tags:
7
+ - language
8
+ - unsloth
9
+ - granite-4.0
10
+ ---
11
+ <div>
12
+ <p style="margin-top: 0;margin-bottom: 0;">
13
+ <em><a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0</a> achieves superior accuracy & outperforms other leading quants.</em>
14
+ </p>
15
+ <div style="display: flex; gap: 5px; align-items: center; ">
16
+ <a href="https://github.com/unslothai/unsloth/">
17
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
18
+ </a>
19
+ <a href="https://discord.gg/unsloth">
20
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
21
+ </a>
22
+ <a href="https://docs.unsloth.ai/">
23
+ <img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
24
+ </a>
25
+ </div>
26
+ </div>
27
+
28
+
29
+ # Granite-4.0-H-Small
30
+
31
+ **Model Summary:**
32
+ Granite-4.0-H-Small is a 32B parameter long-context instruct model finetuned from *Granite-4.0-H-Small-Base* using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets. This model is developed using a diverse set of techniques with a structured chat format, including supervised finetuning, model alignment using reinforcement learning, and model merging. Granite 4.0 instruct models feature improved *instruction following (IF)* and *tool-calling* capabilities, making them more effective in enterprise applications.
33
+
34
+ - **Developers:** Granite Team, IBM
35
+ - **HF Collection:** [Granite 4.0 Language Models HF Collection](https://huggingface.co/collections/ibm-granite/granite-40-language-models-6811a18b820ef362d9e5a82c)
36
+ - **GitHub Repository:** [ibm-granite/granite-4.0-language-models](https://github.com/ibm-granite/granite-4.0-language-models)
37
+ - **Website**: [Granite Docs](https://www.ibm.com/granite/docs/)
38
+ - **Release Date**: October 2nd, 2025
39
+ - **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
40
+
41
+ **Supported Languages:**
42
+ English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite 4.0 models for languages beyond these languages.
43
+
44
+ **Intended use:**
45
+ The model is designed to respond to general instructions and can be used to build AI assistants for multiple domains, including business applications.
46
+
47
+ *Capabilities*
48
+ * Summarization
49
+ * Text classification
50
+ * Text extraction
51
+ * Question-answering
52
+ * Retrieval Augmented Generation (RAG)
53
+ * Code related tasks
54
+ * Function-calling tasks
55
+ * Multilingual dialog use cases
56
+ * Fill-In-the-Middle (FIM) code completions
57
+
58
+ <!-- <todo>Need to test the examples. (especially the tool calling and RAG ones)</todo>
59
+ -->
60
+
61
+ **Generation:**
62
+ This is a simple example of how to use Granite-4.0-H-Small model.
63
+
64
+ Install the following libraries:
65
+
66
+ ```shell
67
+ pip install torch torchvision torchaudio
68
+ pip install accelerate
69
+ pip install transformers
70
+ ```
71
+ Then, copy the snippet from the section that is relevant for your use case.
72
+
73
+ ```python
74
+ import torch
75
+ from transformers import AutoModelForCausalLM, AutoTokenizer
76
+
77
+ device = "cuda"
78
+ model_path = "ibm-granite/granite-4.0-h-small"
79
+ tokenizer = AutoTokenizer.from_pretrained(model_path)
80
+ # drop device_map if running on CPU
81
+ model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
82
+ model.eval()
83
+ # change input text as desired
84
+ chat = [
85
+ { "role": "user", "content": "Please list one IBM Research laboratory located in the United States. You should only output its name and location." },
86
+ ]
87
+ chat = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
88
+ # tokenize the text
89
+ input_tokens = tokenizer(chat, return_tensors="pt").to(device)
90
+ # generate output tokens
91
+ output = model.generate(**input_tokens,
92
+ max_new_tokens=100)
93
+ # decode output tokens into text
94
+ output = tokenizer.batch_decode(output)
95
+ # print output
96
+ print(output[0])
97
+ ```
98
+
99
+ Expected output:
100
+ ```shell
101
+ <|start_of_role|>user<|end_of_role|>Please list one IBM Research laboratory located in the United States. You should only output its name and location.<|end_of_text|>
102
+ <|start_of_role|>assistant<|end_of_role|>Almaden Research Center, San Jose, California<|end_of_text|>
103
+ ```
104
+
105
+ **Tool-calling:**
106
+ Granite-4.0-H-Small comes with enhanced tool calling capabilities, enabling seamless integration with external functions and APIs. To define a list of tools please follow OpenAI's function [definition schema](https://platform.openai.com/docs/guides/function-calling?api-mode=responses#defining-functions).
107
+
108
+ This is an example of how to use Granite-4.0-H-Small model tool-calling ability:
109
+
110
+ ```python
111
+ tools = [
112
+ {
113
+ "type": "function",
114
+ "function": {
115
+ "name": "get_current_weather",
116
+ "description": "Get the current weather for a specified city.",
117
+ "parameters": {
118
+ "type": "object",
119
+ "properties": {
120
+ "city": {
121
+ "type": "string",
122
+ "description": "Name of the city"
123
+ }
124
+ },
125
+ "required": ["city"]
126
+ }
127
+ }
128
+ }
129
+ ]
130
+
131
+ # change input text as desired
132
+ chat = [
133
+ { "role": "user", "content": "What's the weather like in Boston right now?" },
134
+ ]
135
+ chat = tokenizer.apply_chat_template(chat, \
136
+ tokenize=False, \
137
+ tools=tools, \
138
+ add_generation_prompt=True)
139
+ # tokenize the text
140
+ input_tokens = tokenizer(chat, return_tensors="pt").to(device)
141
+ # generate output tokens
142
+ output = model.generate(**input_tokens,
143
+ max_new_tokens=100)
144
+ # decode output tokens into text
145
+ output = tokenizer.batch_decode(output)
146
+ # print output
147
+ print(output[0])
148
+ ```
149
+
150
+ Expected output:
151
+ ```shell
152
+ <|start_of_role|>system<|end_of_role|>You are a helpful assistant with access to the following tools. You may call one or more tools to assist with the user query.
153
+
154
+ You are provided with function signatures within <tools></tools> XML tags:
155
+ - <tools>
156
+ - unsloth
157
+ {"type": "function", "function": {"name": "get_current_weather", "description": "Get the current weather for a specified city.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "Name of the city"}}, "required": ["city"]}}}
158
+ </tools>
159
+
160
+ For each tool call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
161
+ - <tool_call>
162
+ - unsloth
163
+ {"name": <function-name>, "arguments": <args-json-object>}
164
+ </tool_call>. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.<|end_of_text|>
165
+ <|start_of_role|>user<|end_of_role|>What's the weather like in Boston right now?<|end_of_text|>
166
+ <|start_of_role|>assistant<|end_of_role|><tool_call>
167
+ {"name": "get_current_weather", "arguments": {"city": "Boston"}}
168
+ </tool_call><|end_of_text|>
169
+ ```
170
+
171
+ <!-- **Retrieval Augmented Generation:**
172
+ *Coming soon* -->
173
+
174
+ **Evaluation Results:**
175
+
176
+ <table>
177
+ <!-- <caption><b> All Results</b></caption> -->
178
+ <thead>
179
+ <tr>
180
+ <th style="text-align:left; background-color: #001d6c; color: white;">Benchmarks</th>
181
+ <th style="text-align:left; background-color: #001d6c; color: white;">Metric</th>
182
+ <th style="text-align:center; background-color: #001d6c; color: white;">Micro Dense</th>
183
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Micro Dense</th>
184
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Tiny MoE</th>
185
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Small MoE</th>
186
+ </tr>
187
+ </thead>
188
+ <tbody>
189
+ <tr>
190
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
191
+ General Tasks
192
+ </td>
193
+ </tr>
194
+ <tr>
195
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MMLU</td>
196
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">5-shot</td>
197
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">65.98</td>
198
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">67.43</td>
199
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">68.65</td>
200
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">78.44</td>
201
+ </tr>
202
+ <tr>
203
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MMLU-Pro</td>
204
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">5-shot, CoT</td>
205
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">44.5</td>
206
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">43.48</td>
207
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">44.94</td>
208
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">55.47</td>
209
+ </tr>
210
+ <tr>
211
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">BBH</td>
212
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">3-shot, CoT</td>
213
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">72.48</td>
214
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">69.36</td>
215
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">66.34</td>
216
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">81.62</td>
217
+ </tr>
218
+ <tr>
219
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">AGI EVAL</td>
220
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">0-shot, CoT</td>
221
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">64.29</td>
222
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">59</td>
223
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">62.15</td>
224
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">70.63</td>
225
+ </tr>
226
+ <tr>
227
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">GPQA</td>
228
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">0-shot, CoT</td>
229
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">30.14</td>
230
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">32.15</td>
231
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">32.59</td>
232
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">40.63</td>
233
+ </tr>
234
+ <tr>
235
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
236
+ Alignment Tasks
237
+ </td>
238
+ </tr>
239
+ <tr>
240
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">AlpacaEval 2.0</td>
241
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;"></td>
242
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">29.49</td>
243
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">31.49</td>
244
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">30.61</td>
245
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">42.48</td>
246
+ </tr>
247
+ <tr>
248
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">IFEval</td>
249
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">Instruct, Strict</td>
250
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">85.5</td>
251
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">86.94</td>
252
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">84.78</td>
253
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">89.87</td>
254
+ </tr>
255
+ <tr>
256
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">IFEval</td>
257
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">Prompt, Strict</td>
258
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">79.12</td>
259
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">81.71</td>
260
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">78.1</td>
261
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">85.22</td>
262
+ </tr>
263
+ <tr>
264
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">IFEval</td>
265
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">Average</td>
266
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">82.31</td>
267
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">84.32</td>
268
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">81.44</td>
269
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">87.55</td>
270
+ </tr>
271
+ <tr>
272
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">ArenaHard</td>
273
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;"></td>
274
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">25.84</td>
275
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">36.15</td>
276
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">35.75</td>
277
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">46.48</td>
278
+ </tr>
279
+ <tr>
280
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
281
+ Math Tasks
282
+ </td>
283
+ </tr>
284
+ <tr>
285
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">GSM8K</td>
286
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">8-shot</td>
287
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">85.45</td>
288
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">81.35</td>
289
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">84.69</td>
290
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">87.27</td>
291
+ </tr>
292
+ <tr>
293
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">GSM8K Symbolic</td>
294
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">8-shot</td>
295
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">79.82</td>
296
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">77.5</td>
297
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">81.1</td>
298
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">87.38</td>
299
+ </tr>
300
+ <tr>
301
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">Minerva Math</td>
302
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">0-shot, CoT</td>
303
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">62.06</td>
304
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">66.44</td>
305
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">69.64</td>
306
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">74</td>
307
+ </tr>
308
+ <tr>
309
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">DeepMind Math</td>
310
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">0-shot, CoT</td>
311
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">44.56</td>
312
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">43.83</td>
313
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">49.92</td>
314
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">59.33</td>
315
+ </tr>
316
+ <tr>
317
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
318
+ Code Tasks
319
+ </td>
320
+ </tr>
321
+ <tr>
322
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">HumanEval</td>
323
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
324
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">80</td>
325
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">81</td>
326
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">83</td>
327
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">88</td>
328
+ </tr>
329
+ <tr>
330
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">HumanEval+</td>
331
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
332
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">72</td>
333
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">75</td>
334
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">76</td>
335
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">83</td>
336
+ </tr>
337
+ <tr>
338
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MBPP</td>
339
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
340
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">72</td>
341
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">73</td>
342
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">80</td>
343
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">84</td>
344
+ </tr>
345
+ <tr>
346
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MBPP+</td>
347
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
348
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">64</td>
349
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">64</td>
350
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">69</td>
351
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">71</td>
352
+ </tr>
353
+ <tr>
354
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">CRUXEval-O</td>
355
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
356
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">41.5</td>
357
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">41.25</td>
358
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">39.63</td>
359
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">50.25</td>
360
+ </tr>
361
+ <tr>
362
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">BigCodeBench</td>
363
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
364
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">39.21</td>
365
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">37.9</td>
366
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">41.06</td>
367
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">46.23</td>
368
+ </tr>
369
+ <tr>
370
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
371
+ Tool Calling Tasks
372
+ </td>
373
+ </tr>
374
+ <tr>
375
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">BFCL v3</td>
376
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;"></td>
377
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">59.98</td>
378
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">57.56</td>
379
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">57.65</td>
380
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">64.69</td>
381
+ </tr>
382
+ <tr>
383
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
384
+ Multilingual Tasks
385
+ </td>
386
+ </tr>
387
+ <tr>
388
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MULTIPLE</td>
389
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">pass@1</td>
390
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">49.21</td>
391
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">49.46</td>
392
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">55.83</td>
393
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">57.37</td>
394
+ </tr>
395
+ <tr>
396
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MMMLU</td>
397
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">5-shot</td>
398
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">55.14</td>
399
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">55.19</td>
400
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">61.87</td>
401
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">69.69</td>
402
+ </tr>
403
+ <tr>
404
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">INCLUDE</td>
405
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">5-shot</td>
406
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">51.62</td>
407
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">50.51</td>
408
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">53.12</td>
409
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">63.97</td>
410
+ </tr>
411
+ <tr>
412
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MGSM</td>
413
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">8-shot</td>
414
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">28.56</td>
415
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">44.48</td>
416
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">45.36</td>
417
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">38.72</td>
418
+ </tr>
419
+ <tr>
420
+ <td colspan="6" style="text-align:center; background-color: #FFFFFF; color: #2D2D2D; font-style:italic;">
421
+ Safety
422
+ </td>
423
+ </tr>
424
+ <tr>
425
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">SALAD-Bench</td>
426
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;"></td>
427
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">97.06</td>
428
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">96.28</td>
429
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">97.77</td>
430
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">97.3</td>
431
+ </tr>
432
+ <tr>
433
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">AttaQ</td>
434
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;"></td>
435
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">86.05</td>
436
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">84.44</td>
437
+ <td style="text-align:right; background-color: #FFFFFF; color: #2D2D2D;">86.61</td>
438
+ <td style="text-align:right; background-color: #DAE8FF; color: #2D2D2D;">86.64</td>
439
+ </tr>
440
+ </tbody></table>
441
+
442
+
443
+ <table>
444
+ <caption><b>Multilingual Benchmarks and thr included languages:</b></caption>
445
+ <thead>
446
+ <tr>
447
+ <th style="text-align:left; background-color: #001d6c; color: white;">Benchmarks</th>
448
+ <th style="text-align:left; background-color: #001d6c; color: white;"># Langs</th>
449
+ <th style="text-align:center; background-color: #001d6c; color: white;">Languages</th>
450
+ </tr>
451
+ </thead>
452
+ <tbody>
453
+ <tr>
454
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MMMLU</td>
455
+ <td style="text-align:center; background-color: #FFFFFF; color: #2D2D2D;">11</td>
456
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">ar, de, en, es, fr, ja, ko, pt, zh, bn, hi</td>
457
+ </tr>
458
+ <tr>
459
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">INCLUDE</td>
460
+ <td style="text-align:center; background-color: #FFFFFF; color: #2D2D2D;">14</td>
461
+ <!-- <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">hindi, bengali, tamil, telugu, arabic, german, spanish, french, italian, japanese, korean, dutch, portuguese, chinese</td> -->
462
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">hi, bn, ta, te, ar, de, es, fr, it, ja, ko, nl, pt, zh</td>
463
+
464
+ </tr>
465
+ <tr>
466
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">MGSM</td>
467
+ <td style="text-align:center; background-color: #FFFFFF; color: #2D2D2D;">5</td>
468
+ <td style="text-align:left; background-color: #FFFFFF; color: #2D2D2D;">en, es, fr, ja, zh</td>
469
+ </tr>
470
+ </tbody>
471
+ </table>
472
+
473
+ **Model Architecture:**
474
+ Granite-4.0-H-Small baseline is built on a decoder-only MoE transformer architecture. Core components of this architecture are: GQA, Mamba2, MoEs with shared experts, SwiGLU activation, RMSNorm, and shared input/output embeddings.
475
+
476
+ <table>
477
+ <thead>
478
+ <tr>
479
+ <th style="text-align:left; background-color: #001d6c; color: white;">Model</th>
480
+ <th style="text-align:center; background-color: #001d6c; color: white;">Micro Dense</th>
481
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Micro Dense</th>
482
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Tiny MoE</th>
483
+ <th style="text-align:center; background-color: #001d6c; color: white;">H Small MoE</th>
484
+ </tr></thead>
485
+ <tbody>
486
+ <tr>
487
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Embedding size</td>
488
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">2560</td>
489
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">2048</td>
490
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">1536</td>
491
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">4096</td>
492
+ </tr>
493
+ <tr>
494
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Number of layers</td>
495
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">40 attention</td>
496
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">4 attention / 36 Mamba2</td>
497
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">4 attention / 36 Mamba2</td>
498
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">4 attention / 36 Mamba2</td>
499
+ </tr>
500
+ <tr>
501
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Attention head size</td>
502
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">64</td>
503
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">64</td>
504
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128</td>
505
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">128</td>
506
+ </tr>
507
+ <tr>
508
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Number of attention heads</td>
509
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">40</td>
510
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">32</td>
511
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">12</td>
512
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">32</td>
513
+ </tr>
514
+ <tr>
515
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Number of KV heads</td>
516
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">8</td>
517
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">8</td>
518
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">4</td>
519
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">8</td>
520
+ </tr>
521
+ <tr>
522
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Mamba2 state size</td>
523
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
524
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128</td>
525
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128</td>
526
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">128</td>
527
+ </tr>
528
+ <tr>
529
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Number of Mamba2 heads</td>
530
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
531
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">64</td>
532
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">48</td>
533
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">128</td>
534
+ </tr>
535
+
536
+ <tr>
537
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">MLP / Shared expert hidden size</td>
538
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">8192</td>
539
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">8192</td>
540
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">1024</td>
541
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">1536</td>
542
+ </tr>
543
+
544
+
545
+ <tr>
546
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Num. Experts</td>
547
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
548
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
549
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">64</td>
550
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">72</td>
551
+ </tr>
552
+ <tr>
553
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Num. active Experts</td>
554
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
555
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
556
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">6</td>
557
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">10</td>
558
+ </tr>
559
+ <tr>
560
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Expert hidden size</td>
561
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
562
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">-</td>
563
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">512</td>
564
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">768</td>
565
+ </tr>
566
+
567
+ <tr>
568
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">MLP activation</td>
569
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">SwiGLU</td>
570
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">SwiGLU</td>
571
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">SwiGLU</td>
572
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">SwiGLU</td>
573
+ </tr>
574
+
575
+ <tr>
576
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Sequence length</td>
577
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128K</td>
578
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128K</td>
579
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">128K</td>
580
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">128K</td>
581
+ </tr>
582
+ <tr>
583
+ <td style="text-align:left; background-color: #FFFFFF; color: black;">Position embedding</td>
584
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">RoPE</td>
585
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">NoPE</td>
586
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">NoPE</td>
587
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">NoPE</td>
588
+ </tr>
589
+ <tr>
590
+ <td style="text-align:left; background-color: #FFFFFF; color: black;"># Parameters</td>
591
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">3B</td>
592
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">3B</td>
593
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">7B</td>
594
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">32B</td>
595
+ </tr>
596
+ <tr>
597
+ <td style="text-align:left; background-color: #FFFFFF; color: black;"># Active parameters</td>
598
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">3B</td>
599
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">3B</td>
600
+ <td style="text-align:center; background-color: #FFFFFF; color: black;">1B</td>
601
+ <td style="text-align:center; background-color: #DAE8FF; color: black;">9B</td>
602
+ </tr>
603
+ </tbody></table>
604
+
605
+ **Training Data:**
606
+ Overall, our SFT data is largely comprised of three key sources: (1) publicly available datasets with permissive license, (2) internal synthetic data targeting specific capabilities, and (3) a select set of human-curated data.
607
+
608
+ **Infrastructure:**
609
+ We trained the Granite 4.0 Language Models utilizing an NVIDIA GB200 NVL72 cluster hosted in CoreWeave. Intra-rack communication occurs via the 72-GPU NVLink domain, and a non-blocking, full Fat-Tree NDR 400 Gb/s InfiniBand network provides inter-rack communication. This cluster provides a scalable and efficient infrastructure for training our models over thousands of GPUs.
610
+
611
+ **Ethical Considerations and Limitations:**
612
+ Granite 4.0 Instruction Models are primarily finetuned using instruction-response pairs mostly in English, but also multilingual data covering multiple languages. Although this model can handle multilingual dialog use cases, its performance might not be similar to English tasks. In such case, introducing a small number of examples (few-shot) can help the model in generating more accurate outputs. While this model has been aligned by keeping safety in consideration, the model may in some cases produce inaccurate, biased, or unsafe responses to user prompts. So we urge the community to use this model with proper safety testing and tuning tailored for their specific tasks.
613
+
614
+ **Resources**
615
+ - ⭐️ Learn about the latest updates with Granite: https://www.ibm.com/granite
616
+ - 📄 Get started with tutorials, best practices, and prompt engineering advice: https://www.ibm.com/granite/docs/
617
+ - 💡 Learn about the latest Granite learning resources: https://ibm.biz/granite-learning-resources
618
+
619
+ <!-- ## Citation
620
+ ```
621
+ @misc{granite-models,
622
+ author = {author 1, author2, ...},
623
+ title = {},
624
+ journal = {},
625
+ volume = {},
626
+ year = {2024},
627
+ url = {https://arxiv.org/abs/0000.00000},
628
+ }
629
+ ``` -->
chat_template.jinja ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set tools_system_message_prefix = 'You are a helpful assistant with access to the following tools. You may call one or more tools to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>' %}
2
+ {%- set tools_system_message_suffix = '\n</tools>\n\nFor each tool 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>. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.' %}
3
+ {%- set documents_system_message_prefix = 'You are a helpful assistant with access to the following documents. You may use one or more documents to assist with the user query.\n\nYou are given a list of documents within <documents></documents> XML tags:\n<documents>' %}
4
+ {%- set documents_system_message_suffix = '\n</documents>\n\nWrite the response to the user\'s input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.' %}
5
+ {%- if available_tools is defined and available_tools %}
6
+ {%- set tools = available_tools %}
7
+ {%- endif %}
8
+ {%- set ns = namespace(tools_system_message=tools_system_message_prefix,
9
+ documents_system_message=documents_system_message_prefix,
10
+ system_message=''
11
+ ) %}
12
+ {%- if tools %}
13
+ {%- for tool in tools %}
14
+ {%- set ns.tools_system_message = ns.tools_system_message + '\n' + (tool | tojson) %}
15
+ {%- endfor %}
16
+ {%- set ns.tools_system_message = ns.tools_system_message + tools_system_message_suffix %}
17
+ {%- else %}
18
+ {%- set ns.tools_system_message = '' %}
19
+ {%- endif %}
20
+ {%- if documents %}
21
+ {%- for document in documents %}
22
+ {%- set ns.documents_system_message = ns.documents_system_message + '\n' + (document | tojson) %}
23
+ {%- endfor %}
24
+ {%- set ns.documents_system_message = ns.documents_system_message + documents_system_message_suffix %}
25
+ {%- else %}
26
+ {%- set ns.documents_system_message = '' %}
27
+ {%- endif %}
28
+ {%- if messages[0].role == 'system' %}
29
+ {%- if messages[0].content is string %}
30
+ {%- set ns.system_message = messages[0].content %}
31
+ {%- elif messages[0].content is iterable %}
32
+ {%- for entry in messages[0].content %}
33
+ {%- if entry.type== 'text' %}
34
+ {%- if ns.system_message != '' %}
35
+ {%- set ns.system_message = ns.system_message + '\n' %}
36
+ {%- endif %}
37
+ {%- set ns.system_message = ns.system_message + entry.text %}
38
+ {%- endif %}
39
+ {%- endfor %}
40
+ {%- endif %}
41
+ {%- if tools and documents %}
42
+ {%- set ns.system_message = ns.system_message + '\n\n' + ns.tools_system_message + '\n\n' + ns.documents_system_message %}
43
+ {%- elif tools %}
44
+ {%- set ns.system_message = ns.system_message + '\n\n' + ns.tools_system_message %}
45
+ {%- elif documents %}
46
+ {%- set ns.system_message = ns.system_message + '\n\n' + ns.documents_system_message %}
47
+ {%- endif %}
48
+ {%- else %}
49
+ {%- if tools and documents %}
50
+ {%- set ns.system_message = ns.tools_system_message + '\n\n' + ns.documents_system_message %}
51
+ {%- elif tools %}
52
+ {%- set ns.system_message = ns.tools_system_message %}
53
+ {%- elif documents %}
54
+ {%- set ns.system_message = ns.documents_system_message %}
55
+ {%- endif %}
56
+ {%- endif %}
57
+ {%- if ns.system_message %}
58
+ {{- '<|start_of_role|>system<|end_of_role|>' + ns.system_message + '<|end_of_text|>\n' }}
59
+ {%- endif %}
60
+ {%- for message in messages %}
61
+ {%- set content = namespace(val='') %}
62
+ {%- if message.content is string %}
63
+ {%- set content.val = message.content %}
64
+ {%- else %}
65
+ {%- if message.content is iterable %}
66
+ {%- for entry in message.content %}
67
+ {%- if entry.type== 'text' %}
68
+ {%- if content.val != '' %}
69
+ {%- set content.val = content.val + '\n' %}
70
+ {%- endif %}
71
+ {%- set content.val = content.val + entry.text %}
72
+ {%- endif %}
73
+ {%- endfor %}
74
+ {%- endif %}
75
+ {%- endif %}
76
+ {%- if (message.role == 'user') or (message.role == 'system' and not loop.first) %}
77
+ {{- '<|start_of_role|>' + message.role + '<|end_of_role|>' + content.val + '<|end_of_text|>\n' }}
78
+ {%- elif message.role == 'assistant' %}
79
+ {{- '<|start_of_role|>' + message.role + '<|end_of_role|>' + content.val }}
80
+ {%- if message.tool_calls %}
81
+ {%- for tool_call in message.tool_calls %}
82
+ {%- if (loop.first and content.val) or (not loop.first) %}
83
+ {{- '\n' }}
84
+ {%- endif %}
85
+ {%- if tool_call.function %}
86
+ {%- set tool_call = tool_call.function %}
87
+ {%- endif %}
88
+ {{- '<tool_call>\n{"name": "' }}
89
+ {{- tool_call.name }}
90
+ {{- '", "arguments": ' }}
91
+ {%- if tool_call.arguments is string %}
92
+ {{- tool_call.arguments }}
93
+ {%- else %}
94
+ {{- tool_call.arguments | tojson }}
95
+ {%- endif %}
96
+ {{- '}\n</tool_call>' }}
97
+ {%- endfor %}
98
+ {%- endif %}
99
+ {{- '<|end_of_text|>\n' }}
100
+ {%- elif message.role == 'tool' %}
101
+ {%- if loop.first or (messages[loop.index0 - 1].role != 'tool') %}
102
+ {{- '<|start_of_role|>user<|end_of_role|>' }}
103
+ {%- endif %}
104
+ {{- '\n<tool_response>\n' }}
105
+ {{- content.val }}
106
+ {{- '\n</tool_response>' }}
107
+ {%- if loop.last or (messages[loop.index0 + 1].role != 'tool') %}
108
+ {{- '<|end_of_text|>\n' }}
109
+ {%- endif %}
110
+ {%- endif %}
111
+ {%- endfor %}
112
+ {%- if add_generation_prompt %}
113
+ {{- '<|start_of_role|>assistant<|end_of_role|>' }}
114
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GraniteMoeHybridForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attention_multiplier": 0.0078125,
8
+ "bos_token_id": 100257,
9
+ "torch_dtype": "bfloat16",
10
+ "embedding_multiplier": 12,
11
+ "eos_token_id": 100257,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "initializer_range": 0.1,
15
+ "intermediate_size": 768,
16
+ "layer_types": [
17
+ "mamba",
18
+ "mamba",
19
+ "mamba",
20
+ "mamba",
21
+ "mamba",
22
+ "attention",
23
+ "mamba",
24
+ "mamba",
25
+ "mamba",
26
+ "mamba",
27
+ "mamba",
28
+ "mamba",
29
+ "mamba",
30
+ "mamba",
31
+ "mamba",
32
+ "attention",
33
+ "mamba",
34
+ "mamba",
35
+ "mamba",
36
+ "mamba",
37
+ "mamba",
38
+ "mamba",
39
+ "mamba",
40
+ "mamba",
41
+ "mamba",
42
+ "attention",
43
+ "mamba",
44
+ "mamba",
45
+ "mamba",
46
+ "mamba",
47
+ "mamba",
48
+ "mamba",
49
+ "mamba",
50
+ "mamba",
51
+ "mamba",
52
+ "attention",
53
+ "mamba",
54
+ "mamba",
55
+ "mamba",
56
+ "mamba"
57
+ ],
58
+ "logits_scaling": 16,
59
+ "mamba_chunk_size": 256,
60
+ "mamba_conv_bias": true,
61
+ "mamba_d_conv": 4,
62
+ "mamba_d_head": 64,
63
+ "mamba_d_state": 128,
64
+ "mamba_expand": 2,
65
+ "mamba_n_groups": 1,
66
+ "mamba_n_heads": 128,
67
+ "mamba_proj_bias": false,
68
+ "max_position_embeddings": 131072,
69
+ "model_type": "granitemoehybrid",
70
+ "normalization_function": "rmsnorm",
71
+ "num_attention_heads": 32,
72
+ "num_experts_per_tok": 10,
73
+ "num_hidden_layers": 40,
74
+ "num_key_value_heads": 8,
75
+ "num_local_experts": 72,
76
+ "output_router_logits": false,
77
+ "pad_token_id": 100256,
78
+ "position_embedding_type": "nope",
79
+ "residual_multiplier": 0.22,
80
+ "rms_norm_eps": 1e-05,
81
+ "rope_scaling": null,
82
+ "rope_theta": 10000,
83
+ "router_aux_loss_coef": 0.0,
84
+ "shared_intermediate_size": 1536,
85
+ "tie_word_embeddings": true,
86
+ "transformers_version": "4.56.2",
87
+ "unsloth_fixed": true,
88
+ "use_cache": true,
89
+ "vocab_size": 100352
90
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 100257,
4
+ "eos_token_id": 100257,
5
+ "max_length": 131072,
6
+ "pad_token_id": 100256,
7
+ "transformers_version": "4.56.2"
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f45359dac7e0fbffde4f4261d9959f86113e2347ef90e75e9b47f628c969ed38
3
+ size 4931823752
model-00002-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10586e2ebd97b828d2ddbba49f9bc066d10cddf71a352f177e09491b5c891f5d
3
+ size 4805655352
model-00003-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b13bb3c47222bbbedda637125eae5300fd102bf4a9536313e6e736b2e37de02
3
+ size 4684967104
model-00004-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9febd93455f138d2b08088131901a7b772e4a5c7b2a4c6cb73c524ed7b2a638c
3
+ size 4805655392
model-00005-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0b86c90323a9e80b229e99e727995d27e8d3d717cd20c0b1fbe7f09f036679e
3
+ size 4805655400
model-00006-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07e746cdc60458973fbca6e2bbe14cf86990b04082b8020eb5fde24757566113
3
+ size 4684967136
model-00007-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e99acbbdcba299f93b0b0b42ba9519626f086bed34593dbcc36b513195bf48d7
3
+ size 4805655400
model-00008-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9bde838b687e90aeb80d62cd35080cfbd8cb7c366e15601a4e058a348f1baac
3
+ size 4805655400
model-00009-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06afd739e8c459b22d09dde380949ac29bb3efa008e932bd49496fc0863a120f
3
+ size 4684967136
model-00010-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df18281f1f1e1ee2f0a2406ee5f18dba3c82127572b0ec61e995cb3f5f99bb13
3
+ size 4805655400
model-00011-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15dd3482b3bb3ba2f498572ac370a15c8c9c59bfcc3c1fa0a730c133a03b9ea6
3
+ size 4805655400
model-00012-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:480b31305085ca70d6ceaf7294a38b008395a0466527333043a8daf42643536d
3
+ size 4805655400
model-00013-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8e8cbbe40341a49618ec39c2f657c4ee88f82beed252b157c55d97036b7b4ef
3
+ size 4684967144
model-00014-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4bc589e873c34c93586f5ce84446f0cee838ddd4e847493a618868815d8a8cb
3
+ size 2297808752
model.safetensors.index.json ADDED
@@ -0,0 +1,594 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 0,
4
+ "total_size": 64414675968
5
+ },
6
+ "weight_map": {
7
+ "model.embed_tokens.weight": "model-00001-of-00014.safetensors",
8
+ "model.layers.0.block_sparse_moe.input_linear.weight": "model-00001-of-00014.safetensors",
9
+ "model.layers.0.block_sparse_moe.output_linear.weight": "model-00001-of-00014.safetensors",
10
+ "model.layers.0.block_sparse_moe.router.layer.weight": "model-00001-of-00014.safetensors",
11
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00014.safetensors",
12
+ "model.layers.0.mamba.A_log": "model-00001-of-00014.safetensors",
13
+ "model.layers.0.mamba.D": "model-00001-of-00014.safetensors",
14
+ "model.layers.0.mamba.conv1d.bias": "model-00001-of-00014.safetensors",
15
+ "model.layers.0.mamba.conv1d.weight": "model-00001-of-00014.safetensors",
16
+ "model.layers.0.mamba.dt_bias": "model-00001-of-00014.safetensors",
17
+ "model.layers.0.mamba.in_proj.weight": "model-00001-of-00014.safetensors",
18
+ "model.layers.0.mamba.norm.weight": "model-00001-of-00014.safetensors",
19
+ "model.layers.0.mamba.out_proj.weight": "model-00001-of-00014.safetensors",
20
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
21
+ "model.layers.0.shared_mlp.input_linear.weight": "model-00001-of-00014.safetensors",
22
+ "model.layers.0.shared_mlp.output_linear.weight": "model-00001-of-00014.safetensors",
23
+ "model.layers.1.block_sparse_moe.input_linear.weight": "model-00001-of-00014.safetensors",
24
+ "model.layers.1.block_sparse_moe.output_linear.weight": "model-00001-of-00014.safetensors",
25
+ "model.layers.1.block_sparse_moe.router.layer.weight": "model-00001-of-00014.safetensors",
26
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00014.safetensors",
27
+ "model.layers.1.mamba.A_log": "model-00001-of-00014.safetensors",
28
+ "model.layers.1.mamba.D": "model-00001-of-00014.safetensors",
29
+ "model.layers.1.mamba.conv1d.bias": "model-00001-of-00014.safetensors",
30
+ "model.layers.1.mamba.conv1d.weight": "model-00001-of-00014.safetensors",
31
+ "model.layers.1.mamba.dt_bias": "model-00001-of-00014.safetensors",
32
+ "model.layers.1.mamba.in_proj.weight": "model-00001-of-00014.safetensors",
33
+ "model.layers.1.mamba.norm.weight": "model-00001-of-00014.safetensors",
34
+ "model.layers.1.mamba.out_proj.weight": "model-00001-of-00014.safetensors",
35
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
36
+ "model.layers.1.shared_mlp.input_linear.weight": "model-00001-of-00014.safetensors",
37
+ "model.layers.1.shared_mlp.output_linear.weight": "model-00001-of-00014.safetensors",
38
+ "model.layers.10.block_sparse_moe.input_linear.weight": "model-00004-of-00014.safetensors",
39
+ "model.layers.10.block_sparse_moe.output_linear.weight": "model-00004-of-00014.safetensors",
40
+ "model.layers.10.block_sparse_moe.router.layer.weight": "model-00004-of-00014.safetensors",
41
+ "model.layers.10.input_layernorm.weight": "model-00004-of-00014.safetensors",
42
+ "model.layers.10.mamba.A_log": "model-00004-of-00014.safetensors",
43
+ "model.layers.10.mamba.D": "model-00004-of-00014.safetensors",
44
+ "model.layers.10.mamba.conv1d.bias": "model-00004-of-00014.safetensors",
45
+ "model.layers.10.mamba.conv1d.weight": "model-00004-of-00014.safetensors",
46
+ "model.layers.10.mamba.dt_bias": "model-00004-of-00014.safetensors",
47
+ "model.layers.10.mamba.in_proj.weight": "model-00004-of-00014.safetensors",
48
+ "model.layers.10.mamba.norm.weight": "model-00004-of-00014.safetensors",
49
+ "model.layers.10.mamba.out_proj.weight": "model-00004-of-00014.safetensors",
50
+ "model.layers.10.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
51
+ "model.layers.10.shared_mlp.input_linear.weight": "model-00004-of-00014.safetensors",
52
+ "model.layers.10.shared_mlp.output_linear.weight": "model-00004-of-00014.safetensors",
53
+ "model.layers.11.block_sparse_moe.input_linear.weight": "model-00004-of-00014.safetensors",
54
+ "model.layers.11.block_sparse_moe.output_linear.weight": "model-00005-of-00014.safetensors",
55
+ "model.layers.11.block_sparse_moe.router.layer.weight": "model-00005-of-00014.safetensors",
56
+ "model.layers.11.input_layernorm.weight": "model-00005-of-00014.safetensors",
57
+ "model.layers.11.mamba.A_log": "model-00005-of-00014.safetensors",
58
+ "model.layers.11.mamba.D": "model-00005-of-00014.safetensors",
59
+ "model.layers.11.mamba.conv1d.bias": "model-00005-of-00014.safetensors",
60
+ "model.layers.11.mamba.conv1d.weight": "model-00005-of-00014.safetensors",
61
+ "model.layers.11.mamba.dt_bias": "model-00005-of-00014.safetensors",
62
+ "model.layers.11.mamba.in_proj.weight": "model-00005-of-00014.safetensors",
63
+ "model.layers.11.mamba.norm.weight": "model-00005-of-00014.safetensors",
64
+ "model.layers.11.mamba.out_proj.weight": "model-00005-of-00014.safetensors",
65
+ "model.layers.11.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
66
+ "model.layers.11.shared_mlp.input_linear.weight": "model-00005-of-00014.safetensors",
67
+ "model.layers.11.shared_mlp.output_linear.weight": "model-00005-of-00014.safetensors",
68
+ "model.layers.12.block_sparse_moe.input_linear.weight": "model-00005-of-00014.safetensors",
69
+ "model.layers.12.block_sparse_moe.output_linear.weight": "model-00005-of-00014.safetensors",
70
+ "model.layers.12.block_sparse_moe.router.layer.weight": "model-00005-of-00014.safetensors",
71
+ "model.layers.12.input_layernorm.weight": "model-00005-of-00014.safetensors",
72
+ "model.layers.12.mamba.A_log": "model-00005-of-00014.safetensors",
73
+ "model.layers.12.mamba.D": "model-00005-of-00014.safetensors",
74
+ "model.layers.12.mamba.conv1d.bias": "model-00005-of-00014.safetensors",
75
+ "model.layers.12.mamba.conv1d.weight": "model-00005-of-00014.safetensors",
76
+ "model.layers.12.mamba.dt_bias": "model-00005-of-00014.safetensors",
77
+ "model.layers.12.mamba.in_proj.weight": "model-00005-of-00014.safetensors",
78
+ "model.layers.12.mamba.norm.weight": "model-00005-of-00014.safetensors",
79
+ "model.layers.12.mamba.out_proj.weight": "model-00005-of-00014.safetensors",
80
+ "model.layers.12.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
81
+ "model.layers.12.shared_mlp.input_linear.weight": "model-00005-of-00014.safetensors",
82
+ "model.layers.12.shared_mlp.output_linear.weight": "model-00005-of-00014.safetensors",
83
+ "model.layers.13.block_sparse_moe.input_linear.weight": "model-00005-of-00014.safetensors",
84
+ "model.layers.13.block_sparse_moe.output_linear.weight": "model-00005-of-00014.safetensors",
85
+ "model.layers.13.block_sparse_moe.router.layer.weight": "model-00005-of-00014.safetensors",
86
+ "model.layers.13.input_layernorm.weight": "model-00005-of-00014.safetensors",
87
+ "model.layers.13.mamba.A_log": "model-00005-of-00014.safetensors",
88
+ "model.layers.13.mamba.D": "model-00005-of-00014.safetensors",
89
+ "model.layers.13.mamba.conv1d.bias": "model-00005-of-00014.safetensors",
90
+ "model.layers.13.mamba.conv1d.weight": "model-00005-of-00014.safetensors",
91
+ "model.layers.13.mamba.dt_bias": "model-00005-of-00014.safetensors",
92
+ "model.layers.13.mamba.in_proj.weight": "model-00005-of-00014.safetensors",
93
+ "model.layers.13.mamba.norm.weight": "model-00005-of-00014.safetensors",
94
+ "model.layers.13.mamba.out_proj.weight": "model-00005-of-00014.safetensors",
95
+ "model.layers.13.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
96
+ "model.layers.13.shared_mlp.input_linear.weight": "model-00005-of-00014.safetensors",
97
+ "model.layers.13.shared_mlp.output_linear.weight": "model-00005-of-00014.safetensors",
98
+ "model.layers.14.block_sparse_moe.input_linear.weight": "model-00005-of-00014.safetensors",
99
+ "model.layers.14.block_sparse_moe.output_linear.weight": "model-00006-of-00014.safetensors",
100
+ "model.layers.14.block_sparse_moe.router.layer.weight": "model-00006-of-00014.safetensors",
101
+ "model.layers.14.input_layernorm.weight": "model-00006-of-00014.safetensors",
102
+ "model.layers.14.mamba.A_log": "model-00006-of-00014.safetensors",
103
+ "model.layers.14.mamba.D": "model-00006-of-00014.safetensors",
104
+ "model.layers.14.mamba.conv1d.bias": "model-00006-of-00014.safetensors",
105
+ "model.layers.14.mamba.conv1d.weight": "model-00006-of-00014.safetensors",
106
+ "model.layers.14.mamba.dt_bias": "model-00006-of-00014.safetensors",
107
+ "model.layers.14.mamba.in_proj.weight": "model-00006-of-00014.safetensors",
108
+ "model.layers.14.mamba.norm.weight": "model-00006-of-00014.safetensors",
109
+ "model.layers.14.mamba.out_proj.weight": "model-00006-of-00014.safetensors",
110
+ "model.layers.14.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
111
+ "model.layers.14.shared_mlp.input_linear.weight": "model-00006-of-00014.safetensors",
112
+ "model.layers.14.shared_mlp.output_linear.weight": "model-00006-of-00014.safetensors",
113
+ "model.layers.15.block_sparse_moe.input_linear.weight": "model-00006-of-00014.safetensors",
114
+ "model.layers.15.block_sparse_moe.output_linear.weight": "model-00006-of-00014.safetensors",
115
+ "model.layers.15.block_sparse_moe.router.layer.weight": "model-00006-of-00014.safetensors",
116
+ "model.layers.15.input_layernorm.weight": "model-00006-of-00014.safetensors",
117
+ "model.layers.15.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
118
+ "model.layers.15.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
119
+ "model.layers.15.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
120
+ "model.layers.15.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
121
+ "model.layers.15.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
122
+ "model.layers.15.shared_mlp.input_linear.weight": "model-00006-of-00014.safetensors",
123
+ "model.layers.15.shared_mlp.output_linear.weight": "model-00006-of-00014.safetensors",
124
+ "model.layers.16.block_sparse_moe.input_linear.weight": "model-00006-of-00014.safetensors",
125
+ "model.layers.16.block_sparse_moe.output_linear.weight": "model-00006-of-00014.safetensors",
126
+ "model.layers.16.block_sparse_moe.router.layer.weight": "model-00006-of-00014.safetensors",
127
+ "model.layers.16.input_layernorm.weight": "model-00006-of-00014.safetensors",
128
+ "model.layers.16.mamba.A_log": "model-00006-of-00014.safetensors",
129
+ "model.layers.16.mamba.D": "model-00006-of-00014.safetensors",
130
+ "model.layers.16.mamba.conv1d.bias": "model-00006-of-00014.safetensors",
131
+ "model.layers.16.mamba.conv1d.weight": "model-00006-of-00014.safetensors",
132
+ "model.layers.16.mamba.dt_bias": "model-00006-of-00014.safetensors",
133
+ "model.layers.16.mamba.in_proj.weight": "model-00006-of-00014.safetensors",
134
+ "model.layers.16.mamba.norm.weight": "model-00006-of-00014.safetensors",
135
+ "model.layers.16.mamba.out_proj.weight": "model-00006-of-00014.safetensors",
136
+ "model.layers.16.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
137
+ "model.layers.16.shared_mlp.input_linear.weight": "model-00006-of-00014.safetensors",
138
+ "model.layers.16.shared_mlp.output_linear.weight": "model-00006-of-00014.safetensors",
139
+ "model.layers.17.block_sparse_moe.input_linear.weight": "model-00006-of-00014.safetensors",
140
+ "model.layers.17.block_sparse_moe.output_linear.weight": "model-00007-of-00014.safetensors",
141
+ "model.layers.17.block_sparse_moe.router.layer.weight": "model-00007-of-00014.safetensors",
142
+ "model.layers.17.input_layernorm.weight": "model-00007-of-00014.safetensors",
143
+ "model.layers.17.mamba.A_log": "model-00007-of-00014.safetensors",
144
+ "model.layers.17.mamba.D": "model-00007-of-00014.safetensors",
145
+ "model.layers.17.mamba.conv1d.bias": "model-00007-of-00014.safetensors",
146
+ "model.layers.17.mamba.conv1d.weight": "model-00007-of-00014.safetensors",
147
+ "model.layers.17.mamba.dt_bias": "model-00007-of-00014.safetensors",
148
+ "model.layers.17.mamba.in_proj.weight": "model-00007-of-00014.safetensors",
149
+ "model.layers.17.mamba.norm.weight": "model-00007-of-00014.safetensors",
150
+ "model.layers.17.mamba.out_proj.weight": "model-00007-of-00014.safetensors",
151
+ "model.layers.17.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
152
+ "model.layers.17.shared_mlp.input_linear.weight": "model-00007-of-00014.safetensors",
153
+ "model.layers.17.shared_mlp.output_linear.weight": "model-00007-of-00014.safetensors",
154
+ "model.layers.18.block_sparse_moe.input_linear.weight": "model-00007-of-00014.safetensors",
155
+ "model.layers.18.block_sparse_moe.output_linear.weight": "model-00007-of-00014.safetensors",
156
+ "model.layers.18.block_sparse_moe.router.layer.weight": "model-00007-of-00014.safetensors",
157
+ "model.layers.18.input_layernorm.weight": "model-00007-of-00014.safetensors",
158
+ "model.layers.18.mamba.A_log": "model-00007-of-00014.safetensors",
159
+ "model.layers.18.mamba.D": "model-00007-of-00014.safetensors",
160
+ "model.layers.18.mamba.conv1d.bias": "model-00007-of-00014.safetensors",
161
+ "model.layers.18.mamba.conv1d.weight": "model-00007-of-00014.safetensors",
162
+ "model.layers.18.mamba.dt_bias": "model-00007-of-00014.safetensors",
163
+ "model.layers.18.mamba.in_proj.weight": "model-00007-of-00014.safetensors",
164
+ "model.layers.18.mamba.norm.weight": "model-00007-of-00014.safetensors",
165
+ "model.layers.18.mamba.out_proj.weight": "model-00007-of-00014.safetensors",
166
+ "model.layers.18.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
167
+ "model.layers.18.shared_mlp.input_linear.weight": "model-00007-of-00014.safetensors",
168
+ "model.layers.18.shared_mlp.output_linear.weight": "model-00007-of-00014.safetensors",
169
+ "model.layers.19.block_sparse_moe.input_linear.weight": "model-00007-of-00014.safetensors",
170
+ "model.layers.19.block_sparse_moe.output_linear.weight": "model-00007-of-00014.safetensors",
171
+ "model.layers.19.block_sparse_moe.router.layer.weight": "model-00007-of-00014.safetensors",
172
+ "model.layers.19.input_layernorm.weight": "model-00007-of-00014.safetensors",
173
+ "model.layers.19.mamba.A_log": "model-00007-of-00014.safetensors",
174
+ "model.layers.19.mamba.D": "model-00007-of-00014.safetensors",
175
+ "model.layers.19.mamba.conv1d.bias": "model-00007-of-00014.safetensors",
176
+ "model.layers.19.mamba.conv1d.weight": "model-00007-of-00014.safetensors",
177
+ "model.layers.19.mamba.dt_bias": "model-00007-of-00014.safetensors",
178
+ "model.layers.19.mamba.in_proj.weight": "model-00007-of-00014.safetensors",
179
+ "model.layers.19.mamba.norm.weight": "model-00007-of-00014.safetensors",
180
+ "model.layers.19.mamba.out_proj.weight": "model-00007-of-00014.safetensors",
181
+ "model.layers.19.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
182
+ "model.layers.19.shared_mlp.input_linear.weight": "model-00007-of-00014.safetensors",
183
+ "model.layers.19.shared_mlp.output_linear.weight": "model-00007-of-00014.safetensors",
184
+ "model.layers.2.block_sparse_moe.input_linear.weight": "model-00001-of-00014.safetensors",
185
+ "model.layers.2.block_sparse_moe.output_linear.weight": "model-00002-of-00014.safetensors",
186
+ "model.layers.2.block_sparse_moe.router.layer.weight": "model-00002-of-00014.safetensors",
187
+ "model.layers.2.input_layernorm.weight": "model-00002-of-00014.safetensors",
188
+ "model.layers.2.mamba.A_log": "model-00002-of-00014.safetensors",
189
+ "model.layers.2.mamba.D": "model-00002-of-00014.safetensors",
190
+ "model.layers.2.mamba.conv1d.bias": "model-00002-of-00014.safetensors",
191
+ "model.layers.2.mamba.conv1d.weight": "model-00002-of-00014.safetensors",
192
+ "model.layers.2.mamba.dt_bias": "model-00002-of-00014.safetensors",
193
+ "model.layers.2.mamba.in_proj.weight": "model-00002-of-00014.safetensors",
194
+ "model.layers.2.mamba.norm.weight": "model-00002-of-00014.safetensors",
195
+ "model.layers.2.mamba.out_proj.weight": "model-00002-of-00014.safetensors",
196
+ "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
197
+ "model.layers.2.shared_mlp.input_linear.weight": "model-00002-of-00014.safetensors",
198
+ "model.layers.2.shared_mlp.output_linear.weight": "model-00002-of-00014.safetensors",
199
+ "model.layers.20.block_sparse_moe.input_linear.weight": "model-00007-of-00014.safetensors",
200
+ "model.layers.20.block_sparse_moe.output_linear.weight": "model-00008-of-00014.safetensors",
201
+ "model.layers.20.block_sparse_moe.router.layer.weight": "model-00008-of-00014.safetensors",
202
+ "model.layers.20.input_layernorm.weight": "model-00008-of-00014.safetensors",
203
+ "model.layers.20.mamba.A_log": "model-00008-of-00014.safetensors",
204
+ "model.layers.20.mamba.D": "model-00008-of-00014.safetensors",
205
+ "model.layers.20.mamba.conv1d.bias": "model-00008-of-00014.safetensors",
206
+ "model.layers.20.mamba.conv1d.weight": "model-00008-of-00014.safetensors",
207
+ "model.layers.20.mamba.dt_bias": "model-00008-of-00014.safetensors",
208
+ "model.layers.20.mamba.in_proj.weight": "model-00008-of-00014.safetensors",
209
+ "model.layers.20.mamba.norm.weight": "model-00008-of-00014.safetensors",
210
+ "model.layers.20.mamba.out_proj.weight": "model-00008-of-00014.safetensors",
211
+ "model.layers.20.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
212
+ "model.layers.20.shared_mlp.input_linear.weight": "model-00008-of-00014.safetensors",
213
+ "model.layers.20.shared_mlp.output_linear.weight": "model-00008-of-00014.safetensors",
214
+ "model.layers.21.block_sparse_moe.input_linear.weight": "model-00008-of-00014.safetensors",
215
+ "model.layers.21.block_sparse_moe.output_linear.weight": "model-00008-of-00014.safetensors",
216
+ "model.layers.21.block_sparse_moe.router.layer.weight": "model-00008-of-00014.safetensors",
217
+ "model.layers.21.input_layernorm.weight": "model-00008-of-00014.safetensors",
218
+ "model.layers.21.mamba.A_log": "model-00008-of-00014.safetensors",
219
+ "model.layers.21.mamba.D": "model-00008-of-00014.safetensors",
220
+ "model.layers.21.mamba.conv1d.bias": "model-00008-of-00014.safetensors",
221
+ "model.layers.21.mamba.conv1d.weight": "model-00008-of-00014.safetensors",
222
+ "model.layers.21.mamba.dt_bias": "model-00008-of-00014.safetensors",
223
+ "model.layers.21.mamba.in_proj.weight": "model-00008-of-00014.safetensors",
224
+ "model.layers.21.mamba.norm.weight": "model-00008-of-00014.safetensors",
225
+ "model.layers.21.mamba.out_proj.weight": "model-00008-of-00014.safetensors",
226
+ "model.layers.21.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
227
+ "model.layers.21.shared_mlp.input_linear.weight": "model-00008-of-00014.safetensors",
228
+ "model.layers.21.shared_mlp.output_linear.weight": "model-00008-of-00014.safetensors",
229
+ "model.layers.22.block_sparse_moe.input_linear.weight": "model-00008-of-00014.safetensors",
230
+ "model.layers.22.block_sparse_moe.output_linear.weight": "model-00008-of-00014.safetensors",
231
+ "model.layers.22.block_sparse_moe.router.layer.weight": "model-00008-of-00014.safetensors",
232
+ "model.layers.22.input_layernorm.weight": "model-00008-of-00014.safetensors",
233
+ "model.layers.22.mamba.A_log": "model-00008-of-00014.safetensors",
234
+ "model.layers.22.mamba.D": "model-00008-of-00014.safetensors",
235
+ "model.layers.22.mamba.conv1d.bias": "model-00008-of-00014.safetensors",
236
+ "model.layers.22.mamba.conv1d.weight": "model-00008-of-00014.safetensors",
237
+ "model.layers.22.mamba.dt_bias": "model-00008-of-00014.safetensors",
238
+ "model.layers.22.mamba.in_proj.weight": "model-00008-of-00014.safetensors",
239
+ "model.layers.22.mamba.norm.weight": "model-00008-of-00014.safetensors",
240
+ "model.layers.22.mamba.out_proj.weight": "model-00008-of-00014.safetensors",
241
+ "model.layers.22.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
242
+ "model.layers.22.shared_mlp.input_linear.weight": "model-00008-of-00014.safetensors",
243
+ "model.layers.22.shared_mlp.output_linear.weight": "model-00008-of-00014.safetensors",
244
+ "model.layers.23.block_sparse_moe.input_linear.weight": "model-00008-of-00014.safetensors",
245
+ "model.layers.23.block_sparse_moe.output_linear.weight": "model-00009-of-00014.safetensors",
246
+ "model.layers.23.block_sparse_moe.router.layer.weight": "model-00009-of-00014.safetensors",
247
+ "model.layers.23.input_layernorm.weight": "model-00009-of-00014.safetensors",
248
+ "model.layers.23.mamba.A_log": "model-00009-of-00014.safetensors",
249
+ "model.layers.23.mamba.D": "model-00009-of-00014.safetensors",
250
+ "model.layers.23.mamba.conv1d.bias": "model-00009-of-00014.safetensors",
251
+ "model.layers.23.mamba.conv1d.weight": "model-00009-of-00014.safetensors",
252
+ "model.layers.23.mamba.dt_bias": "model-00009-of-00014.safetensors",
253
+ "model.layers.23.mamba.in_proj.weight": "model-00009-of-00014.safetensors",
254
+ "model.layers.23.mamba.norm.weight": "model-00009-of-00014.safetensors",
255
+ "model.layers.23.mamba.out_proj.weight": "model-00009-of-00014.safetensors",
256
+ "model.layers.23.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
257
+ "model.layers.23.shared_mlp.input_linear.weight": "model-00009-of-00014.safetensors",
258
+ "model.layers.23.shared_mlp.output_linear.weight": "model-00009-of-00014.safetensors",
259
+ "model.layers.24.block_sparse_moe.input_linear.weight": "model-00009-of-00014.safetensors",
260
+ "model.layers.24.block_sparse_moe.output_linear.weight": "model-00009-of-00014.safetensors",
261
+ "model.layers.24.block_sparse_moe.router.layer.weight": "model-00009-of-00014.safetensors",
262
+ "model.layers.24.input_layernorm.weight": "model-00009-of-00014.safetensors",
263
+ "model.layers.24.mamba.A_log": "model-00009-of-00014.safetensors",
264
+ "model.layers.24.mamba.D": "model-00009-of-00014.safetensors",
265
+ "model.layers.24.mamba.conv1d.bias": "model-00009-of-00014.safetensors",
266
+ "model.layers.24.mamba.conv1d.weight": "model-00009-of-00014.safetensors",
267
+ "model.layers.24.mamba.dt_bias": "model-00009-of-00014.safetensors",
268
+ "model.layers.24.mamba.in_proj.weight": "model-00009-of-00014.safetensors",
269
+ "model.layers.24.mamba.norm.weight": "model-00009-of-00014.safetensors",
270
+ "model.layers.24.mamba.out_proj.weight": "model-00009-of-00014.safetensors",
271
+ "model.layers.24.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
272
+ "model.layers.24.shared_mlp.input_linear.weight": "model-00009-of-00014.safetensors",
273
+ "model.layers.24.shared_mlp.output_linear.weight": "model-00009-of-00014.safetensors",
274
+ "model.layers.25.block_sparse_moe.input_linear.weight": "model-00009-of-00014.safetensors",
275
+ "model.layers.25.block_sparse_moe.output_linear.weight": "model-00009-of-00014.safetensors",
276
+ "model.layers.25.block_sparse_moe.router.layer.weight": "model-00009-of-00014.safetensors",
277
+ "model.layers.25.input_layernorm.weight": "model-00009-of-00014.safetensors",
278
+ "model.layers.25.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
279
+ "model.layers.25.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
280
+ "model.layers.25.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
281
+ "model.layers.25.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
282
+ "model.layers.25.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
283
+ "model.layers.25.shared_mlp.input_linear.weight": "model-00009-of-00014.safetensors",
284
+ "model.layers.25.shared_mlp.output_linear.weight": "model-00009-of-00014.safetensors",
285
+ "model.layers.26.block_sparse_moe.input_linear.weight": "model-00009-of-00014.safetensors",
286
+ "model.layers.26.block_sparse_moe.output_linear.weight": "model-00010-of-00014.safetensors",
287
+ "model.layers.26.block_sparse_moe.router.layer.weight": "model-00010-of-00014.safetensors",
288
+ "model.layers.26.input_layernorm.weight": "model-00010-of-00014.safetensors",
289
+ "model.layers.26.mamba.A_log": "model-00010-of-00014.safetensors",
290
+ "model.layers.26.mamba.D": "model-00010-of-00014.safetensors",
291
+ "model.layers.26.mamba.conv1d.bias": "model-00010-of-00014.safetensors",
292
+ "model.layers.26.mamba.conv1d.weight": "model-00010-of-00014.safetensors",
293
+ "model.layers.26.mamba.dt_bias": "model-00010-of-00014.safetensors",
294
+ "model.layers.26.mamba.in_proj.weight": "model-00010-of-00014.safetensors",
295
+ "model.layers.26.mamba.norm.weight": "model-00010-of-00014.safetensors",
296
+ "model.layers.26.mamba.out_proj.weight": "model-00010-of-00014.safetensors",
297
+ "model.layers.26.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
298
+ "model.layers.26.shared_mlp.input_linear.weight": "model-00010-of-00014.safetensors",
299
+ "model.layers.26.shared_mlp.output_linear.weight": "model-00010-of-00014.safetensors",
300
+ "model.layers.27.block_sparse_moe.input_linear.weight": "model-00010-of-00014.safetensors",
301
+ "model.layers.27.block_sparse_moe.output_linear.weight": "model-00010-of-00014.safetensors",
302
+ "model.layers.27.block_sparse_moe.router.layer.weight": "model-00010-of-00014.safetensors",
303
+ "model.layers.27.input_layernorm.weight": "model-00010-of-00014.safetensors",
304
+ "model.layers.27.mamba.A_log": "model-00010-of-00014.safetensors",
305
+ "model.layers.27.mamba.D": "model-00010-of-00014.safetensors",
306
+ "model.layers.27.mamba.conv1d.bias": "model-00010-of-00014.safetensors",
307
+ "model.layers.27.mamba.conv1d.weight": "model-00010-of-00014.safetensors",
308
+ "model.layers.27.mamba.dt_bias": "model-00010-of-00014.safetensors",
309
+ "model.layers.27.mamba.in_proj.weight": "model-00010-of-00014.safetensors",
310
+ "model.layers.27.mamba.norm.weight": "model-00010-of-00014.safetensors",
311
+ "model.layers.27.mamba.out_proj.weight": "model-00010-of-00014.safetensors",
312
+ "model.layers.27.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
313
+ "model.layers.27.shared_mlp.input_linear.weight": "model-00010-of-00014.safetensors",
314
+ "model.layers.27.shared_mlp.output_linear.weight": "model-00010-of-00014.safetensors",
315
+ "model.layers.28.block_sparse_moe.input_linear.weight": "model-00010-of-00014.safetensors",
316
+ "model.layers.28.block_sparse_moe.output_linear.weight": "model-00010-of-00014.safetensors",
317
+ "model.layers.28.block_sparse_moe.router.layer.weight": "model-00010-of-00014.safetensors",
318
+ "model.layers.28.input_layernorm.weight": "model-00010-of-00014.safetensors",
319
+ "model.layers.28.mamba.A_log": "model-00010-of-00014.safetensors",
320
+ "model.layers.28.mamba.D": "model-00010-of-00014.safetensors",
321
+ "model.layers.28.mamba.conv1d.bias": "model-00010-of-00014.safetensors",
322
+ "model.layers.28.mamba.conv1d.weight": "model-00010-of-00014.safetensors",
323
+ "model.layers.28.mamba.dt_bias": "model-00010-of-00014.safetensors",
324
+ "model.layers.28.mamba.in_proj.weight": "model-00010-of-00014.safetensors",
325
+ "model.layers.28.mamba.norm.weight": "model-00010-of-00014.safetensors",
326
+ "model.layers.28.mamba.out_proj.weight": "model-00010-of-00014.safetensors",
327
+ "model.layers.28.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
328
+ "model.layers.28.shared_mlp.input_linear.weight": "model-00010-of-00014.safetensors",
329
+ "model.layers.28.shared_mlp.output_linear.weight": "model-00010-of-00014.safetensors",
330
+ "model.layers.29.block_sparse_moe.input_linear.weight": "model-00010-of-00014.safetensors",
331
+ "model.layers.29.block_sparse_moe.output_linear.weight": "model-00011-of-00014.safetensors",
332
+ "model.layers.29.block_sparse_moe.router.layer.weight": "model-00011-of-00014.safetensors",
333
+ "model.layers.29.input_layernorm.weight": "model-00011-of-00014.safetensors",
334
+ "model.layers.29.mamba.A_log": "model-00011-of-00014.safetensors",
335
+ "model.layers.29.mamba.D": "model-00011-of-00014.safetensors",
336
+ "model.layers.29.mamba.conv1d.bias": "model-00011-of-00014.safetensors",
337
+ "model.layers.29.mamba.conv1d.weight": "model-00011-of-00014.safetensors",
338
+ "model.layers.29.mamba.dt_bias": "model-00011-of-00014.safetensors",
339
+ "model.layers.29.mamba.in_proj.weight": "model-00011-of-00014.safetensors",
340
+ "model.layers.29.mamba.norm.weight": "model-00011-of-00014.safetensors",
341
+ "model.layers.29.mamba.out_proj.weight": "model-00011-of-00014.safetensors",
342
+ "model.layers.29.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
343
+ "model.layers.29.shared_mlp.input_linear.weight": "model-00011-of-00014.safetensors",
344
+ "model.layers.29.shared_mlp.output_linear.weight": "model-00011-of-00014.safetensors",
345
+ "model.layers.3.block_sparse_moe.input_linear.weight": "model-00002-of-00014.safetensors",
346
+ "model.layers.3.block_sparse_moe.output_linear.weight": "model-00002-of-00014.safetensors",
347
+ "model.layers.3.block_sparse_moe.router.layer.weight": "model-00002-of-00014.safetensors",
348
+ "model.layers.3.input_layernorm.weight": "model-00002-of-00014.safetensors",
349
+ "model.layers.3.mamba.A_log": "model-00002-of-00014.safetensors",
350
+ "model.layers.3.mamba.D": "model-00002-of-00014.safetensors",
351
+ "model.layers.3.mamba.conv1d.bias": "model-00002-of-00014.safetensors",
352
+ "model.layers.3.mamba.conv1d.weight": "model-00002-of-00014.safetensors",
353
+ "model.layers.3.mamba.dt_bias": "model-00002-of-00014.safetensors",
354
+ "model.layers.3.mamba.in_proj.weight": "model-00002-of-00014.safetensors",
355
+ "model.layers.3.mamba.norm.weight": "model-00002-of-00014.safetensors",
356
+ "model.layers.3.mamba.out_proj.weight": "model-00002-of-00014.safetensors",
357
+ "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
358
+ "model.layers.3.shared_mlp.input_linear.weight": "model-00002-of-00014.safetensors",
359
+ "model.layers.3.shared_mlp.output_linear.weight": "model-00002-of-00014.safetensors",
360
+ "model.layers.30.block_sparse_moe.input_linear.weight": "model-00011-of-00014.safetensors",
361
+ "model.layers.30.block_sparse_moe.output_linear.weight": "model-00011-of-00014.safetensors",
362
+ "model.layers.30.block_sparse_moe.router.layer.weight": "model-00011-of-00014.safetensors",
363
+ "model.layers.30.input_layernorm.weight": "model-00011-of-00014.safetensors",
364
+ "model.layers.30.mamba.A_log": "model-00011-of-00014.safetensors",
365
+ "model.layers.30.mamba.D": "model-00011-of-00014.safetensors",
366
+ "model.layers.30.mamba.conv1d.bias": "model-00011-of-00014.safetensors",
367
+ "model.layers.30.mamba.conv1d.weight": "model-00011-of-00014.safetensors",
368
+ "model.layers.30.mamba.dt_bias": "model-00011-of-00014.safetensors",
369
+ "model.layers.30.mamba.in_proj.weight": "model-00011-of-00014.safetensors",
370
+ "model.layers.30.mamba.norm.weight": "model-00011-of-00014.safetensors",
371
+ "model.layers.30.mamba.out_proj.weight": "model-00011-of-00014.safetensors",
372
+ "model.layers.30.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
373
+ "model.layers.30.shared_mlp.input_linear.weight": "model-00011-of-00014.safetensors",
374
+ "model.layers.30.shared_mlp.output_linear.weight": "model-00011-of-00014.safetensors",
375
+ "model.layers.31.block_sparse_moe.input_linear.weight": "model-00011-of-00014.safetensors",
376
+ "model.layers.31.block_sparse_moe.output_linear.weight": "model-00011-of-00014.safetensors",
377
+ "model.layers.31.block_sparse_moe.router.layer.weight": "model-00011-of-00014.safetensors",
378
+ "model.layers.31.input_layernorm.weight": "model-00011-of-00014.safetensors",
379
+ "model.layers.31.mamba.A_log": "model-00011-of-00014.safetensors",
380
+ "model.layers.31.mamba.D": "model-00011-of-00014.safetensors",
381
+ "model.layers.31.mamba.conv1d.bias": "model-00011-of-00014.safetensors",
382
+ "model.layers.31.mamba.conv1d.weight": "model-00011-of-00014.safetensors",
383
+ "model.layers.31.mamba.dt_bias": "model-00011-of-00014.safetensors",
384
+ "model.layers.31.mamba.in_proj.weight": "model-00011-of-00014.safetensors",
385
+ "model.layers.31.mamba.norm.weight": "model-00011-of-00014.safetensors",
386
+ "model.layers.31.mamba.out_proj.weight": "model-00011-of-00014.safetensors",
387
+ "model.layers.31.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
388
+ "model.layers.31.shared_mlp.input_linear.weight": "model-00011-of-00014.safetensors",
389
+ "model.layers.31.shared_mlp.output_linear.weight": "model-00011-of-00014.safetensors",
390
+ "model.layers.32.block_sparse_moe.input_linear.weight": "model-00011-of-00014.safetensors",
391
+ "model.layers.32.block_sparse_moe.output_linear.weight": "model-00012-of-00014.safetensors",
392
+ "model.layers.32.block_sparse_moe.router.layer.weight": "model-00012-of-00014.safetensors",
393
+ "model.layers.32.input_layernorm.weight": "model-00012-of-00014.safetensors",
394
+ "model.layers.32.mamba.A_log": "model-00012-of-00014.safetensors",
395
+ "model.layers.32.mamba.D": "model-00012-of-00014.safetensors",
396
+ "model.layers.32.mamba.conv1d.bias": "model-00012-of-00014.safetensors",
397
+ "model.layers.32.mamba.conv1d.weight": "model-00012-of-00014.safetensors",
398
+ "model.layers.32.mamba.dt_bias": "model-00012-of-00014.safetensors",
399
+ "model.layers.32.mamba.in_proj.weight": "model-00012-of-00014.safetensors",
400
+ "model.layers.32.mamba.norm.weight": "model-00012-of-00014.safetensors",
401
+ "model.layers.32.mamba.out_proj.weight": "model-00012-of-00014.safetensors",
402
+ "model.layers.32.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
403
+ "model.layers.32.shared_mlp.input_linear.weight": "model-00012-of-00014.safetensors",
404
+ "model.layers.32.shared_mlp.output_linear.weight": "model-00012-of-00014.safetensors",
405
+ "model.layers.33.block_sparse_moe.input_linear.weight": "model-00012-of-00014.safetensors",
406
+ "model.layers.33.block_sparse_moe.output_linear.weight": "model-00012-of-00014.safetensors",
407
+ "model.layers.33.block_sparse_moe.router.layer.weight": "model-00012-of-00014.safetensors",
408
+ "model.layers.33.input_layernorm.weight": "model-00012-of-00014.safetensors",
409
+ "model.layers.33.mamba.A_log": "model-00012-of-00014.safetensors",
410
+ "model.layers.33.mamba.D": "model-00012-of-00014.safetensors",
411
+ "model.layers.33.mamba.conv1d.bias": "model-00012-of-00014.safetensors",
412
+ "model.layers.33.mamba.conv1d.weight": "model-00012-of-00014.safetensors",
413
+ "model.layers.33.mamba.dt_bias": "model-00012-of-00014.safetensors",
414
+ "model.layers.33.mamba.in_proj.weight": "model-00012-of-00014.safetensors",
415
+ "model.layers.33.mamba.norm.weight": "model-00012-of-00014.safetensors",
416
+ "model.layers.33.mamba.out_proj.weight": "model-00012-of-00014.safetensors",
417
+ "model.layers.33.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
418
+ "model.layers.33.shared_mlp.input_linear.weight": "model-00012-of-00014.safetensors",
419
+ "model.layers.33.shared_mlp.output_linear.weight": "model-00012-of-00014.safetensors",
420
+ "model.layers.34.block_sparse_moe.input_linear.weight": "model-00012-of-00014.safetensors",
421
+ "model.layers.34.block_sparse_moe.output_linear.weight": "model-00012-of-00014.safetensors",
422
+ "model.layers.34.block_sparse_moe.router.layer.weight": "model-00012-of-00014.safetensors",
423
+ "model.layers.34.input_layernorm.weight": "model-00012-of-00014.safetensors",
424
+ "model.layers.34.mamba.A_log": "model-00012-of-00014.safetensors",
425
+ "model.layers.34.mamba.D": "model-00012-of-00014.safetensors",
426
+ "model.layers.34.mamba.conv1d.bias": "model-00012-of-00014.safetensors",
427
+ "model.layers.34.mamba.conv1d.weight": "model-00012-of-00014.safetensors",
428
+ "model.layers.34.mamba.dt_bias": "model-00012-of-00014.safetensors",
429
+ "model.layers.34.mamba.in_proj.weight": "model-00012-of-00014.safetensors",
430
+ "model.layers.34.mamba.norm.weight": "model-00012-of-00014.safetensors",
431
+ "model.layers.34.mamba.out_proj.weight": "model-00012-of-00014.safetensors",
432
+ "model.layers.34.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
433
+ "model.layers.34.shared_mlp.input_linear.weight": "model-00012-of-00014.safetensors",
434
+ "model.layers.34.shared_mlp.output_linear.weight": "model-00012-of-00014.safetensors",
435
+ "model.layers.35.block_sparse_moe.input_linear.weight": "model-00012-of-00014.safetensors",
436
+ "model.layers.35.block_sparse_moe.output_linear.weight": "model-00013-of-00014.safetensors",
437
+ "model.layers.35.block_sparse_moe.router.layer.weight": "model-00013-of-00014.safetensors",
438
+ "model.layers.35.input_layernorm.weight": "model-00013-of-00014.safetensors",
439
+ "model.layers.35.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
440
+ "model.layers.35.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
441
+ "model.layers.35.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
442
+ "model.layers.35.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
443
+ "model.layers.35.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
444
+ "model.layers.35.shared_mlp.input_linear.weight": "model-00013-of-00014.safetensors",
445
+ "model.layers.35.shared_mlp.output_linear.weight": "model-00013-of-00014.safetensors",
446
+ "model.layers.36.block_sparse_moe.input_linear.weight": "model-00013-of-00014.safetensors",
447
+ "model.layers.36.block_sparse_moe.output_linear.weight": "model-00013-of-00014.safetensors",
448
+ "model.layers.36.block_sparse_moe.router.layer.weight": "model-00013-of-00014.safetensors",
449
+ "model.layers.36.input_layernorm.weight": "model-00013-of-00014.safetensors",
450
+ "model.layers.36.mamba.A_log": "model-00013-of-00014.safetensors",
451
+ "model.layers.36.mamba.D": "model-00013-of-00014.safetensors",
452
+ "model.layers.36.mamba.conv1d.bias": "model-00013-of-00014.safetensors",
453
+ "model.layers.36.mamba.conv1d.weight": "model-00013-of-00014.safetensors",
454
+ "model.layers.36.mamba.dt_bias": "model-00013-of-00014.safetensors",
455
+ "model.layers.36.mamba.in_proj.weight": "model-00013-of-00014.safetensors",
456
+ "model.layers.36.mamba.norm.weight": "model-00013-of-00014.safetensors",
457
+ "model.layers.36.mamba.out_proj.weight": "model-00013-of-00014.safetensors",
458
+ "model.layers.36.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
459
+ "model.layers.36.shared_mlp.input_linear.weight": "model-00013-of-00014.safetensors",
460
+ "model.layers.36.shared_mlp.output_linear.weight": "model-00013-of-00014.safetensors",
461
+ "model.layers.37.block_sparse_moe.input_linear.weight": "model-00013-of-00014.safetensors",
462
+ "model.layers.37.block_sparse_moe.output_linear.weight": "model-00013-of-00014.safetensors",
463
+ "model.layers.37.block_sparse_moe.router.layer.weight": "model-00013-of-00014.safetensors",
464
+ "model.layers.37.input_layernorm.weight": "model-00013-of-00014.safetensors",
465
+ "model.layers.37.mamba.A_log": "model-00013-of-00014.safetensors",
466
+ "model.layers.37.mamba.D": "model-00013-of-00014.safetensors",
467
+ "model.layers.37.mamba.conv1d.bias": "model-00013-of-00014.safetensors",
468
+ "model.layers.37.mamba.conv1d.weight": "model-00013-of-00014.safetensors",
469
+ "model.layers.37.mamba.dt_bias": "model-00013-of-00014.safetensors",
470
+ "model.layers.37.mamba.in_proj.weight": "model-00013-of-00014.safetensors",
471
+ "model.layers.37.mamba.norm.weight": "model-00013-of-00014.safetensors",
472
+ "model.layers.37.mamba.out_proj.weight": "model-00013-of-00014.safetensors",
473
+ "model.layers.37.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
474
+ "model.layers.37.shared_mlp.input_linear.weight": "model-00013-of-00014.safetensors",
475
+ "model.layers.37.shared_mlp.output_linear.weight": "model-00013-of-00014.safetensors",
476
+ "model.layers.38.block_sparse_moe.input_linear.weight": "model-00013-of-00014.safetensors",
477
+ "model.layers.38.block_sparse_moe.output_linear.weight": "model-00014-of-00014.safetensors",
478
+ "model.layers.38.block_sparse_moe.router.layer.weight": "model-00014-of-00014.safetensors",
479
+ "model.layers.38.input_layernorm.weight": "model-00014-of-00014.safetensors",
480
+ "model.layers.38.mamba.A_log": "model-00014-of-00014.safetensors",
481
+ "model.layers.38.mamba.D": "model-00014-of-00014.safetensors",
482
+ "model.layers.38.mamba.conv1d.bias": "model-00014-of-00014.safetensors",
483
+ "model.layers.38.mamba.conv1d.weight": "model-00014-of-00014.safetensors",
484
+ "model.layers.38.mamba.dt_bias": "model-00014-of-00014.safetensors",
485
+ "model.layers.38.mamba.in_proj.weight": "model-00014-of-00014.safetensors",
486
+ "model.layers.38.mamba.norm.weight": "model-00014-of-00014.safetensors",
487
+ "model.layers.38.mamba.out_proj.weight": "model-00014-of-00014.safetensors",
488
+ "model.layers.38.post_attention_layernorm.weight": "model-00014-of-00014.safetensors",
489
+ "model.layers.38.shared_mlp.input_linear.weight": "model-00014-of-00014.safetensors",
490
+ "model.layers.38.shared_mlp.output_linear.weight": "model-00014-of-00014.safetensors",
491
+ "model.layers.39.block_sparse_moe.input_linear.weight": "model-00014-of-00014.safetensors",
492
+ "model.layers.39.block_sparse_moe.output_linear.weight": "model-00014-of-00014.safetensors",
493
+ "model.layers.39.block_sparse_moe.router.layer.weight": "model-00014-of-00014.safetensors",
494
+ "model.layers.39.input_layernorm.weight": "model-00014-of-00014.safetensors",
495
+ "model.layers.39.mamba.A_log": "model-00014-of-00014.safetensors",
496
+ "model.layers.39.mamba.D": "model-00014-of-00014.safetensors",
497
+ "model.layers.39.mamba.conv1d.bias": "model-00014-of-00014.safetensors",
498
+ "model.layers.39.mamba.conv1d.weight": "model-00014-of-00014.safetensors",
499
+ "model.layers.39.mamba.dt_bias": "model-00014-of-00014.safetensors",
500
+ "model.layers.39.mamba.in_proj.weight": "model-00014-of-00014.safetensors",
501
+ "model.layers.39.mamba.norm.weight": "model-00014-of-00014.safetensors",
502
+ "model.layers.39.mamba.out_proj.weight": "model-00014-of-00014.safetensors",
503
+ "model.layers.39.post_attention_layernorm.weight": "model-00014-of-00014.safetensors",
504
+ "model.layers.39.shared_mlp.input_linear.weight": "model-00014-of-00014.safetensors",
505
+ "model.layers.39.shared_mlp.output_linear.weight": "model-00014-of-00014.safetensors",
506
+ "model.layers.4.block_sparse_moe.input_linear.weight": "model-00002-of-00014.safetensors",
507
+ "model.layers.4.block_sparse_moe.output_linear.weight": "model-00002-of-00014.safetensors",
508
+ "model.layers.4.block_sparse_moe.router.layer.weight": "model-00002-of-00014.safetensors",
509
+ "model.layers.4.input_layernorm.weight": "model-00002-of-00014.safetensors",
510
+ "model.layers.4.mamba.A_log": "model-00002-of-00014.safetensors",
511
+ "model.layers.4.mamba.D": "model-00002-of-00014.safetensors",
512
+ "model.layers.4.mamba.conv1d.bias": "model-00002-of-00014.safetensors",
513
+ "model.layers.4.mamba.conv1d.weight": "model-00002-of-00014.safetensors",
514
+ "model.layers.4.mamba.dt_bias": "model-00002-of-00014.safetensors",
515
+ "model.layers.4.mamba.in_proj.weight": "model-00002-of-00014.safetensors",
516
+ "model.layers.4.mamba.norm.weight": "model-00002-of-00014.safetensors",
517
+ "model.layers.4.mamba.out_proj.weight": "model-00002-of-00014.safetensors",
518
+ "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
519
+ "model.layers.4.shared_mlp.input_linear.weight": "model-00002-of-00014.safetensors",
520
+ "model.layers.4.shared_mlp.output_linear.weight": "model-00002-of-00014.safetensors",
521
+ "model.layers.5.block_sparse_moe.input_linear.weight": "model-00002-of-00014.safetensors",
522
+ "model.layers.5.block_sparse_moe.output_linear.weight": "model-00003-of-00014.safetensors",
523
+ "model.layers.5.block_sparse_moe.router.layer.weight": "model-00003-of-00014.safetensors",
524
+ "model.layers.5.input_layernorm.weight": "model-00003-of-00014.safetensors",
525
+ "model.layers.5.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
526
+ "model.layers.5.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
527
+ "model.layers.5.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
528
+ "model.layers.5.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
529
+ "model.layers.5.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
530
+ "model.layers.5.shared_mlp.input_linear.weight": "model-00003-of-00014.safetensors",
531
+ "model.layers.5.shared_mlp.output_linear.weight": "model-00003-of-00014.safetensors",
532
+ "model.layers.6.block_sparse_moe.input_linear.weight": "model-00003-of-00014.safetensors",
533
+ "model.layers.6.block_sparse_moe.output_linear.weight": "model-00003-of-00014.safetensors",
534
+ "model.layers.6.block_sparse_moe.router.layer.weight": "model-00003-of-00014.safetensors",
535
+ "model.layers.6.input_layernorm.weight": "model-00003-of-00014.safetensors",
536
+ "model.layers.6.mamba.A_log": "model-00003-of-00014.safetensors",
537
+ "model.layers.6.mamba.D": "model-00003-of-00014.safetensors",
538
+ "model.layers.6.mamba.conv1d.bias": "model-00003-of-00014.safetensors",
539
+ "model.layers.6.mamba.conv1d.weight": "model-00003-of-00014.safetensors",
540
+ "model.layers.6.mamba.dt_bias": "model-00003-of-00014.safetensors",
541
+ "model.layers.6.mamba.in_proj.weight": "model-00003-of-00014.safetensors",
542
+ "model.layers.6.mamba.norm.weight": "model-00003-of-00014.safetensors",
543
+ "model.layers.6.mamba.out_proj.weight": "model-00003-of-00014.safetensors",
544
+ "model.layers.6.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
545
+ "model.layers.6.shared_mlp.input_linear.weight": "model-00003-of-00014.safetensors",
546
+ "model.layers.6.shared_mlp.output_linear.weight": "model-00003-of-00014.safetensors",
547
+ "model.layers.7.block_sparse_moe.input_linear.weight": "model-00003-of-00014.safetensors",
548
+ "model.layers.7.block_sparse_moe.output_linear.weight": "model-00003-of-00014.safetensors",
549
+ "model.layers.7.block_sparse_moe.router.layer.weight": "model-00003-of-00014.safetensors",
550
+ "model.layers.7.input_layernorm.weight": "model-00003-of-00014.safetensors",
551
+ "model.layers.7.mamba.A_log": "model-00003-of-00014.safetensors",
552
+ "model.layers.7.mamba.D": "model-00003-of-00014.safetensors",
553
+ "model.layers.7.mamba.conv1d.bias": "model-00003-of-00014.safetensors",
554
+ "model.layers.7.mamba.conv1d.weight": "model-00003-of-00014.safetensors",
555
+ "model.layers.7.mamba.dt_bias": "model-00003-of-00014.safetensors",
556
+ "model.layers.7.mamba.in_proj.weight": "model-00003-of-00014.safetensors",
557
+ "model.layers.7.mamba.norm.weight": "model-00003-of-00014.safetensors",
558
+ "model.layers.7.mamba.out_proj.weight": "model-00003-of-00014.safetensors",
559
+ "model.layers.7.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
560
+ "model.layers.7.shared_mlp.input_linear.weight": "model-00003-of-00014.safetensors",
561
+ "model.layers.7.shared_mlp.output_linear.weight": "model-00003-of-00014.safetensors",
562
+ "model.layers.8.block_sparse_moe.input_linear.weight": "model-00003-of-00014.safetensors",
563
+ "model.layers.8.block_sparse_moe.output_linear.weight": "model-00004-of-00014.safetensors",
564
+ "model.layers.8.block_sparse_moe.router.layer.weight": "model-00004-of-00014.safetensors",
565
+ "model.layers.8.input_layernorm.weight": "model-00004-of-00014.safetensors",
566
+ "model.layers.8.mamba.A_log": "model-00004-of-00014.safetensors",
567
+ "model.layers.8.mamba.D": "model-00004-of-00014.safetensors",
568
+ "model.layers.8.mamba.conv1d.bias": "model-00004-of-00014.safetensors",
569
+ "model.layers.8.mamba.conv1d.weight": "model-00004-of-00014.safetensors",
570
+ "model.layers.8.mamba.dt_bias": "model-00004-of-00014.safetensors",
571
+ "model.layers.8.mamba.in_proj.weight": "model-00004-of-00014.safetensors",
572
+ "model.layers.8.mamba.norm.weight": "model-00004-of-00014.safetensors",
573
+ "model.layers.8.mamba.out_proj.weight": "model-00004-of-00014.safetensors",
574
+ "model.layers.8.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
575
+ "model.layers.8.shared_mlp.input_linear.weight": "model-00004-of-00014.safetensors",
576
+ "model.layers.8.shared_mlp.output_linear.weight": "model-00004-of-00014.safetensors",
577
+ "model.layers.9.block_sparse_moe.input_linear.weight": "model-00004-of-00014.safetensors",
578
+ "model.layers.9.block_sparse_moe.output_linear.weight": "model-00004-of-00014.safetensors",
579
+ "model.layers.9.block_sparse_moe.router.layer.weight": "model-00004-of-00014.safetensors",
580
+ "model.layers.9.input_layernorm.weight": "model-00004-of-00014.safetensors",
581
+ "model.layers.9.mamba.A_log": "model-00004-of-00014.safetensors",
582
+ "model.layers.9.mamba.D": "model-00004-of-00014.safetensors",
583
+ "model.layers.9.mamba.conv1d.bias": "model-00004-of-00014.safetensors",
584
+ "model.layers.9.mamba.conv1d.weight": "model-00004-of-00014.safetensors",
585
+ "model.layers.9.mamba.dt_bias": "model-00004-of-00014.safetensors",
586
+ "model.layers.9.mamba.in_proj.weight": "model-00004-of-00014.safetensors",
587
+ "model.layers.9.mamba.norm.weight": "model-00004-of-00014.safetensors",
588
+ "model.layers.9.mamba.out_proj.weight": "model-00004-of-00014.safetensors",
589
+ "model.layers.9.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
590
+ "model.layers.9.shared_mlp.input_linear.weight": "model-00004-of-00014.safetensors",
591
+ "model.layers.9.shared_mlp.output_linear.weight": "model-00004-of-00014.safetensors",
592
+ "model.norm.weight": "model-00014-of-00014.safetensors"
593
+ }
594
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|end_of_text|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end_of_text|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|pad|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|unk|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "100256": {
6
+ "content": "<|pad|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "100257": {
14
+ "content": "<|end_of_text|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "100258": {
22
+ "content": "<|fim_prefix|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "100259": {
30
+ "content": "<|fim_middle|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": false
36
+ },
37
+ "100260": {
38
+ "content": "<|fim_suffix|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ },
45
+ "100261": {
46
+ "content": "<|fim_pad|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": false
52
+ },
53
+ "100262": {
54
+ "content": "<|filename|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": false
60
+ },
61
+ "100263": {
62
+ "content": "<|reponame|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": false
68
+ },
69
+ "100264": {
70
+ "content": "<|start_of_role|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "100265": {
78
+ "content": "<|end_of_role|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "100266": {
86
+ "content": "<|unused_1|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "100267": {
94
+ "content": "<|start_of_plugin|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "100268": {
102
+ "content": "<|end_of_plugin|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "100269": {
110
+ "content": "<|unk|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "100270": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "100271": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "100272": {
134
+ "content": "<tool_response>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "100273": {
142
+ "content": "</tool_response>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "100274": {
150
+ "content": "<think>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "100275": {
158
+ "content": "</think>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "100276": {
166
+ "content": "<think_on>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": true
172
+ },
173
+ "100277": {
174
+ "content": "<think_off>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": true
180
+ },
181
+ "100278": {
182
+ "content": "<schema>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "100279": {
190
+ "content": "</schema>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "100280": {
198
+ "content": "<tools>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "100281": {
206
+ "content": "</tools>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ },
213
+ "100282": {
214
+ "content": "<documents>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "100283": {
222
+ "content": "</documents>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "100284": {
230
+ "content": "<|unused_15|>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ },
237
+ "100285": {
238
+ "content": "<|unused_16|>",
239
+ "lstrip": false,
240
+ "normalized": false,
241
+ "rstrip": false,
242
+ "single_word": false,
243
+ "special": true
244
+ },
245
+ "100286": {
246
+ "content": "<|unused_17|>",
247
+ "lstrip": false,
248
+ "normalized": false,
249
+ "rstrip": false,
250
+ "single_word": false,
251
+ "special": true
252
+ },
253
+ "100287": {
254
+ "content": "<|unused_18|>",
255
+ "lstrip": false,
256
+ "normalized": false,
257
+ "rstrip": false,
258
+ "single_word": false,
259
+ "special": true
260
+ },
261
+ "100288": {
262
+ "content": "<|unused_19|>",
263
+ "lstrip": false,
264
+ "normalized": false,
265
+ "rstrip": false,
266
+ "single_word": false,
267
+ "special": true
268
+ },
269
+ "100289": {
270
+ "content": "<|unused_20|>",
271
+ "lstrip": false,
272
+ "normalized": false,
273
+ "rstrip": false,
274
+ "single_word": false,
275
+ "special": true
276
+ },
277
+ "100290": {
278
+ "content": "<|unused_21|>",
279
+ "lstrip": false,
280
+ "normalized": false,
281
+ "rstrip": false,
282
+ "single_word": false,
283
+ "special": true
284
+ },
285
+ "100291": {
286
+ "content": "<|unused_22|>",
287
+ "lstrip": false,
288
+ "normalized": false,
289
+ "rstrip": false,
290
+ "single_word": false,
291
+ "special": true
292
+ },
293
+ "100292": {
294
+ "content": "<|unused_23|>",
295
+ "lstrip": false,
296
+ "normalized": false,
297
+ "rstrip": false,
298
+ "single_word": false,
299
+ "special": true
300
+ },
301
+ "100293": {
302
+ "content": "<|unused_24|>",
303
+ "lstrip": false,
304
+ "normalized": false,
305
+ "rstrip": false,
306
+ "single_word": false,
307
+ "special": true
308
+ },
309
+ "100294": {
310
+ "content": "<|unused_25|>",
311
+ "lstrip": false,
312
+ "normalized": false,
313
+ "rstrip": false,
314
+ "single_word": false,
315
+ "special": true
316
+ },
317
+ "100295": {
318
+ "content": "<|unused_26|>",
319
+ "lstrip": false,
320
+ "normalized": false,
321
+ "rstrip": false,
322
+ "single_word": false,
323
+ "special": true
324
+ },
325
+ "100296": {
326
+ "content": "<|unused_27|>",
327
+ "lstrip": false,
328
+ "normalized": false,
329
+ "rstrip": false,
330
+ "single_word": false,
331
+ "special": true
332
+ },
333
+ "100297": {
334
+ "content": "<|unused_28|>",
335
+ "lstrip": false,
336
+ "normalized": false,
337
+ "rstrip": false,
338
+ "single_word": false,
339
+ "special": true
340
+ },
341
+ "100298": {
342
+ "content": "<|unused_29|>",
343
+ "lstrip": false,
344
+ "normalized": false,
345
+ "rstrip": false,
346
+ "single_word": false,
347
+ "special": true
348
+ },
349
+ "100299": {
350
+ "content": "<|unused_30|>",
351
+ "lstrip": false,
352
+ "normalized": false,
353
+ "rstrip": false,
354
+ "single_word": false,
355
+ "special": true
356
+ },
357
+ "100300": {
358
+ "content": "<|unused_31|>",
359
+ "lstrip": false,
360
+ "normalized": false,
361
+ "rstrip": false,
362
+ "single_word": false,
363
+ "special": true
364
+ },
365
+ "100301": {
366
+ "content": "<|unused_32|>",
367
+ "lstrip": false,
368
+ "normalized": false,
369
+ "rstrip": false,
370
+ "single_word": false,
371
+ "special": true
372
+ },
373
+ "100302": {
374
+ "content": "<|unused_33|>",
375
+ "lstrip": false,
376
+ "normalized": false,
377
+ "rstrip": false,
378
+ "single_word": false,
379
+ "special": true
380
+ },
381
+ "100303": {
382
+ "content": "<|unused_34|>",
383
+ "lstrip": false,
384
+ "normalized": false,
385
+ "rstrip": false,
386
+ "single_word": false,
387
+ "special": true
388
+ },
389
+ "100304": {
390
+ "content": "<|unused_35|>",
391
+ "lstrip": false,
392
+ "normalized": false,
393
+ "rstrip": false,
394
+ "single_word": false,
395
+ "special": true
396
+ },
397
+ "100305": {
398
+ "content": "<|unused_36|>",
399
+ "lstrip": false,
400
+ "normalized": false,
401
+ "rstrip": false,
402
+ "single_word": false,
403
+ "special": true
404
+ },
405
+ "100306": {
406
+ "content": "<|unused_37|>",
407
+ "lstrip": false,
408
+ "normalized": false,
409
+ "rstrip": false,
410
+ "single_word": false,
411
+ "special": true
412
+ },
413
+ "100307": {
414
+ "content": "<|unused_38|>",
415
+ "lstrip": false,
416
+ "normalized": false,
417
+ "rstrip": false,
418
+ "single_word": false,
419
+ "special": true
420
+ },
421
+ "100308": {
422
+ "content": "<|unused_39|>",
423
+ "lstrip": false,
424
+ "normalized": false,
425
+ "rstrip": false,
426
+ "single_word": false,
427
+ "special": true
428
+ },
429
+ "100309": {
430
+ "content": "<|unused_40|>",
431
+ "lstrip": false,
432
+ "normalized": false,
433
+ "rstrip": false,
434
+ "single_word": false,
435
+ "special": true
436
+ },
437
+ "100310": {
438
+ "content": "<|unused_41|>",
439
+ "lstrip": false,
440
+ "normalized": false,
441
+ "rstrip": false,
442
+ "single_word": false,
443
+ "special": true
444
+ },
445
+ "100311": {
446
+ "content": "<|unused_42|>",
447
+ "lstrip": false,
448
+ "normalized": false,
449
+ "rstrip": false,
450
+ "single_word": false,
451
+ "special": true
452
+ },
453
+ "100312": {
454
+ "content": "<|unused_43|>",
455
+ "lstrip": false,
456
+ "normalized": false,
457
+ "rstrip": false,
458
+ "single_word": false,
459
+ "special": true
460
+ },
461
+ "100313": {
462
+ "content": "<|unused_44|>",
463
+ "lstrip": false,
464
+ "normalized": false,
465
+ "rstrip": false,
466
+ "single_word": false,
467
+ "special": true
468
+ },
469
+ "100314": {
470
+ "content": "<|unused_45|>",
471
+ "lstrip": false,
472
+ "normalized": false,
473
+ "rstrip": false,
474
+ "single_word": false,
475
+ "special": true
476
+ },
477
+ "100315": {
478
+ "content": "<|unused_46|>",
479
+ "lstrip": false,
480
+ "normalized": false,
481
+ "rstrip": false,
482
+ "single_word": false,
483
+ "special": true
484
+ },
485
+ "100316": {
486
+ "content": "<|unused_47|>",
487
+ "lstrip": false,
488
+ "normalized": false,
489
+ "rstrip": false,
490
+ "single_word": false,
491
+ "special": true
492
+ },
493
+ "100317": {
494
+ "content": "<|unused_48|>",
495
+ "lstrip": false,
496
+ "normalized": false,
497
+ "rstrip": false,
498
+ "single_word": false,
499
+ "special": true
500
+ },
501
+ "100318": {
502
+ "content": "<|unused_49|>",
503
+ "lstrip": false,
504
+ "normalized": false,
505
+ "rstrip": false,
506
+ "single_word": false,
507
+ "special": true
508
+ },
509
+ "100319": {
510
+ "content": "<|unused_50|>",
511
+ "lstrip": false,
512
+ "normalized": false,
513
+ "rstrip": false,
514
+ "single_word": false,
515
+ "special": true
516
+ },
517
+ "100320": {
518
+ "content": "<|unused_51|>",
519
+ "lstrip": false,
520
+ "normalized": false,
521
+ "rstrip": false,
522
+ "single_word": false,
523
+ "special": true
524
+ },
525
+ "100321": {
526
+ "content": "<|unused_52|>",
527
+ "lstrip": false,
528
+ "normalized": false,
529
+ "rstrip": false,
530
+ "single_word": false,
531
+ "special": true
532
+ },
533
+ "100322": {
534
+ "content": "<|unused_53|>",
535
+ "lstrip": false,
536
+ "normalized": false,
537
+ "rstrip": false,
538
+ "single_word": false,
539
+ "special": true
540
+ },
541
+ "100323": {
542
+ "content": "<|unused_54|>",
543
+ "lstrip": false,
544
+ "normalized": false,
545
+ "rstrip": false,
546
+ "single_word": false,
547
+ "special": true
548
+ },
549
+ "100324": {
550
+ "content": "<|unused_55|>",
551
+ "lstrip": false,
552
+ "normalized": false,
553
+ "rstrip": false,
554
+ "single_word": false,
555
+ "special": true
556
+ },
557
+ "100325": {
558
+ "content": "<|unused_56|>",
559
+ "lstrip": false,
560
+ "normalized": false,
561
+ "rstrip": false,
562
+ "single_word": false,
563
+ "special": true
564
+ },
565
+ "100326": {
566
+ "content": "<|unused_57|>",
567
+ "lstrip": false,
568
+ "normalized": false,
569
+ "rstrip": false,
570
+ "single_word": false,
571
+ "special": true
572
+ },
573
+ "100327": {
574
+ "content": "<|unused_58|>",
575
+ "lstrip": false,
576
+ "normalized": false,
577
+ "rstrip": false,
578
+ "single_word": false,
579
+ "special": true
580
+ },
581
+ "100328": {
582
+ "content": "<|unused_59|>",
583
+ "lstrip": false,
584
+ "normalized": false,
585
+ "rstrip": false,
586
+ "single_word": false,
587
+ "special": true
588
+ },
589
+ "100329": {
590
+ "content": "<|unused_60|>",
591
+ "lstrip": false,
592
+ "normalized": false,
593
+ "rstrip": false,
594
+ "single_word": false,
595
+ "special": true
596
+ },
597
+ "100330": {
598
+ "content": "<|unused_61|>",
599
+ "lstrip": false,
600
+ "normalized": false,
601
+ "rstrip": false,
602
+ "single_word": false,
603
+ "special": true
604
+ },
605
+ "100331": {
606
+ "content": "<|unused_62|>",
607
+ "lstrip": false,
608
+ "normalized": false,
609
+ "rstrip": false,
610
+ "single_word": false,
611
+ "special": true
612
+ },
613
+ "100332": {
614
+ "content": "<|unused_63|>",
615
+ "lstrip": false,
616
+ "normalized": false,
617
+ "rstrip": false,
618
+ "single_word": false,
619
+ "special": true
620
+ },
621
+ "100333": {
622
+ "content": "<|unused_64|>",
623
+ "lstrip": false,
624
+ "normalized": false,
625
+ "rstrip": false,
626
+ "single_word": false,
627
+ "special": true
628
+ },
629
+ "100334": {
630
+ "content": "<|unused_65|>",
631
+ "lstrip": false,
632
+ "normalized": false,
633
+ "rstrip": false,
634
+ "single_word": false,
635
+ "special": true
636
+ },
637
+ "100335": {
638
+ "content": "<|unused_66|>",
639
+ "lstrip": false,
640
+ "normalized": false,
641
+ "rstrip": false,
642
+ "single_word": false,
643
+ "special": true
644
+ },
645
+ "100336": {
646
+ "content": "<|unused_67|>",
647
+ "lstrip": false,
648
+ "normalized": false,
649
+ "rstrip": false,
650
+ "single_word": false,
651
+ "special": true
652
+ },
653
+ "100337": {
654
+ "content": "<|unused_68|>",
655
+ "lstrip": false,
656
+ "normalized": false,
657
+ "rstrip": false,
658
+ "single_word": false,
659
+ "special": true
660
+ },
661
+ "100338": {
662
+ "content": "<|unused_69|>",
663
+ "lstrip": false,
664
+ "normalized": false,
665
+ "rstrip": false,
666
+ "single_word": false,
667
+ "special": true
668
+ },
669
+ "100339": {
670
+ "content": "<|unused_70|>",
671
+ "lstrip": false,
672
+ "normalized": false,
673
+ "rstrip": false,
674
+ "single_word": false,
675
+ "special": true
676
+ },
677
+ "100340": {
678
+ "content": "<|unused_71|>",
679
+ "lstrip": false,
680
+ "normalized": false,
681
+ "rstrip": false,
682
+ "single_word": false,
683
+ "special": true
684
+ },
685
+ "100341": {
686
+ "content": "<|unused_72|>",
687
+ "lstrip": false,
688
+ "normalized": false,
689
+ "rstrip": false,
690
+ "single_word": false,
691
+ "special": true
692
+ },
693
+ "100342": {
694
+ "content": "<|unused_73|>",
695
+ "lstrip": false,
696
+ "normalized": false,
697
+ "rstrip": false,
698
+ "single_word": false,
699
+ "special": true
700
+ },
701
+ "100343": {
702
+ "content": "<|unused_74|>",
703
+ "lstrip": false,
704
+ "normalized": false,
705
+ "rstrip": false,
706
+ "single_word": false,
707
+ "special": true
708
+ },
709
+ "100344": {
710
+ "content": "<|unused_75|>",
711
+ "lstrip": false,
712
+ "normalized": false,
713
+ "rstrip": false,
714
+ "single_word": false,
715
+ "special": true
716
+ },
717
+ "100345": {
718
+ "content": "<|unused_76|>",
719
+ "lstrip": false,
720
+ "normalized": false,
721
+ "rstrip": false,
722
+ "single_word": false,
723
+ "special": true
724
+ },
725
+ "100346": {
726
+ "content": "<|unused_77|>",
727
+ "lstrip": false,
728
+ "normalized": false,
729
+ "rstrip": false,
730
+ "single_word": false,
731
+ "special": true
732
+ },
733
+ "100347": {
734
+ "content": "<|unused_78|>",
735
+ "lstrip": false,
736
+ "normalized": false,
737
+ "rstrip": false,
738
+ "single_word": false,
739
+ "special": true
740
+ },
741
+ "100348": {
742
+ "content": "<|unused_79|>",
743
+ "lstrip": false,
744
+ "normalized": false,
745
+ "rstrip": false,
746
+ "single_word": false,
747
+ "special": true
748
+ },
749
+ "100349": {
750
+ "content": "<|unused_80|>",
751
+ "lstrip": false,
752
+ "normalized": false,
753
+ "rstrip": false,
754
+ "single_word": false,
755
+ "special": true
756
+ },
757
+ "100350": {
758
+ "content": "<|unused_81|>",
759
+ "lstrip": false,
760
+ "normalized": false,
761
+ "rstrip": false,
762
+ "single_word": false,
763
+ "special": true
764
+ },
765
+ "100351": {
766
+ "content": "<|unused_82|>",
767
+ "lstrip": false,
768
+ "normalized": false,
769
+ "rstrip": false,
770
+ "single_word": false,
771
+ "special": true
772
+ }
773
+ },
774
+ "bos_token": "<|end_of_text|>",
775
+ "clean_up_tokenization_spaces": false,
776
+ "eos_token": "<|end_of_text|>",
777
+ "extra_special_tokens": {},
778
+ "model_max_length": 131072,
779
+ "pad_token": "<|pad|>",
780
+ "padding_side": "left",
781
+ "tokenizer_class": "GPT2Tokenizer",
782
+ "unk_token": "<|unk|>",
783
+ "chat_template": "{%- set tools_system_message_prefix = 'You are a helpful assistant with access to the following tools. You may call one or more tools to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>' %}\n{%- set tools_system_message_suffix = '\\n</tools>\\n\\nFor each tool 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>. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.' %}\n{%- set documents_system_message_prefix = 'You are a helpful assistant with access to the following documents. You may use one or more documents to assist with the user query.\\n\\nYou are given a list of documents within <documents></documents> XML tags:\\n<documents>' %}\n{%- set documents_system_message_suffix = '\\n</documents>\\n\\nWrite the response to the user\\'s input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.' %}\n{%- if available_tools is defined and available_tools %}\n {%- set tools = available_tools %}\n{%- endif %}\n{%- set ns = namespace(tools_system_message=tools_system_message_prefix,\n documents_system_message=documents_system_message_prefix,\n system_message=''\n ) %}\n{%- if tools %}\n {%- for tool in tools %}\n {%- set ns.tools_system_message = ns.tools_system_message + '\\n' + (tool | tojson) %}\n {%- endfor %}\n {%- set ns.tools_system_message = ns.tools_system_message + tools_system_message_suffix %}\n{%- else %}\n {%- set ns.tools_system_message = '' %}\n{%- endif %}\n{%- if documents %}\n {%- for document in documents %}\n {%- set ns.documents_system_message = ns.documents_system_message + '\\n' + (document | tojson) %}\n {%- endfor %}\n {%- set ns.documents_system_message = ns.documents_system_message + documents_system_message_suffix %}\n{%- else %}\n {%- set ns.documents_system_message = '' %}\n{%- endif %}\n{%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {%- set ns.system_message = messages[0].content %}\n {%- elif messages[0].content is iterable %}\n {%- for entry in messages[0].content %}\n {%- if entry.type== 'text' %}\n {%- if ns.system_message != '' %}\n {%- set ns.system_message = ns.system_message + '\\n' %}\n {%- endif %}\n {%- set ns.system_message = ns.system_message + entry.text %}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if tools and documents %}\n {%- set ns.system_message = ns.system_message + '\\n\\n' + ns.tools_system_message + '\\n\\n' + ns.documents_system_message %}\n {%- elif tools %}\n {%- set ns.system_message = ns.system_message + '\\n\\n' + ns.tools_system_message %}\n {%- elif documents %}\n {%- set ns.system_message = ns.system_message + '\\n\\n' + ns.documents_system_message %}\n {%- endif %}\n{%- else %}\n {%- if tools and documents %}\n {%- set ns.system_message = ns.tools_system_message + '\\n\\n' + ns.documents_system_message %}\n {%- elif tools %}\n {%- set ns.system_message = ns.tools_system_message %}\n {%- elif documents %}\n {%- set ns.system_message = ns.documents_system_message %}\n {%- endif %}\n{%- endif %}\n{%- if ns.system_message %}\n {{- '<|start_of_role|>system<|end_of_role|>' + ns.system_message + '<|end_of_text|>\\n' }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = namespace(val='') %}\n {%- if message.content is string %}\n {%- set content.val = message.content %}\n {%- else %}\n {%- if message.content is iterable %}\n {%- for entry in message.content %}\n {%- if entry.type== 'text' %}\n {%- if content.val != '' %}\n {%- set content.val = content.val + '\\n' %}\n {%- endif %}\n {%- set content.val = content.val + entry.text %}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- endif %}\n {%- if (message.role == 'user') or (message.role == 'system' and not loop.first) %}\n {{- '<|start_of_role|>' + message.role + '<|end_of_role|>' + content.val + '<|end_of_text|>\\n' }}\n {%- elif message.role == 'assistant' %}\n {{- '<|start_of_role|>' + message.role + '<|end_of_role|>' + content.val }}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content.val) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|end_of_text|>\\n' }}\n {%- elif message.role == 'tool' %}\n {%- if loop.first or (messages[loop.index0 - 1].role != 'tool') %}\n {{- '<|start_of_role|>user<|end_of_role|>' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content.val }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != 'tool') %}\n {{- '<|end_of_text|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_of_role|>assistant<|end_of_role|>' }}\n{%- endif %}"
784
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff