bowang0911 commited on
Commit
136af11
·
verified ·
1 Parent(s): ad44c13

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
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
+ }
chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3Model"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_qwen3.Qwen3Config",
9
+ "AutoModel": "perplexity-ai/bidirectional-qwen3-implementation--modeling_qwen3.Qwen3Model",
10
+ "AutoModelForMaskedLM": "modeling_qwen3.Qwen3ForMaskedLM"
11
+ },
12
+ "bos_token_id": 151643,
13
+ "dtype": "float32",
14
+ "eos_token_id": 151643,
15
+ "head_dim": 128,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 2560,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 9728,
20
+ "layer_types": [
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention"
57
+ ],
58
+ "max_position_embeddings": 32768,
59
+ "max_window_layers": 36,
60
+ "mlm_loss_variant": "elbo_normalize",
61
+ "model_type": "qwen3",
62
+ "num_attention_heads": 32,
63
+ "num_hidden_layers": 36,
64
+ "num_key_value_heads": 8,
65
+ "rms_norm_eps": 1e-06,
66
+ "rope_parameters": {
67
+ "rope_theta": 1000000,
68
+ "rope_type": "default"
69
+ },
70
+ "rope_theta": 1000000,
71
+ "sliding_window": null,
72
+ "tie_word_embeddings": true,
73
+ "transformers_version": "5.0.0.dev0",
74
+ "use_cache": false,
75
+ "use_sliding_window": false,
76
+ "variant": "bidirectional",
77
+ "vocab_size": 151936
78
+ }
configuration_qwen3.py ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2024 The Qwen team, Alibaba Group and the HuggingFace Inc. team. All rights reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ """Qwen3 model configuration"""
16
+
17
+ from typing import Optional, Literal
18
+
19
+ import warnings
20
+
21
+ from transformers.configuration_utils import PreTrainedConfig, layer_type_validation
22
+ from transformers.modeling_rope_utils import RopeParameters, rope_config_validation, standardize_rope_params
23
+ from transformers.utils import logging
24
+
25
+
26
+ logger = logging.get_logger(__name__)
27
+
28
+
29
+ class Qwen3Config(PreTrainedConfig):
30
+ r"""
31
+ This is the configuration class to store the configuration of a [`Qwen3Model`]. It is used to instantiate a
32
+ Qwen3 model according to the specified arguments, defining the model architecture. Instantiating a configuration
33
+ with the defaults will yield a similar configuration to that of
34
+ Qwen3-8B [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B).
35
+
36
+ Configuration objects inherit from [`PreTrainedConfig`] and can be used to control the model outputs. Read the
37
+ documentation from [`PreTrainedConfig`] for more information.
38
+
39
+
40
+ Args:
41
+ vocab_size (`int`, *optional*, defaults to 151936):
42
+ Vocabulary size of the Qwen3 model. Defines the number of different tokens that can be represented by the
43
+ `inputs_ids` passed when calling [`Qwen3Model`]
44
+ hidden_size (`int`, *optional*, defaults to 4096):
45
+ Dimension of the hidden representations.
46
+ intermediate_size (`int`, *optional*, defaults to 22016):
47
+ Dimension of the MLP representations.
48
+ num_hidden_layers (`int`, *optional*, defaults to 32):
49
+ Number of hidden layers in the Transformer encoder.
50
+ num_attention_heads (`int`, *optional*, defaults to 32):
51
+ Number of attention heads for each attention layer in the Transformer encoder.
52
+ num_key_value_heads (`int`, *optional*, defaults to 32):
53
+ This is the number of key_value heads that should be used to implement Grouped Query Attention. If
54
+ `num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
55
+ `num_key_value_heads=1` the model will use Multi Query Attention (MQA) otherwise GQA is used. When
56
+ converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
57
+ by meanpooling all the original heads within that group. For more details, check out [this
58
+ paper](https://huggingface.co/papers/2305.13245). If it is not specified, will default to `32`.
59
+ head_dim (`int`, *optional*, defaults to 128):
60
+ The attention head dimension.
61
+ hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
62
+ The non-linear activation function (function or string) in the decoder.
63
+ max_position_embeddings (`int`, *optional*, defaults to 32768):
64
+ The maximum sequence length that this model might ever be used with.
65
+ initializer_range (`float`, *optional*, defaults to 0.02):
66
+ The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
67
+ rms_norm_eps (`float`, *optional*, defaults to 1e-06):
68
+ The epsilon used by the rms normalization layers.
69
+ use_cache (`bool`, *optional*, defaults to `True`):
70
+ Whether or not the model should return the last key/values attentions (not used by all models). Only
71
+ relevant if `config.is_decoder=True`.
72
+ tie_word_embeddings (`bool`, *optional*, defaults to `False`):
73
+ Whether the model's input and output word embeddings should be tied.
74
+ rope_parameters (`RopeParameters`, *optional*):
75
+ Dictionary containing the configuration parameters for the RoPE embeddings. The dictionaty should contain
76
+ a value for `rope_theta` and optionally parameters used for scaling in case you want to use RoPE
77
+ with longer `max_position_embeddings`.
78
+ attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
79
+ Whether to use a bias in the query, key, value and output projection layers during self-attention.
80
+ use_sliding_window (`bool`, *optional*, defaults to `False`):
81
+ Whether to use sliding window attention.
82
+ sliding_window (`int`, *optional*, defaults to 4096):
83
+ Sliding window attention (SWA) window size. If not specified, will default to `4096`.
84
+ max_window_layers (`int`, *optional*, defaults to 28):
85
+ The number of layers using full attention. The first `max_window_layers` layers will use full attention, while any
86
+ additional layer afterwards will use SWA (Sliding Window Attention).
87
+ layer_types (`list`, *optional*):
88
+ Attention pattern for each layer.
89
+ attention_dropout (`float`, *optional*, defaults to 0.0):
90
+ The dropout ratio for the attention probabilities.
91
+
92
+ ```python
93
+ >>> from transformers import Qwen3Model, Qwen3Config
94
+
95
+ >>> # Initializing a Qwen3 style configuration
96
+ >>> configuration = Qwen3Config()
97
+
98
+ >>> # Initializing a model from the Qwen3-8B style configuration
99
+ >>> model = Qwen3Model(configuration)
100
+
101
+ >>> # Accessing the model configuration
102
+ >>> configuration = model.config
103
+ ```"""
104
+
105
+ model_type = "qwen3"
106
+ keys_to_ignore_at_inference = ["past_key_values"]
107
+
108
+ # Default tensor parallel plan for base model `Qwen3`
109
+ base_model_tp_plan = {
110
+ "layers.*.self_attn.q_proj": "colwise",
111
+ "layers.*.self_attn.k_proj": "colwise",
112
+ "layers.*.self_attn.v_proj": "colwise",
113
+ "layers.*.self_attn.o_proj": "rowwise",
114
+ "layers.*.mlp.gate_proj": "colwise",
115
+ "layers.*.mlp.up_proj": "colwise",
116
+ "layers.*.mlp.down_proj": "rowwise",
117
+ }
118
+ base_model_pp_plan = {
119
+ "embed_tokens": (["input_ids"], ["inputs_embeds"]),
120
+ "layers": (["hidden_states", "attention_mask"], ["hidden_states"]),
121
+ "norm": (["hidden_states"], ["hidden_states"]),
122
+ }
123
+
124
+ def __init__(
125
+ self,
126
+ vocab_size: Optional[int] = 151936,
127
+ hidden_size: Optional[int] = 4096,
128
+ intermediate_size: Optional[int] = 22016,
129
+ num_hidden_layers: Optional[int] = 32,
130
+ num_attention_heads: Optional[int] = 32,
131
+ num_key_value_heads: Optional[int] = 32,
132
+ head_dim: Optional[int] = 128,
133
+ hidden_act: Optional[str] = "silu",
134
+ max_position_embeddings: Optional[int] = 32768,
135
+ initializer_range: Optional[float] = 0.02,
136
+ rms_norm_eps: Optional[int] = 1e-6,
137
+ use_cache: Optional[bool] = True,
138
+ tie_word_embeddings: Optional[bool] = False,
139
+ rope_parameters: Optional[RopeParameters | dict[RopeParameters]] = None,
140
+ attention_bias: Optional[bool] = False,
141
+ use_sliding_window: Optional[bool] = False,
142
+ sliding_window: Optional[int] = 4096,
143
+ max_window_layers: Optional[int] = 28,
144
+ layer_types: Optional[list[str]] = None,
145
+ attention_dropout: Optional[float] = 0.0,
146
+ variant: Literal["causal", "bidirectional", "causal_dropout"] = "causal",
147
+ mlm_loss_variant: Literal["simple", "masked_normalize", "elbo_normalize", "flat_cart"] = "simple",
148
+ **kwargs,
149
+ ):
150
+ self.vocab_size = vocab_size
151
+ self.max_position_embeddings = max_position_embeddings
152
+ self.hidden_size = hidden_size
153
+ self.intermediate_size = intermediate_size
154
+ self.num_hidden_layers = num_hidden_layers
155
+ self.num_attention_heads = num_attention_heads
156
+ self.use_sliding_window = use_sliding_window
157
+ self.sliding_window = sliding_window if self.use_sliding_window else None
158
+ self.max_window_layers = max_window_layers
159
+
160
+ # for backward compatibility
161
+ if num_key_value_heads is None:
162
+ num_key_value_heads = num_attention_heads
163
+
164
+ self.num_key_value_heads = num_key_value_heads
165
+ self.head_dim = head_dim
166
+ self.hidden_act = hidden_act
167
+ self.initializer_range = initializer_range
168
+ self.rms_norm_eps = rms_norm_eps
169
+ self.use_cache = use_cache
170
+ self.attention_bias = attention_bias
171
+ self.attention_dropout = attention_dropout
172
+ # Try to set `rope_scaling` if available, otherwise use `rope_parameters`
173
+ rope_scaling = kwargs.pop("rope_scaling", None)
174
+ self.rope_parameters = rope_scaling or rope_parameters
175
+
176
+ self.layer_types = layer_types
177
+ if self.layer_types is None:
178
+ self.layer_types = [
179
+ "sliding_attention"
180
+ if self.sliding_window is not None and i >= self.max_window_layers
181
+ else "full_attention"
182
+ for i in range(self.num_hidden_layers)
183
+ ]
184
+ layer_type_validation(self.layer_types, self.num_hidden_layers)
185
+
186
+ # Validate the correctness of rotary position embeddings parameters
187
+ rope_theta = kwargs.get("rope_theta", 10000.0)
188
+ standardize_rope_params(self, rope_theta=rope_theta)
189
+ rope_config_validation(self)
190
+
191
+ self.variant = variant
192
+ self.mlm_loss_variant = mlm_loss_variant
193
+
194
+ if mlm_loss_variant not in ["simple", "masked_normalize", "elbo_normalize", "flat_cart"]:
195
+ raise NotImplementedError(f"Loss variant {mlm_loss_variant} unknown")
196
+
197
+ if variant != "causal" and use_cache:
198
+ warnings.warn("Cannot use cache (use_cache) and bidirectional attention (is_causal=False)")
199
+
200
+ super().__init__(
201
+ tie_word_embeddings=tie_word_embeddings,
202
+ **kwargs,
203
+ )
204
+
205
+
206
+ __all__ = ["Qwen3Config"]
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45bd30b262ee991c336ac758c4e137b768933af60a20a55ddbb1eedf10adc8f2
3
+ size 4990094456
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2cbcf9a9fb94e91b7fcba51386309adf23b417b6cbd1bdbf1c0c0816c95cf5
3
+ size 4944308296
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56933239b1f43144b68776374cd5888cf1f52431ea26e75cb8d3b7e64f54f9ee
3
+ size 4996758024
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4260d719a6acf61e506bd29c0a4dc29520cb6665b69730905729caff84d8d25
3
+ size 1158754656
model.safetensors.index.json ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 4022468096,
4
+ "total_size": 16089872384
5
+ },
6
+ "weight_map": {
7
+ "embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "layers.0.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
14
+ "layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "layers.0.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
17
+ "layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
19
+ "layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
20
+ "layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
21
+ "layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
22
+ "layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
23
+ "layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
24
+ "layers.1.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
25
+ "layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
26
+ "layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
27
+ "layers.1.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
28
+ "layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
29
+ "layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
30
+ "layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
31
+ "layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
32
+ "layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
33
+ "layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
34
+ "layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
35
+ "layers.10.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
36
+ "layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
37
+ "layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
38
+ "layers.10.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
39
+ "layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
40
+ "layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
41
+ "layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
42
+ "layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
43
+ "layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
44
+ "layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
45
+ "layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
46
+ "layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
47
+ "layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
48
+ "layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
49
+ "layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
50
+ "layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
51
+ "layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
52
+ "layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
53
+ "layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
54
+ "layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
55
+ "layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
56
+ "layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "layers.12.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
58
+ "layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
59
+ "layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
60
+ "layers.12.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
61
+ "layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
62
+ "layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
63
+ "layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
64
+ "layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
65
+ "layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
66
+ "layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
67
+ "layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
68
+ "layers.13.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
69
+ "layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
70
+ "layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
71
+ "layers.13.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
72
+ "layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
73
+ "layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
74
+ "layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
75
+ "layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
76
+ "layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
77
+ "layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
78
+ "layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
79
+ "layers.14.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
80
+ "layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
81
+ "layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
82
+ "layers.14.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
83
+ "layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
84
+ "layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
85
+ "layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
86
+ "layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
87
+ "layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
88
+ "layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
89
+ "layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
90
+ "layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
91
+ "layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
92
+ "layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
93
+ "layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
94
+ "layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
95
+ "layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
96
+ "layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
97
+ "layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
98
+ "layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
99
+ "layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
100
+ "layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
101
+ "layers.16.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
102
+ "layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
103
+ "layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
104
+ "layers.16.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
105
+ "layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
106
+ "layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
107
+ "layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
108
+ "layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
109
+ "layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
110
+ "layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
111
+ "layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
112
+ "layers.17.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
113
+ "layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
114
+ "layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
115
+ "layers.17.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
116
+ "layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
117
+ "layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
118
+ "layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
119
+ "layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
120
+ "layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
121
+ "layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
122
+ "layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
123
+ "layers.18.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
124
+ "layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
125
+ "layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
126
+ "layers.18.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
127
+ "layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
128
+ "layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
129
+ "layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
130
+ "layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
131
+ "layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
132
+ "layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
133
+ "layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
134
+ "layers.19.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
135
+ "layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
136
+ "layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
137
+ "layers.19.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
138
+ "layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
139
+ "layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
140
+ "layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
141
+ "layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
142
+ "layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
143
+ "layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
144
+ "layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
145
+ "layers.2.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
146
+ "layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
147
+ "layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
148
+ "layers.2.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
149
+ "layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
150
+ "layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
151
+ "layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
152
+ "layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
153
+ "layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
154
+ "layers.20.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
155
+ "layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
156
+ "layers.20.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
157
+ "layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
158
+ "layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
159
+ "layers.20.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
160
+ "layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
161
+ "layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
162
+ "layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
163
+ "layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
164
+ "layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
165
+ "layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
166
+ "layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
167
+ "layers.21.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
168
+ "layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
169
+ "layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
170
+ "layers.21.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
171
+ "layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
172
+ "layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
173
+ "layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
174
+ "layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
175
+ "layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
176
+ "layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
177
+ "layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
178
+ "layers.22.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
179
+ "layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
180
+ "layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
181
+ "layers.22.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
182
+ "layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
183
+ "layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
184
+ "layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
185
+ "layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
186
+ "layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
187
+ "layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
188
+ "layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
190
+ "layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
191
+ "layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
192
+ "layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
193
+ "layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
194
+ "layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
195
+ "layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
196
+ "layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
197
+ "layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
198
+ "layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
199
+ "layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
200
+ "layers.24.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
201
+ "layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
202
+ "layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
203
+ "layers.24.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
204
+ "layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
205
+ "layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
206
+ "layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
207
+ "layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
208
+ "layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
209
+ "layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
210
+ "layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
211
+ "layers.25.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
212
+ "layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
213
+ "layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
214
+ "layers.25.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
215
+ "layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
216
+ "layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
217
+ "layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
218
+ "layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
219
+ "layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
220
+ "layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
221
+ "layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
222
+ "layers.26.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
223
+ "layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
224
+ "layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
225
+ "layers.26.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
226
+ "layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
227
+ "layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
228
+ "layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
230
+ "layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
231
+ "layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
232
+ "layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
233
+ "layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
234
+ "layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
235
+ "layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
236
+ "layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
237
+ "layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
238
+ "layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
239
+ "layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
240
+ "layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
241
+ "layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
242
+ "layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
243
+ "layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
244
+ "layers.28.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
245
+ "layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
246
+ "layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
247
+ "layers.28.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
248
+ "layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
249
+ "layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
250
+ "layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
251
+ "layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
252
+ "layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
253
+ "layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
254
+ "layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
255
+ "layers.29.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
256
+ "layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
257
+ "layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
258
+ "layers.29.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
259
+ "layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
260
+ "layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
261
+ "layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
262
+ "layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
263
+ "layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
264
+ "layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
265
+ "layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
266
+ "layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
267
+ "layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
268
+ "layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
269
+ "layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
270
+ "layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
271
+ "layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
272
+ "layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
273
+ "layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
274
+ "layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
275
+ "layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
276
+ "layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
277
+ "layers.30.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
278
+ "layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
279
+ "layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
280
+ "layers.30.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
281
+ "layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
282
+ "layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
283
+ "layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
284
+ "layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
285
+ "layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
286
+ "layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
287
+ "layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
288
+ "layers.31.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
289
+ "layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
290
+ "layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
291
+ "layers.31.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
292
+ "layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
293
+ "layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
294
+ "layers.32.input_layernorm.weight": "model-00003-of-00004.safetensors",
295
+ "layers.32.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
296
+ "layers.32.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
297
+ "layers.32.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
298
+ "layers.32.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
299
+ "layers.32.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
300
+ "layers.32.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
301
+ "layers.32.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
302
+ "layers.32.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
303
+ "layers.32.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
304
+ "layers.32.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
305
+ "layers.33.input_layernorm.weight": "model-00004-of-00004.safetensors",
306
+ "layers.33.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
307
+ "layers.33.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
308
+ "layers.33.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
309
+ "layers.33.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
310
+ "layers.33.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
311
+ "layers.33.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
312
+ "layers.33.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
313
+ "layers.33.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
314
+ "layers.33.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
315
+ "layers.33.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
316
+ "layers.34.input_layernorm.weight": "model-00004-of-00004.safetensors",
317
+ "layers.34.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
318
+ "layers.34.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
319
+ "layers.34.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
320
+ "layers.34.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
321
+ "layers.34.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
322
+ "layers.34.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
323
+ "layers.34.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
324
+ "layers.34.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
325
+ "layers.34.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
326
+ "layers.34.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
327
+ "layers.35.input_layernorm.weight": "model-00004-of-00004.safetensors",
328
+ "layers.35.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
329
+ "layers.35.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
330
+ "layers.35.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
331
+ "layers.35.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
332
+ "layers.35.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
333
+ "layers.35.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
334
+ "layers.35.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
335
+ "layers.35.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
336
+ "layers.35.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
337
+ "layers.35.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
338
+ "layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
339
+ "layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
340
+ "layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
341
+ "layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
342
+ "layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
343
+ "layers.4.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
344
+ "layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
345
+ "layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
346
+ "layers.4.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
347
+ "layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
348
+ "layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
349
+ "layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
350
+ "layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
351
+ "layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
352
+ "layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
353
+ "layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
354
+ "layers.5.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
355
+ "layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
356
+ "layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
357
+ "layers.5.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
358
+ "layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
359
+ "layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
360
+ "layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
361
+ "layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
362
+ "layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
363
+ "layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
364
+ "layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
365
+ "layers.6.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
366
+ "layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
367
+ "layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
368
+ "layers.6.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
369
+ "layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
370
+ "layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
371
+ "layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
372
+ "layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
373
+ "layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
374
+ "layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
375
+ "layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
376
+ "layers.7.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
377
+ "layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
378
+ "layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
379
+ "layers.7.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
380
+ "layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
381
+ "layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
382
+ "layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
383
+ "layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
384
+ "layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
385
+ "layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
386
+ "layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
387
+ "layers.8.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
388
+ "layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
389
+ "layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
390
+ "layers.8.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
391
+ "layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
392
+ "layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
393
+ "layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
394
+ "layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
395
+ "layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
396
+ "layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
397
+ "layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
398
+ "layers.9.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
399
+ "layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
400
+ "layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
401
+ "layers.9.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
402
+ "layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
403
+ "layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
404
+ "norm.weight": "model-00004-of-00004.safetensors"
405
+ }
406
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "mask_token": {
25
+ "content": "â½Ĺ",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "pad_token": {
32
+ "content": "<|endoftext|>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ "sep_token": "<|endoftext|>"
39
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6fb5c5bbba5fa5f8332edfb6d8aa67bd7fb3d75365b1765f108201698eaebf5
3
+ size 11422837
tokenizer_config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151642": {
6
+ "content": "â½Ĺ",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151643": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151644": {
22
+ "content": "<|im_start|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151645": {
30
+ "content": "<|im_end|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151646": {
38
+ "content": "<|object_ref_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151647": {
46
+ "content": "<|object_ref_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151648": {
54
+ "content": "<|box_start|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151649": {
62
+ "content": "<|box_end|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151650": {
70
+ "content": "<|quad_start|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151651": {
78
+ "content": "<|quad_end|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151652": {
86
+ "content": "<|vision_start|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151653": {
94
+ "content": "<|vision_end|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151654": {
102
+ "content": "<|vision_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151655": {
110
+ "content": "<|image_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151656": {
118
+ "content": "<|video_pad|>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "151657": {
126
+ "content": "<tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151658": {
134
+ "content": "</tool_call>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151659": {
142
+ "content": "<|fim_prefix|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151660": {
150
+ "content": "<|fim_middle|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151661": {
158
+ "content": "<|fim_suffix|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151662": {
166
+ "content": "<|fim_pad|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151663": {
174
+ "content": "<|repo_name|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151664": {
182
+ "content": "<|file_sep|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151665": {
190
+ "content": "<tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151666": {
198
+ "content": "</tool_response>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151667": {
206
+ "content": "<think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ },
213
+ "151668": {
214
+ "content": "</think>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": false
220
+ }
221
+ },
222
+ "additional_special_tokens": [
223
+ "<|im_start|>",
224
+ "<|im_end|>",
225
+ "<|object_ref_start|>",
226
+ "<|object_ref_end|>",
227
+ "<|box_start|>",
228
+ "<|box_end|>",
229
+ "<|quad_start|>",
230
+ "<|quad_end|>",
231
+ "<|vision_start|>",
232
+ "<|vision_end|>",
233
+ "<|vision_pad|>",
234
+ "<|image_pad|>",
235
+ "<|video_pad|>"
236
+ ],
237
+ "bos_token": null,
238
+ "clean_up_tokenization_spaces": false,
239
+ "eos_token": "<|endoftext|>",
240
+ "errors": "replace",
241
+ "extra_special_tokens": {},
242
+ "mask_token": "â½Ĺ",
243
+ "model_max_length": 131072,
244
+ "pad_token": "<|endoftext|>",
245
+ "sep_token": "<|endoftext|>",
246
+ "split_special_tokens": false,
247
+ "tokenizer_class": "Qwen2Tokenizer",
248
+ "unk_token": null
249
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff