Qwen
/

littlebird13 commited on
Commit
f8c293d
·
verified ·
1 Parent(s): 90e3864

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
.msc ADDED
Binary file (1.5 kB). View file
 
.mv ADDED
@@ -0,0 +1 @@
 
 
1
+ Revision:master,CreatedAt:1745771619
README.md CHANGED
@@ -1,3 +1,334 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Qwen3-14B
2
+
3
+ ## Qwen3 Highlights
4
+
5
+ Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features:
6
+
7
+ - **Uniquely support of seamless switching between thinking mode** (for complex logical reasoning, math, and coding) and **non-thinking mode** (for efficient, general-purpose dialogue) **within single model**, ensuring optimal performance across various scenarios.
8
+ - **Significantly enhancement in its reasoning capabilities**, surpassing previous QwQ (in thinking mode) and Qwen2.5 instruct models (in non-thinking mode) on mathematics, code generation, and commonsense logical reasoning.
9
+ - **Superior human preference alignment**, excelling in creative writing, role-playing, multi-turn dialogues, and instruction following, to deliver a more natural, engaging, and immersive conversational experience.
10
+ - **Expertise in agent capabilities**, enabling precise integration with external tools in both thinking and unthinking modes and achieving leading performance among open-source models in complex agent-based tasks.
11
+ - **Support of 100+ languages and dialects** with strong capabilities for **multilingual instruction following** and **translation**.
12
+
13
+ ## Model Overview
14
+
15
+ **Qwen3-14B** has the following features:
16
+ - Type: Causal Language Models
17
+ - Training Stage: Pretraining & Post-training
18
+ - Number of Parameters: 14.8B
19
+ - Number of Paramaters (Non-Embedding): 13.2B
20
+ - Number of Layers: 40
21
+ - Number of Attention Heads (GQA): 40 for Q and 8 for KV
22
+ - Context Length: 32,768 natively and [131,072 tokens with YaRN](#processing-long-texts).
23
+
24
+ For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our [blog](https://qwenlm.github.io/blog/qwen3/), [GitHub](https://github.com/QwenLM/Qwen3), and [Documentation](https://qwen.readthedocs.io/en/latest/).
25
+
26
+ ## Quickstart
27
+
28
+ The code of Qwen3 has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
29
+
30
+ With `transformers<4.51.0`, you will encounter the following error:
31
+ ```
32
+ KeyError: 'qwen3'
33
+ ```
34
+
35
+ The following contains a code snippet illustrating how to use the model generate content based on given inputs.
36
+ ```python
37
+ from transformers import AutoModelForCausalLM, AutoTokenizer
38
+
39
+ model_name = "Qwen/Qwen3-14B"
40
+
41
+ # load the tokenizer and the model
42
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
43
+ model = AutoModelForCausalLM.from_pretrained(
44
+ model_name,
45
+ torch_dtype="auto",
46
+ device_map="auto"
47
+ )
48
+
49
+ # prepare the model input
50
+ prompt = "Give me a short introduction to large language model."
51
+ messages = [
52
+ {"role": "user", "content": prompt}
53
+ ]
54
+ text = tokenizer.apply_chat_template(
55
+ messages,
56
+ tokenize=False,
57
+ add_generation_prompt=True,
58
+ enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
59
+ )
60
+ model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
61
+
62
+ # conduct text completion
63
+ generated_ids = model.generate(
64
+ **model_inputs,
65
+ max_new_tokens=32768
66
+ )
67
+ output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
68
+
69
+ # parsing thinking content
70
+ try:
71
+ # rindex finding 151668 (</think>)
72
+ index = len(output_ids) - output_ids[::-1].index(151668)
73
+ except ValueError:
74
+ index = 0
75
+
76
+ thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
77
+ content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
78
+
79
+ print("thinking content:", thinking_content)
80
+ print("content:", content)
81
+ ```
82
+
83
+ For deployment, you can use `vllm>=0.8.5` or `sglang>=0.4.5.post2` to create an OpenAI-compatible API endpoint:
84
+ - vLLM:
85
+ ```shell
86
+ vllm serve Qwen/Qwen3-14B --enable-reasoning --reasoning-parser deepseek_r1
87
+ ```
88
+ - SGLang:
89
+ ```shell
90
+ python -m sglang.launch_server --model-path Qwen/Qwen3-14B --reasoning-parser deepseek-r1
91
+ ```
92
+
93
+ ## Switching Between Thinking and Non-Thinking Mode
94
+
95
+ > [!TIP]
96
+ > The `enable_thinking` switch is also available in APIs created by vLLM and SGLang.
97
+ > Please refer to [our documentation](https://qwen.readthedocs.io/) for more details.
98
+
99
+ ### `enable_thinking=True`
100
+
101
+ By default, Qwen3 has thinking capabilities enabled, similar to QwQ-32B. This means the model will use its reasoning abilities to enhance the quality of generated responses. For example, when explicitly setting `enable_thinking=True` or leaving it as the default value in `tokenizer.apply_chat_template`, the model will engage its thinking mode.
102
+
103
+ ```python
104
+ text = tokenizer.apply_chat_template(
105
+ messages,
106
+ tokenize=False,
107
+ add_generation_prompt=True,
108
+ enable_thinking=True # True is the default value for enable_thinking
109
+ )
110
+ ```
111
+
112
+ In this mode, the model will generate think content wrapped in a `<think>...</think>` block, followed by the final response.
113
+
114
+ > [!NOTE]
115
+ > For thinking mode, use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0` (the default setting in `generation_config.json`). **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
116
+
117
+
118
+ ### `enable_thinking=False`
119
+
120
+ We provide a hard switch to strictly disable the model's thinking behavior, aligning its functionality with the previous Qwen2.5-Instruct models. This mode is particularly useful in scenarios where disabling thinking is essential for enhancing efficiency.
121
+
122
+ ```python
123
+ text = tokenizer.apply_chat_template(
124
+ messages,
125
+ tokenize=False,
126
+ add_generation_prompt=True,
127
+ enable_thinking=False # Setting enable_thinking=False disables thinking mode
128
+ )
129
+ ```
130
+
131
+ In this mode, the model will not generate any think content and will not include a `<think>...</think>` block.
132
+
133
+ > [!NOTE]
134
+ > For non-thinking mode, we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
135
+
136
+ ### Advanced Usage: Switching Between Thinking and Non-Thinking Modes via User Input
137
+
138
+ We provide a soft switch mechanism that allows users to dynamically control the model's behavior when `enable_thinking=True`. Specifically, you can add `/think` and `/no_think` to user prompts or system messages to switch the model's thinking mode from turn to turn. The model will follow the most recent instruction in multi-turn conversations.
139
+
140
+ Here is an example of a multi-turn conversation:
141
+
142
+ ```python
143
+ from transformers import AutoModelForCausalLM, AutoTokenizer
144
+
145
+ class QwenChatbot:
146
+ def __init__(self, model_name="Qwen/Qwen3-14B"):
147
+ self.tokenizer = AutoTokenizer.from_pretrained(model_name)
148
+ self.model = AutoModelForCausalLM.from_pretrained(model_name)
149
+ self.history = []
150
+
151
+ def generate_response(self, user_input):
152
+ messages = self.history + [{"role": "user", "content": user_input}]
153
+
154
+ text = self.tokenizer.apply_chat_template(
155
+ messages,
156
+ tokenize=False,
157
+ add_generation_prompt=True
158
+ )
159
+
160
+ inputs = self.tokenizer(text, return_tensors="pt")
161
+ response_ids = self.model.generate(**inputs, max_new_tokens=32768)[0][len(inputs.input_ids[0]):].tolist()
162
+ response = self.tokenizer.decode(response_ids, skip_special_tokens=True)
163
+
164
+ # Update history
165
+ self.history.append({"role": "user", "content": user_input})
166
+ self.history.append({"role": "assistant", "content": response})
167
+
168
+ return response
169
+
170
+ # Example Usage
171
+ if __name__ == "__main__":
172
+ chatbot = QwenChatbot()
173
+
174
+ # First input (without /think or /no_think tags, thinking mode is enabled by default)
175
+ user_input_1 = "How many r's in strawberries?"
176
+ print(f"User: {user_input_1}")
177
+ response_1 = chatbot.generate_response(user_input_1)
178
+ print(f"Bot: {response_1}")
179
+ print("----------------------")
180
+
181
+ # Second input with /no_think
182
+ user_input_2 = "Then, how many r's in blueberries? /no_think"
183
+ print(f"User: {user_input_2}")
184
+ response_2 = chatbot.generate_response(user_input_2)
185
+ print(f"Bot: {response_2}")
186
+ print("----------------------")
187
+
188
+ # Third input with /think
189
+ user_input_3 = "Really? /think"
190
+ print(f"User: {user_input_3}")
191
+ response_3 = chatbot.generate_response(user_input_3)
192
+ print(f"Bot: {response_3}")
193
+ ```
194
+
195
+ > **Note**
196
+ > For API compatibility, when `enable_thinking=True`, regardless of whether the user uses `/think` or `/no_think`, the model will always output a block wrapped in `<think>...</think>`. However, the content inside this block may be empty if thinking is disabled.
197
+ > When `enable_thinking=False`, the soft switches are not valid. Regardless of any `/think` or `/no_think` tags input by the user, the model will not generate think content and will not include a `<think>...</think>` block.
198
+
199
+ ## Agentic Use
200
+
201
+ Qwen3 excels in tool calling capabilities. We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.
202
+
203
+ To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
204
+ ```python
205
+ import os
206
+ from qwen_agent.agents import Assistant
207
+
208
+ # Define LLM
209
+ llm_cfg = {
210
+ 'model': 'Qwen3-14B',
211
+
212
+ # Use the endpoint provided by Alibaba Model Studio:
213
+ # 'model_type': 'qwen_dashscope',
214
+ # 'api_key': os.getenv('DASHSCOPE_API_KEY'),
215
+
216
+ # Use a custom endpoint compatible with OpenAI API:
217
+ 'model_server': 'http://localhost:8000/v1', # api_base
218
+ 'api_key': 'EMPTY',
219
+
220
+ # Other parameters:
221
+ # 'generate_cfg': {
222
+ # # Add: When the response content is `<think>this is the thought</think>this is the answer;
223
+ # # Do not add: When the response has been separated by reasoning_content and content.
224
+ # 'thought_in_content': True,
225
+ # },
226
+ }
227
+
228
+ # Define Tools
229
+ tools = [
230
+ {'mcpServers': { # You can specify the MCP configuration file
231
+ 'time': {
232
+ 'command': 'uvx',
233
+ 'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
234
+ },
235
+ }
236
+ },
237
+ 'code_interpreter', # Built-in tools
238
+ ]
239
+
240
+ # Define Agent
241
+ bot = Assistant(llm=llm_cfg, function_list=tools)
242
+
243
+ # Streaming generation
244
+ messages = [{'role': 'user', 'content': 'What time is it?'}]
245
+ for responses in bot.run(messages=messages):
246
+ pass
247
+ print(responses)
248
+ ```
249
+
250
+ ## Processing Long Texts
251
+
252
+ Qwen3 natively supports context lengths of up to 32,768 tokens. For conversations where the total length (including both input and output) significantly exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively. We have validated the model's performance on context lengths of up to 131,072 tokens using the [YaRN](https://arxiv.org/abs/2309.00071) method.
253
+
254
+ YaRN is currently supported by several inference frameworks, e.g., `transformers` and `llama.cpp` for local use, `vllm` and `sglang` for deployment. In general, there are two approaches to enabling YaRN for supported frameworks:
255
+
256
+ - Modifying the model files:
257
+ In the `config.json` file, add the `rope_scaling` fields:
258
+ ```json
259
+ {
260
+ ...,
261
+ "rope_scaling": {
262
+ "type": "yarn",
263
+ "factor": 4.0,
264
+ "original_max_position_embeddings": 32768
265
+ }
266
+ }
267
+ ```
268
+ For `llama.cpp`, you need to regenerate the GGUF file after the modification.
269
+
270
+ - Passing command line arguments:
271
+
272
+ For `vllm`, you can use
273
+ ```shell
274
+ vllm serve ... --rope-scaling '{"type":"yarn","factor":4.0,"original_max_position_embeddings":32768}' --max-model-len 131072
275
+ ```
276
+
277
+ For `sglang`, you can use
278
+ ```shell
279
+ python -m sglang.launch_server ... --json-model-override-args '{"rope_scaling":{"type":"yarn","factor":4.0,"original_max_position_embeddings":32768}}'
280
+ ```
281
+
282
+ For `llama-server` from `llama.cpp`, you can use
283
+ ```shell
284
+ llama-server ... --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768
285
+ ```
286
+
287
+ > [!IMPORTANT]
288
+ > If you encounter the following warning
289
+ > ```
290
+ > Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'original_max_position_embeddings'}
291
+ > ```
292
+ > please upgrade `transformers>=4.51.0`.
293
+
294
+ > [!NOTE]
295
+ > All the notable open-source frameworks implement static YaRN, which means the scaling factor remains constant regardless of input length, **potentially impacting performance on shorter texts.**
296
+ > We advise adding the `rope_scaling` configuration only when processing long contexts is required.
297
+ > It is also recommended to modify the `factor` as needed. For example, if the typical context length for your application is 65,536 tokens, it would be better to set `factor` as 2.0.
298
+
299
+ > [!NOTE]
300
+ > The default `max_position_embeddings` in `config.json` is set to 40,960. This allocation includes reserving 32,768 tokens for outputs and 8,192 tokens for typical prompts, which is sufficient for most scenarios involving short text processing. If the average context length does not exceed 32,768 tokens, we do not recommend enabling YaRN in this scenario, as it may potentially degrade model performance.
301
+
302
+ > [!TIP]
303
+ > The endpoint provided by Alibaba Model Studio supports dynamic YaRN by default and no extra configuration is needed.
304
+
305
+ ## Best Practices
306
+
307
+ To achieve optimal performance, we recommend the following settings:
308
+
309
+ 1. **Sampling Parameters**:
310
+ - For thinking mode (`enable_thinking=True`), use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0`. **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions.
311
+ - For non-thinking mode (`enable_thinking=False`), we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`.
312
+ - For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
313
+
314
+ 2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 38,912 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
315
+
316
+ 3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
317
+ - **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
318
+ - **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g., `"answer": "C"`."
319
+
320
+ 4. **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.
321
+
322
+ ### Citation
323
+
324
+ If you find our work helpful, feel free to give us a cite.
325
+
326
+ ```
327
+ @misc{qwen3,
328
+ title = {Qwen3},
329
+ url = {https://qwenlm.github.io/blog/qwen3/},
330
+ author = {Qwen Team},
331
+ month = {April},
332
+ year = {2025}
333
+ }
334
+ ```
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 5120,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 17408,
14
+ "max_position_embeddings": 40960,
15
+ "max_window_layers": 40,
16
+ "model_type": "qwen3",
17
+ "num_attention_heads": 40,
18
+ "num_hidden_layers": 40,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": null,
22
+ "rope_theta": 1000000,
23
+ "sliding_window": null,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.51.0",
27
+ "use_cache": true,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 151936
30
+ }
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"text-generation"}
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.6,
10
+ "top_k": 20,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.51.0"
13
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e942bdbdf08857d16a8fef7d1dae9fceabeb4e84def6043485fe2f6f085dab0e
3
+ size 3841788544
model-00002-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7c9c6eee628f5ad831d2d1d292e120505e5fcadeb38f88b4d3c4cb86306ccf9
3
+ size 3963750816
model-00003-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb8c5df9404b41ad6ae74e8b6b367135f017b4467b884cf71b17c71954f18a9
3
+ size 3963750880
model-00004-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab286fec759e3e59ab228621aefa0fef14ed56039e06f959e67257d5af7604d
3
+ size 3963750880
model-00005-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97f0dc2992e59da95c466eff6f4fd0c8335843bbc36ed5c913a6f5150748c0e6
3
+ size 3963750880
model-00006-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e8e76a013cd5e253865b792991e0b410f869b136b3c500079b531b09198e99e
3
+ size 3963750880
model-00007-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aee70ee6e91dc00d818804fb47f124d13ee4ad5b4a64553e09dbf9391cd5750
3
+ size 3963750880
model-00008-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d6b92296e326d39bbbaeb32c3ec454ac606da843d4c8ffa8edf010b62b8c9e0
3
+ size 1912371880
model.safetensors.index.json ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 29536614400
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00008-of-00008.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00008.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00008.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00008.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00008.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00008.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00008.safetensors",
13
+ "model.layers.0.self_attn.k_norm.weight": "model-00001-of-00008.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00008.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00008.safetensors",
16
+ "model.layers.0.self_attn.q_norm.weight": "model-00001-of-00008.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00008.safetensors",
18
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00008.safetensors",
19
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00008.safetensors",
20
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00008.safetensors",
21
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00008.safetensors",
22
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00008.safetensors",
23
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00008.safetensors",
24
+ "model.layers.1.self_attn.k_norm.weight": "model-00001-of-00008.safetensors",
25
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00008.safetensors",
26
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00008.safetensors",
27
+ "model.layers.1.self_attn.q_norm.weight": "model-00001-of-00008.safetensors",
28
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00008.safetensors",
29
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00008.safetensors",
30
+ "model.layers.10.input_layernorm.weight": "model-00003-of-00008.safetensors",
31
+ "model.layers.10.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
32
+ "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
33
+ "model.layers.10.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
34
+ "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
35
+ "model.layers.10.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
36
+ "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
37
+ "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
38
+ "model.layers.10.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
39
+ "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
40
+ "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
41
+ "model.layers.11.input_layernorm.weight": "model-00003-of-00008.safetensors",
42
+ "model.layers.11.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
43
+ "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
44
+ "model.layers.11.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
45
+ "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
46
+ "model.layers.11.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
47
+ "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
48
+ "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
49
+ "model.layers.11.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
50
+ "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
51
+ "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
52
+ "model.layers.12.input_layernorm.weight": "model-00003-of-00008.safetensors",
53
+ "model.layers.12.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
54
+ "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
55
+ "model.layers.12.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
56
+ "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
57
+ "model.layers.12.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
58
+ "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
59
+ "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
60
+ "model.layers.12.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
61
+ "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
62
+ "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
63
+ "model.layers.13.input_layernorm.weight": "model-00003-of-00008.safetensors",
64
+ "model.layers.13.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
65
+ "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
66
+ "model.layers.13.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
67
+ "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
68
+ "model.layers.13.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
69
+ "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
70
+ "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
71
+ "model.layers.13.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
72
+ "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
73
+ "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
74
+ "model.layers.14.input_layernorm.weight": "model-00003-of-00008.safetensors",
75
+ "model.layers.14.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
76
+ "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
77
+ "model.layers.14.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
78
+ "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
79
+ "model.layers.14.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
80
+ "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
81
+ "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
82
+ "model.layers.14.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
83
+ "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
84
+ "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
85
+ "model.layers.15.input_layernorm.weight": "model-00004-of-00008.safetensors",
86
+ "model.layers.15.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
87
+ "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00008.safetensors",
88
+ "model.layers.15.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
89
+ "model.layers.15.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
90
+ "model.layers.15.self_attn.k_norm.weight": "model-00003-of-00008.safetensors",
91
+ "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00008.safetensors",
92
+ "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00008.safetensors",
93
+ "model.layers.15.self_attn.q_norm.weight": "model-00003-of-00008.safetensors",
94
+ "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00008.safetensors",
95
+ "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00008.safetensors",
96
+ "model.layers.16.input_layernorm.weight": "model-00004-of-00008.safetensors",
97
+ "model.layers.16.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
98
+ "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
99
+ "model.layers.16.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
100
+ "model.layers.16.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
101
+ "model.layers.16.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
102
+ "model.layers.16.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
103
+ "model.layers.16.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
104
+ "model.layers.16.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
105
+ "model.layers.16.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
106
+ "model.layers.16.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
107
+ "model.layers.17.input_layernorm.weight": "model-00004-of-00008.safetensors",
108
+ "model.layers.17.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
109
+ "model.layers.17.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
110
+ "model.layers.17.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
111
+ "model.layers.17.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
112
+ "model.layers.17.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
113
+ "model.layers.17.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
114
+ "model.layers.17.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
115
+ "model.layers.17.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
116
+ "model.layers.17.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
117
+ "model.layers.17.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
118
+ "model.layers.18.input_layernorm.weight": "model-00004-of-00008.safetensors",
119
+ "model.layers.18.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
120
+ "model.layers.18.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
121
+ "model.layers.18.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
122
+ "model.layers.18.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
123
+ "model.layers.18.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
124
+ "model.layers.18.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
125
+ "model.layers.18.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
126
+ "model.layers.18.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
127
+ "model.layers.18.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
128
+ "model.layers.18.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
129
+ "model.layers.19.input_layernorm.weight": "model-00004-of-00008.safetensors",
130
+ "model.layers.19.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
131
+ "model.layers.19.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
132
+ "model.layers.19.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
133
+ "model.layers.19.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
134
+ "model.layers.19.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
135
+ "model.layers.19.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
136
+ "model.layers.19.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
137
+ "model.layers.19.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
138
+ "model.layers.19.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
139
+ "model.layers.19.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
140
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00008.safetensors",
141
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00008.safetensors",
142
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00008.safetensors",
143
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00008.safetensors",
144
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00008.safetensors",
145
+ "model.layers.2.self_attn.k_norm.weight": "model-00001-of-00008.safetensors",
146
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00008.safetensors",
147
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00008.safetensors",
148
+ "model.layers.2.self_attn.q_norm.weight": "model-00001-of-00008.safetensors",
149
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00008.safetensors",
150
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00008.safetensors",
151
+ "model.layers.20.input_layernorm.weight": "model-00004-of-00008.safetensors",
152
+ "model.layers.20.mlp.down_proj.weight": "model-00004-of-00008.safetensors",
153
+ "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
154
+ "model.layers.20.mlp.up_proj.weight": "model-00004-of-00008.safetensors",
155
+ "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00008.safetensors",
156
+ "model.layers.20.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
157
+ "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
158
+ "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
159
+ "model.layers.20.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
160
+ "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
161
+ "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
162
+ "model.layers.21.input_layernorm.weight": "model-00005-of-00008.safetensors",
163
+ "model.layers.21.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
164
+ "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00008.safetensors",
165
+ "model.layers.21.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
166
+ "model.layers.21.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
167
+ "model.layers.21.self_attn.k_norm.weight": "model-00004-of-00008.safetensors",
168
+ "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00008.safetensors",
169
+ "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00008.safetensors",
170
+ "model.layers.21.self_attn.q_norm.weight": "model-00004-of-00008.safetensors",
171
+ "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00008.safetensors",
172
+ "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00008.safetensors",
173
+ "model.layers.22.input_layernorm.weight": "model-00005-of-00008.safetensors",
174
+ "model.layers.22.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
175
+ "model.layers.22.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
176
+ "model.layers.22.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
177
+ "model.layers.22.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
178
+ "model.layers.22.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
179
+ "model.layers.22.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
180
+ "model.layers.22.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
181
+ "model.layers.22.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
182
+ "model.layers.22.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
183
+ "model.layers.22.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
184
+ "model.layers.23.input_layernorm.weight": "model-00005-of-00008.safetensors",
185
+ "model.layers.23.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
186
+ "model.layers.23.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
187
+ "model.layers.23.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
188
+ "model.layers.23.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
189
+ "model.layers.23.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
190
+ "model.layers.23.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
191
+ "model.layers.23.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
192
+ "model.layers.23.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
193
+ "model.layers.23.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
194
+ "model.layers.23.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
195
+ "model.layers.24.input_layernorm.weight": "model-00005-of-00008.safetensors",
196
+ "model.layers.24.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
197
+ "model.layers.24.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
198
+ "model.layers.24.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
199
+ "model.layers.24.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
200
+ "model.layers.24.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
201
+ "model.layers.24.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
202
+ "model.layers.24.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
203
+ "model.layers.24.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
204
+ "model.layers.24.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
205
+ "model.layers.24.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
206
+ "model.layers.25.input_layernorm.weight": "model-00005-of-00008.safetensors",
207
+ "model.layers.25.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
208
+ "model.layers.25.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
209
+ "model.layers.25.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
210
+ "model.layers.25.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
211
+ "model.layers.25.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
212
+ "model.layers.25.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
213
+ "model.layers.25.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
214
+ "model.layers.25.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
215
+ "model.layers.25.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
216
+ "model.layers.25.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
217
+ "model.layers.26.input_layernorm.weight": "model-00005-of-00008.safetensors",
218
+ "model.layers.26.mlp.down_proj.weight": "model-00005-of-00008.safetensors",
219
+ "model.layers.26.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
220
+ "model.layers.26.mlp.up_proj.weight": "model-00005-of-00008.safetensors",
221
+ "model.layers.26.post_attention_layernorm.weight": "model-00005-of-00008.safetensors",
222
+ "model.layers.26.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
223
+ "model.layers.26.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
224
+ "model.layers.26.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
225
+ "model.layers.26.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
226
+ "model.layers.26.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
227
+ "model.layers.26.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
228
+ "model.layers.27.input_layernorm.weight": "model-00006-of-00008.safetensors",
229
+ "model.layers.27.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
230
+ "model.layers.27.mlp.gate_proj.weight": "model-00005-of-00008.safetensors",
231
+ "model.layers.27.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
232
+ "model.layers.27.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
233
+ "model.layers.27.self_attn.k_norm.weight": "model-00005-of-00008.safetensors",
234
+ "model.layers.27.self_attn.k_proj.weight": "model-00005-of-00008.safetensors",
235
+ "model.layers.27.self_attn.o_proj.weight": "model-00005-of-00008.safetensors",
236
+ "model.layers.27.self_attn.q_norm.weight": "model-00005-of-00008.safetensors",
237
+ "model.layers.27.self_attn.q_proj.weight": "model-00005-of-00008.safetensors",
238
+ "model.layers.27.self_attn.v_proj.weight": "model-00005-of-00008.safetensors",
239
+ "model.layers.28.input_layernorm.weight": "model-00006-of-00008.safetensors",
240
+ "model.layers.28.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
241
+ "model.layers.28.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
242
+ "model.layers.28.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
243
+ "model.layers.28.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
244
+ "model.layers.28.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
245
+ "model.layers.28.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
246
+ "model.layers.28.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
247
+ "model.layers.28.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
248
+ "model.layers.28.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
249
+ "model.layers.28.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
250
+ "model.layers.29.input_layernorm.weight": "model-00006-of-00008.safetensors",
251
+ "model.layers.29.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
252
+ "model.layers.29.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
253
+ "model.layers.29.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
254
+ "model.layers.29.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
255
+ "model.layers.29.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
256
+ "model.layers.29.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
257
+ "model.layers.29.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
258
+ "model.layers.29.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
259
+ "model.layers.29.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
260
+ "model.layers.29.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
261
+ "model.layers.3.input_layernorm.weight": "model-00002-of-00008.safetensors",
262
+ "model.layers.3.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
263
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00008.safetensors",
264
+ "model.layers.3.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
265
+ "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
266
+ "model.layers.3.self_attn.k_norm.weight": "model-00001-of-00008.safetensors",
267
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00008.safetensors",
268
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00008.safetensors",
269
+ "model.layers.3.self_attn.q_norm.weight": "model-00001-of-00008.safetensors",
270
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00008.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00008.safetensors",
272
+ "model.layers.30.input_layernorm.weight": "model-00006-of-00008.safetensors",
273
+ "model.layers.30.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
274
+ "model.layers.30.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
275
+ "model.layers.30.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
276
+ "model.layers.30.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
277
+ "model.layers.30.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
278
+ "model.layers.30.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
279
+ "model.layers.30.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
280
+ "model.layers.30.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
281
+ "model.layers.30.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
282
+ "model.layers.30.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
283
+ "model.layers.31.input_layernorm.weight": "model-00006-of-00008.safetensors",
284
+ "model.layers.31.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
285
+ "model.layers.31.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
286
+ "model.layers.31.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
287
+ "model.layers.31.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
288
+ "model.layers.31.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
289
+ "model.layers.31.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
290
+ "model.layers.31.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
291
+ "model.layers.31.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
292
+ "model.layers.31.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
293
+ "model.layers.31.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
294
+ "model.layers.32.input_layernorm.weight": "model-00006-of-00008.safetensors",
295
+ "model.layers.32.mlp.down_proj.weight": "model-00006-of-00008.safetensors",
296
+ "model.layers.32.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
297
+ "model.layers.32.mlp.up_proj.weight": "model-00006-of-00008.safetensors",
298
+ "model.layers.32.post_attention_layernorm.weight": "model-00006-of-00008.safetensors",
299
+ "model.layers.32.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
300
+ "model.layers.32.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
301
+ "model.layers.32.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
302
+ "model.layers.32.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
303
+ "model.layers.32.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
304
+ "model.layers.32.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
305
+ "model.layers.33.input_layernorm.weight": "model-00007-of-00008.safetensors",
306
+ "model.layers.33.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
307
+ "model.layers.33.mlp.gate_proj.weight": "model-00006-of-00008.safetensors",
308
+ "model.layers.33.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
309
+ "model.layers.33.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
310
+ "model.layers.33.self_attn.k_norm.weight": "model-00006-of-00008.safetensors",
311
+ "model.layers.33.self_attn.k_proj.weight": "model-00006-of-00008.safetensors",
312
+ "model.layers.33.self_attn.o_proj.weight": "model-00006-of-00008.safetensors",
313
+ "model.layers.33.self_attn.q_norm.weight": "model-00006-of-00008.safetensors",
314
+ "model.layers.33.self_attn.q_proj.weight": "model-00006-of-00008.safetensors",
315
+ "model.layers.33.self_attn.v_proj.weight": "model-00006-of-00008.safetensors",
316
+ "model.layers.34.input_layernorm.weight": "model-00007-of-00008.safetensors",
317
+ "model.layers.34.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
318
+ "model.layers.34.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
319
+ "model.layers.34.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
320
+ "model.layers.34.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
321
+ "model.layers.34.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
322
+ "model.layers.34.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
323
+ "model.layers.34.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
324
+ "model.layers.34.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
325
+ "model.layers.34.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
326
+ "model.layers.34.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
327
+ "model.layers.35.input_layernorm.weight": "model-00007-of-00008.safetensors",
328
+ "model.layers.35.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
329
+ "model.layers.35.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
330
+ "model.layers.35.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
331
+ "model.layers.35.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
332
+ "model.layers.35.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
333
+ "model.layers.35.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
334
+ "model.layers.35.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
335
+ "model.layers.35.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
336
+ "model.layers.35.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
337
+ "model.layers.35.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
338
+ "model.layers.36.input_layernorm.weight": "model-00007-of-00008.safetensors",
339
+ "model.layers.36.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
340
+ "model.layers.36.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
341
+ "model.layers.36.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
342
+ "model.layers.36.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
343
+ "model.layers.36.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
344
+ "model.layers.36.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
345
+ "model.layers.36.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
346
+ "model.layers.36.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
347
+ "model.layers.36.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
348
+ "model.layers.36.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
349
+ "model.layers.37.input_layernorm.weight": "model-00007-of-00008.safetensors",
350
+ "model.layers.37.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
351
+ "model.layers.37.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
352
+ "model.layers.37.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
353
+ "model.layers.37.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
354
+ "model.layers.37.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
355
+ "model.layers.37.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
356
+ "model.layers.37.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
357
+ "model.layers.37.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
358
+ "model.layers.37.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
359
+ "model.layers.37.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
360
+ "model.layers.38.input_layernorm.weight": "model-00007-of-00008.safetensors",
361
+ "model.layers.38.mlp.down_proj.weight": "model-00007-of-00008.safetensors",
362
+ "model.layers.38.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
363
+ "model.layers.38.mlp.up_proj.weight": "model-00007-of-00008.safetensors",
364
+ "model.layers.38.post_attention_layernorm.weight": "model-00007-of-00008.safetensors",
365
+ "model.layers.38.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
366
+ "model.layers.38.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
367
+ "model.layers.38.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
368
+ "model.layers.38.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
369
+ "model.layers.38.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
370
+ "model.layers.38.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
371
+ "model.layers.39.input_layernorm.weight": "model-00008-of-00008.safetensors",
372
+ "model.layers.39.mlp.down_proj.weight": "model-00008-of-00008.safetensors",
373
+ "model.layers.39.mlp.gate_proj.weight": "model-00007-of-00008.safetensors",
374
+ "model.layers.39.mlp.up_proj.weight": "model-00008-of-00008.safetensors",
375
+ "model.layers.39.post_attention_layernorm.weight": "model-00008-of-00008.safetensors",
376
+ "model.layers.39.self_attn.k_norm.weight": "model-00007-of-00008.safetensors",
377
+ "model.layers.39.self_attn.k_proj.weight": "model-00007-of-00008.safetensors",
378
+ "model.layers.39.self_attn.o_proj.weight": "model-00007-of-00008.safetensors",
379
+ "model.layers.39.self_attn.q_norm.weight": "model-00007-of-00008.safetensors",
380
+ "model.layers.39.self_attn.q_proj.weight": "model-00007-of-00008.safetensors",
381
+ "model.layers.39.self_attn.v_proj.weight": "model-00007-of-00008.safetensors",
382
+ "model.layers.4.input_layernorm.weight": "model-00002-of-00008.safetensors",
383
+ "model.layers.4.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
384
+ "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
385
+ "model.layers.4.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
386
+ "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
387
+ "model.layers.4.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
388
+ "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
389
+ "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
390
+ "model.layers.4.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
391
+ "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
392
+ "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
393
+ "model.layers.5.input_layernorm.weight": "model-00002-of-00008.safetensors",
394
+ "model.layers.5.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
395
+ "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
396
+ "model.layers.5.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
397
+ "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
398
+ "model.layers.5.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
399
+ "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
400
+ "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
401
+ "model.layers.5.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
402
+ "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
403
+ "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
404
+ "model.layers.6.input_layernorm.weight": "model-00002-of-00008.safetensors",
405
+ "model.layers.6.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
406
+ "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
407
+ "model.layers.6.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
408
+ "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
409
+ "model.layers.6.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
410
+ "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
411
+ "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
412
+ "model.layers.6.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
413
+ "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
414
+ "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
415
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00008.safetensors",
416
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
417
+ "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
418
+ "model.layers.7.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
419
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
420
+ "model.layers.7.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
421
+ "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
422
+ "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
423
+ "model.layers.7.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
424
+ "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
425
+ "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
426
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00008.safetensors",
427
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00008.safetensors",
428
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
429
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00008.safetensors",
430
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00008.safetensors",
431
+ "model.layers.8.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
432
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
433
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
434
+ "model.layers.8.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
435
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
436
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
437
+ "model.layers.9.input_layernorm.weight": "model-00003-of-00008.safetensors",
438
+ "model.layers.9.mlp.down_proj.weight": "model-00003-of-00008.safetensors",
439
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00008.safetensors",
440
+ "model.layers.9.mlp.up_proj.weight": "model-00003-of-00008.safetensors",
441
+ "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00008.safetensors",
442
+ "model.layers.9.self_attn.k_norm.weight": "model-00002-of-00008.safetensors",
443
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00008.safetensors",
444
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00008.safetensors",
445
+ "model.layers.9.self_attn.q_norm.weight": "model-00002-of-00008.safetensors",
446
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00008.safetensors",
447
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00008.safetensors",
448
+ "model.norm.weight": "model-00008-of-00008.safetensors"
449
+ }
450
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) 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 {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
231
+ "clean_up_tokenization_spaces": false,
232
+ "eos_token": "<|im_end|>",
233
+ "errors": "replace",
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff