JunHowie commited on
Commit
b9f5d0d
·
verified ·
1 Parent(s): 5ff3cfc

Upload folder using huggingface_hub

Browse files
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 CHANGED
@@ -11,6 +11,48 @@
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",
@@ -20,19 +62,22 @@
20
  "quantization_config": {
21
  "bits": 8,
22
  "checkpoint_format": "gptq",
23
- "desc_act": true,
24
  "group_size": 128,
 
25
  "lm_head": false,
26
  "meta": {
27
- "damp_auto_increment": 0.0025,
28
- "damp_percent": 0.01,
29
  "mse": 0.0,
30
  "quantizer": [
31
- "gptqmodel:2.2.0"
32
  ],
33
  "static_groups": false,
34
  "true_sequential": true,
35
- "uri": "https://github.com/modelcloud/gptqmodel"
 
 
36
  },
37
  "pack_dtype": "int32",
38
  "quant_method": "gptq",
@@ -44,7 +89,7 @@
44
  "sliding_window": null,
45
  "tie_word_embeddings": false,
46
  "torch_dtype": "bfloat16",
47
- "transformers_version": "4.51.3",
48
  "use_cache": true,
49
  "use_sliding_window": false,
50
  "vocab_size": 151936
 
11
  "hidden_size": 5120,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 17408,
14
+ "layer_types": [
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
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
+ ],
56
  "max_position_embeddings": 40960,
57
  "max_window_layers": 40,
58
  "model_type": "qwen3",
 
62
  "quantization_config": {
63
  "bits": 8,
64
  "checkpoint_format": "gptq",
65
+ "desc_act": false,
66
  "group_size": 128,
67
+ "hyb_act": false,
68
  "lm_head": false,
69
  "meta": {
70
+ "damp_auto_increment": 0.01,
71
+ "damp_percent": 0.05,
72
  "mse": 0.0,
73
  "quantizer": [
74
+ "gptqmodel:4.0.0"
75
  ],
76
  "static_groups": false,
77
  "true_sequential": true,
78
+ "uri": "https://github.com/modelcloud/gptqmodel",
79
+ "v2": false,
80
+ "v2_alpha": 0.25
81
  },
82
  "pack_dtype": "int32",
83
  "quant_method": "gptq",
 
89
  "sliding_window": null,
90
  "tie_word_embeddings": false,
91
  "torch_dtype": "bfloat16",
92
+ "transformers_version": "4.55.4",
93
  "use_cache": true,
94
  "use_sliding_window": false,
95
  "vocab_size": 151936
generation_config.json CHANGED
@@ -9,5 +9,5 @@
9
  "temperature": 0.6,
10
  "top_k": 20,
11
  "top_p": 0.95,
12
- "transformers_version": "4.51.3"
13
  }
 
9
  "temperature": 0.6,
10
  "top_k": 20,
11
  "top_p": 0.95,
12
+ "transformers_version": "4.55.4"
13
  }
model-00001-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d43cbcd8ed238fe9cccd78c1f61463db407dd876996bcb1a78e0d81cc91e7d69
3
  size 3988118112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdc23ab6b58f003066fc85b0ef8fdd10f01d8bc954d677b2c8363471b2b24b17
3
  size 3988118112
model-00002-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:73604aa1c7798f8c5e2b5a27c9d420506ab4752c304fa21a4b3009c6b6433e40
3
  size 3994646384
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:711386c2c2b48fb79bd8b6178255007a0cff64fc92f3c7aef5dbfe223d33d1b5
3
  size 3994646384
model-00003-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:55da1d07e76e5c002bf8f39c7a72769d54bdd52ff063dcb8909448590354255a
3
  size 3967811360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5095ba71765947d28d0d2fd5ab7c7a2326656863639bf3969fef314f8fa20d90
3
  size 3967811360
model-00004-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6df050e52713927d570cd4322c2812fd16d32d97bc18d5fb60f64dc30b085c7e
3
  size 3135659096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc4e23fdc88c11517b662a7393b3010dd438c359c1fd76524d7c0b1d07968e6a
3
  size 3135659096
quant_log.csv ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layer,module,loss,samples,damp,time
2
+ 0,self_attn.k_proj,0.0000000000,0.05000,1.608
3
+ 0,self_attn.v_proj,0.0000000000,0.05000,1.271
4
+ 0,self_attn.q_proj,0.0000000001,0.05000,1.268
5
+ 0,self_attn.o_proj,0.0000000003,0.05000,1.243
6
+ 0,mlp.gate_proj,0.0000000149,0.05000,1.288
7
+ 0,mlp.up_proj,0.0000000041,0.05000,1.275
8
+ 0,mlp.down_proj,0.0000000021,0.05000,5.248
9
+ 1,self_attn.k_proj,0.0000000000,0.05000,1.212
10
+ 1,self_attn.v_proj,0.0000000000,0.05000,1.233
11
+ 1,self_attn.q_proj,0.0000000002,0.05000,1.236
12
+ 1,self_attn.o_proj,0.0000000002,0.05000,1.271
13
+ 1,mlp.gate_proj,0.0000002356,0.05000,1.311
14
+ 1,mlp.up_proj,0.0000000629,0.05000,1.349
15
+ 1,mlp.down_proj,0.0000000041,0.05000,5.250
16
+ 2,self_attn.k_proj,0.0000000001,0.05000,1.243
17
+ 2,self_attn.v_proj,0.0000000001,0.05000,1.248
18
+ 2,self_attn.q_proj,0.0000000004,0.05000,1.293
19
+ 2,self_attn.o_proj,0.0000000005,0.05000,1.230
20
+ 2,mlp.gate_proj,0.0000003456,0.05000,1.310
21
+ 2,mlp.up_proj,0.0000001293,0.05000,1.350
22
+ 2,mlp.down_proj,0.0000000034,0.05000,5.178
23
+ 3,self_attn.k_proj,0.0000000002,0.05000,1.385
24
+ 3,self_attn.v_proj,0.0000000002,0.05000,1.366
25
+ 3,self_attn.q_proj,0.0000000007,0.05000,1.383
26
+ 3,self_attn.o_proj,0.0000000006,0.05000,1.285
27
+ 3,mlp.gate_proj,0.0000004641,0.05000,1.489
28
+ 3,mlp.up_proj,0.0000001930,0.05000,1.492
29
+ 3,mlp.down_proj,0.0000000064,0.05000,5.132
30
+ 4,self_attn.k_proj,0.0000000003,0.05000,1.237
31
+ 4,self_attn.v_proj,0.0000000003,0.05000,1.247
32
+ 4,self_attn.q_proj,0.0000000012,0.05000,1.250
33
+ 4,self_attn.o_proj,0.0000000008,0.05000,1.287
34
+ 4,mlp.gate_proj,0.0000006685,0.05000,1.799
35
+ 4,mlp.up_proj,0.0000003718,0.05000,1.796
36
+ 4,mlp.down_proj,0.0000000080,0.05000,5.095
37
+ 5,self_attn.k_proj,0.0000000003,0.05000,1.245
38
+ 5,self_attn.v_proj,0.0000000004,0.05000,1.220
39
+ 5,self_attn.q_proj,0.0000000014,0.05000,1.239
40
+ 5,self_attn.o_proj,0.0000000010,0.05000,1.237
41
+ 5,mlp.gate_proj,0.0000007204,0.05000,2.094
42
+ 5,mlp.up_proj,0.0000002762,0.05000,2.086
43
+ 5,mlp.down_proj,0.0000000159,0.05000,5.226
44
+ 6,self_attn.k_proj,0.0000000005,0.05000,1.272
45
+ 6,self_attn.v_proj,0.0000000006,0.05000,1.216
46
+ 6,self_attn.q_proj,0.0000000023,0.05000,1.229
47
+ 6,self_attn.o_proj,0.0000000014,0.05000,1.272
48
+ 6,mlp.gate_proj,0.0000010165,0.05000,2.343
49
+ 6,mlp.up_proj,0.0000005455,0.05000,2.312
50
+ 6,mlp.down_proj,0.0000030633,0.05000,5.788
51
+ 7,self_attn.k_proj,0.0000000022,0.05000,1.278
52
+ 7,self_attn.v_proj,0.0000000024,0.05000,1.246
53
+ 7,self_attn.q_proj,0.0000000095,0.05000,1.363
54
+ 7,self_attn.o_proj,0.0000000033,0.05000,1.337
55
+ 7,mlp.gate_proj,0.0000009015,0.05000,2.519
56
+ 7,mlp.up_proj,0.0000004249,0.05000,2.498
57
+ 7,mlp.down_proj,0.0000000286,0.05000,5.549
58
+ 8,self_attn.k_proj,0.0000000025,0.05000,1.270
59
+ 8,self_attn.v_proj,0.0000000029,0.05000,1.227
60
+ 8,self_attn.q_proj,0.0000000109,0.05000,1.263
61
+ 8,self_attn.o_proj,0.0000000039,0.05000,1.279
62
+ 8,mlp.gate_proj,0.0000002529,0.05000,2.641
63
+ 8,mlp.up_proj,0.0000001376,0.05000,2.604
64
+ 8,mlp.down_proj,0.0000000270,0.05000,5.703
65
+ 9,self_attn.k_proj,0.0000000020,0.05000,1.250
66
+ 9,self_attn.v_proj,0.0000000021,0.05000,1.201
67
+ 9,self_attn.q_proj,0.0000000083,0.05000,1.245
68
+ 9,self_attn.o_proj,0.0000000031,0.05000,1.271
69
+ 9,mlp.gate_proj,0.0000001374,0.05000,2.712
70
+ 9,mlp.up_proj,0.0000001229,0.05000,2.666
71
+ 9,mlp.down_proj,0.0000000360,0.05000,5.699
72
+ 10,self_attn.k_proj,0.0000000032,0.05000,1.237
73
+ 10,self_attn.v_proj,0.0000000037,0.05000,1.202
74
+ 10,self_attn.q_proj,0.0000000146,0.05000,1.222
75
+ 10,self_attn.o_proj,0.0000000055,0.05000,1.265
76
+ 10,mlp.gate_proj,0.0000001438,0.05000,2.729
77
+ 10,mlp.up_proj,0.0000001321,0.05000,2.691
78
+ 10,mlp.down_proj,0.0000000309,0.05000,5.662
79
+ 11,self_attn.k_proj,0.0000000047,0.05000,1.236
80
+ 11,self_attn.v_proj,0.0000000054,0.05000,1.206
81
+ 11,self_attn.q_proj,0.0000000213,0.05000,1.242
82
+ 11,self_attn.o_proj,0.0000000080,0.05000,1.279
83
+ 11,mlp.gate_proj,0.0000001702,0.05000,2.725
84
+ 11,mlp.up_proj,0.0000001570,0.05000,2.679
85
+ 11,mlp.down_proj,0.0000000382,0.05000,5.663
86
+ 12,self_attn.k_proj,0.0000000038,0.05000,1.270
87
+ 12,self_attn.v_proj,0.0000000043,0.05000,1.221
88
+ 12,self_attn.q_proj,0.0000000168,0.05000,1.246
89
+ 12,self_attn.o_proj,0.0000000083,0.05000,1.287
90
+ 12,mlp.gate_proj,0.0000001990,0.05000,2.718
91
+ 12,mlp.up_proj,0.0000001818,0.05000,2.679
92
+ 12,mlp.down_proj,0.0000000475,0.05000,5.667
93
+ 13,self_attn.k_proj,0.0000000083,0.05000,1.218
94
+ 13,self_attn.v_proj,0.0000000095,0.05000,1.204
95
+ 13,self_attn.q_proj,0.0000000373,0.05000,1.239
96
+ 13,self_attn.o_proj,0.0000000132,0.05000,1.437
97
+ 13,mlp.gate_proj,0.0000002398,0.05000,2.726
98
+ 13,mlp.up_proj,0.0000002055,0.05000,2.682
99
+ 13,mlp.down_proj,0.0000000539,0.05000,5.732
100
+ 14,self_attn.k_proj,0.0000000060,0.05000,1.249
101
+ 14,self_attn.v_proj,0.0000000070,0.05000,1.207
102
+ 14,self_attn.q_proj,0.0000000262,0.05000,1.231
103
+ 14,self_attn.o_proj,0.0000000124,0.05000,1.283
104
+ 14,mlp.gate_proj,0.0000002277,0.05000,2.766
105
+ 14,mlp.up_proj,0.0000002028,0.05000,2.716
106
+ 14,mlp.down_proj,0.0000000555,0.05000,5.775
107
+ 15,self_attn.k_proj,0.0000000054,0.05000,1.234
108
+ 15,self_attn.v_proj,0.0000000057,0.05000,1.239
109
+ 15,self_attn.q_proj,0.0000000232,0.05000,1.236
110
+ 15,self_attn.o_proj,0.0000000120,0.05000,1.333
111
+ 15,mlp.gate_proj,0.0000002143,0.05000,2.781
112
+ 15,mlp.up_proj,0.0000002041,0.05000,2.748
113
+ 15,mlp.down_proj,0.0000000569,0.05000,5.749
114
+ 16,self_attn.k_proj,0.0000000069,0.05000,1.247
115
+ 16,self_attn.v_proj,0.0000000078,0.05000,1.218
116
+ 16,self_attn.q_proj,0.0000000293,0.05000,1.238
117
+ 16,self_attn.o_proj,0.0000000160,0.05000,1.282
118
+ 16,mlp.gate_proj,0.0000001931,0.05000,2.763
119
+ 16,mlp.up_proj,0.0000001971,0.05000,2.714
120
+ 16,mlp.down_proj,0.0000000595,0.05000,5.776
121
+ 17,self_attn.k_proj,0.0000000070,0.05000,1.259
122
+ 17,self_attn.v_proj,0.0000000076,0.05000,1.244
123
+ 17,self_attn.q_proj,0.0000000310,0.05000,1.272
124
+ 17,self_attn.o_proj,0.0000000174,0.05000,1.294
125
+ 17,mlp.gate_proj,0.0000002041,0.05000,2.790
126
+ 17,mlp.up_proj,0.0000002107,0.05000,2.739
127
+ 17,mlp.down_proj,0.0000000591,0.05000,5.725
128
+ 18,self_attn.k_proj,0.0000000099,0.05000,1.236
129
+ 18,self_attn.v_proj,0.0000000110,0.05000,1.231
130
+ 18,self_attn.q_proj,0.0000000449,0.05000,1.244
131
+ 18,self_attn.o_proj,0.0000000171,0.05000,1.300
132
+ 18,mlp.gate_proj,0.0000002128,0.05000,2.755
133
+ 18,mlp.up_proj,0.0000002273,0.05000,2.717
134
+ 18,mlp.down_proj,0.0000000713,0.05000,5.824
135
+ 19,self_attn.k_proj,0.0000000133,0.05000,1.419
136
+ 19,self_attn.v_proj,0.0000000144,0.05000,1.370
137
+ 19,self_attn.q_proj,0.0000000573,0.05000,1.400
138
+ 19,self_attn.o_proj,0.0000000215,0.05000,3.100
139
+ 19,mlp.gate_proj,0.0000002382,0.05000,2.840
140
+ 19,mlp.up_proj,0.0000002524,0.05000,2.880
141
+ 19,mlp.down_proj,0.0000001835,0.05000,11.147
142
+ 20,self_attn.k_proj,0.0000000244,0.05000,2.686
143
+ 20,self_attn.v_proj,0.0000000304,0.05000,2.694
144
+ 20,self_attn.q_proj,0.0000001156,0.05000,2.743
145
+ 20,self_attn.o_proj,0.0000000301,0.05000,2.666
146
+ 20,mlp.gate_proj,0.0000002484,0.05000,3.245
147
+ 20,mlp.up_proj,0.0000002656,0.05000,3.233
148
+ 20,mlp.down_proj,0.0000001017,0.05000,12.341
149
+ 21,self_attn.k_proj,0.0000000251,0.05000,2.986
150
+ 21,self_attn.v_proj,0.0000000264,0.05000,2.962
151
+ 21,self_attn.q_proj,0.0000001019,0.05000,3.059
152
+ 21,self_attn.o_proj,0.0000000396,0.05000,2.976
153
+ 21,mlp.gate_proj,0.0000002622,0.05000,3.496
154
+ 21,mlp.up_proj,0.0000002757,0.05000,3.500
155
+ 21,mlp.down_proj,0.0000001119,0.05000,11.943
156
+ 22,self_attn.k_proj,0.0000000238,0.05000,2.946
157
+ 22,self_attn.v_proj,0.0000000296,0.05000,2.853
158
+ 22,self_attn.q_proj,0.0000001088,0.05000,2.927
159
+ 22,self_attn.o_proj,0.0000000381,0.05000,2.933
160
+ 22,mlp.gate_proj,0.0000002831,0.05000,3.603
161
+ 22,mlp.up_proj,0.0000003007,0.05000,3.516
162
+ 22,mlp.down_proj,0.0000001143,0.05000,12.494
163
+ 23,self_attn.k_proj,0.0000000342,0.05000,2.872
164
+ 23,self_attn.v_proj,0.0000000455,0.05000,2.833
165
+ 23,self_attn.q_proj,0.0000001655,0.05000,2.872
166
+ 23,self_attn.o_proj,0.0000000303,0.05000,3.006
167
+ 23,mlp.gate_proj,0.0000002891,0.05000,3.699
168
+ 23,mlp.up_proj,0.0000003093,0.05000,3.486
169
+ 23,mlp.down_proj,0.0000001386,0.05000,12.495
170
+ 24,self_attn.k_proj,0.0000000418,0.05000,2.969
171
+ 24,self_attn.v_proj,0.0000000572,0.05000,3.049
172
+ 24,self_attn.q_proj,0.0000002142,0.05000,3.041
173
+ 24,self_attn.o_proj,0.0000000520,0.05000,3.151
174
+ 24,mlp.gate_proj,0.0000003189,0.05000,3.735
175
+ 24,mlp.up_proj,0.0000003336,0.05000,3.711
176
+ 24,mlp.down_proj,0.0000001439,0.05000,12.620
177
+ 25,self_attn.k_proj,0.0000000434,0.05000,1.259
178
+ 25,self_attn.v_proj,0.0000000548,0.05000,1.228
179
+ 25,self_attn.q_proj,0.0000002045,0.05000,1.253
180
+ 25,self_attn.o_proj,0.0000000486,0.05000,1.285
181
+ 25,mlp.gate_proj,0.0000003654,0.05000,3.381
182
+ 25,mlp.up_proj,0.0000003748,0.05000,3.274
183
+ 25,mlp.down_proj,0.0000001957,0.05000,6.119
184
+ 26,self_attn.k_proj,0.0000000447,0.05000,1.252
185
+ 26,self_attn.v_proj,0.0000000600,0.05000,1.214
186
+ 26,self_attn.q_proj,0.0000002259,0.05000,1.230
187
+ 26,self_attn.o_proj,0.0000000501,0.05000,1.267
188
+ 26,mlp.gate_proj,0.0000004381,0.05000,2.894
189
+ 26,mlp.up_proj,0.0000004364,0.05000,2.844
190
+ 26,mlp.down_proj,0.0000003177,0.05000,5.673
191
+ 27,self_attn.k_proj,0.0000000808,0.05000,1.259
192
+ 27,self_attn.v_proj,0.0000001062,0.05000,1.214
193
+ 27,self_attn.q_proj,0.0000003821,0.05000,1.235
194
+ 27,self_attn.o_proj,0.0000000942,0.05000,1.285
195
+ 27,mlp.gate_proj,0.0000005449,0.05000,2.707
196
+ 27,mlp.up_proj,0.0000005444,0.05000,2.679
197
+ 27,mlp.down_proj,0.0000004879,0.05000,5.670
198
+ 28,self_attn.k_proj,0.0000001069,0.05000,1.244
199
+ 28,self_attn.v_proj,0.0000001591,0.05000,1.218
200
+ 28,self_attn.q_proj,0.0000005816,0.05000,1.240
201
+ 28,self_attn.o_proj,0.0000001124,0.05000,1.282
202
+ 28,mlp.gate_proj,0.0000006669,0.05000,2.688
203
+ 28,mlp.up_proj,0.0000006805,0.05000,2.661
204
+ 28,mlp.down_proj,0.0000006141,0.05000,5.578
205
+ 29,self_attn.k_proj,0.0000001652,0.05000,1.224
206
+ 29,self_attn.v_proj,0.0000002137,0.05000,1.218
207
+ 29,self_attn.q_proj,0.0000007917,0.05000,1.223
208
+ 29,self_attn.o_proj,0.0000000944,0.05000,1.286
209
+ 29,mlp.gate_proj,0.0000007430,0.05000,2.691
210
+ 29,mlp.up_proj,0.0000007675,0.05000,2.657
211
+ 29,mlp.down_proj,0.0000009056,0.05000,5.653
212
+ 30,self_attn.k_proj,0.0000002540,0.05000,1.300
213
+ 30,self_attn.v_proj,0.0000003661,0.05000,1.221
214
+ 30,self_attn.q_proj,0.0000012225,0.05000,1.254
215
+ 30,self_attn.o_proj,0.0000002047,0.05000,1.293
216
+ 30,mlp.gate_proj,0.0000009594,0.05000,2.721
217
+ 30,mlp.up_proj,0.0000009889,0.05000,2.666
218
+ 30,mlp.down_proj,0.0000011860,0.05000,5.710
219
+ 31,self_attn.k_proj,0.0000002662,0.05000,1.266
220
+ 31,self_attn.v_proj,0.0000003309,0.05000,1.229
221
+ 31,self_attn.q_proj,0.0000012580,0.05000,1.253
222
+ 31,self_attn.o_proj,0.0000001825,0.05000,1.279
223
+ 31,mlp.gate_proj,0.0000010435,0.05000,2.735
224
+ 31,mlp.up_proj,0.0000010983,0.05000,2.693
225
+ 31,mlp.down_proj,0.0000014923,0.05000,5.708
226
+ 32,self_attn.k_proj,0.0000004588,0.05000,1.257
227
+ 32,self_attn.v_proj,0.0000006749,0.05000,1.223
228
+ 32,self_attn.q_proj,0.0000022000,0.05000,1.256
229
+ 32,self_attn.o_proj,0.0000001838,0.05000,1.291
230
+ 32,mlp.gate_proj,0.0000011835,0.05000,2.746
231
+ 32,mlp.up_proj,0.0000012659,0.05000,2.906
232
+ 32,mlp.down_proj,0.0000019001,0.05000,5.747
233
+ 33,self_attn.k_proj,0.0000005869,0.05000,1.227
234
+ 33,self_attn.v_proj,0.0000008845,0.05000,1.226
235
+ 33,self_attn.q_proj,0.0000029721,0.05000,1.245
236
+ 33,self_attn.o_proj,0.0000002444,0.05000,1.273
237
+ 33,mlp.gate_proj,0.0000012551,0.05000,2.778
238
+ 33,mlp.up_proj,0.0000013810,0.05000,2.740
239
+ 33,mlp.down_proj,0.0000024191,0.05000,5.714
240
+ 34,self_attn.k_proj,0.0000009436,0.05000,1.226
241
+ 34,self_attn.v_proj,0.0000014251,0.05000,1.244
242
+ 34,self_attn.q_proj,0.0000047080,0.05000,1.284
243
+ 34,self_attn.o_proj,0.0000002777,0.05000,1.266
244
+ 34,mlp.gate_proj,0.0000014021,0.05000,2.765
245
+ 34,mlp.up_proj,0.0000015736,0.05000,2.723
246
+ 34,mlp.down_proj,0.0000030276,0.05000,5.794
247
+ 35,self_attn.k_proj,0.0000012035,0.05000,1.236
248
+ 35,self_attn.v_proj,0.0000019715,0.05000,1.209
249
+ 35,self_attn.q_proj,0.0000061430,0.05000,1.227
250
+ 35,self_attn.o_proj,0.0000002815,0.05000,1.280
251
+ 35,mlp.gate_proj,0.0000015192,0.05000,2.764
252
+ 35,mlp.up_proj,0.0000017237,0.05000,2.725
253
+ 35,mlp.down_proj,0.0000044798,0.05000,6.006
254
+ 36,self_attn.k_proj,0.0000012551,0.05000,1.238
255
+ 36,self_attn.v_proj,0.0000019508,0.05000,1.226
256
+ 36,self_attn.q_proj,0.0000057919,0.05000,1.238
257
+ 36,self_attn.o_proj,0.0000007864,0.05000,1.282
258
+ 36,mlp.gate_proj,0.0000016147,0.05000,2.746
259
+ 36,mlp.up_proj,0.0000018898,0.05000,2.715
260
+ 36,mlp.down_proj,0.0000064629,0.05000,5.655
261
+ 37,self_attn.k_proj,0.0000016820,0.05000,1.387
262
+ 37,self_attn.v_proj,0.0000029921,0.05000,1.228
263
+ 37,self_attn.q_proj,0.0000083882,0.05000,1.269
264
+ 37,self_attn.o_proj,0.0000008105,0.05000,1.375
265
+ 37,mlp.gate_proj,0.0000017379,0.05000,2.764
266
+ 37,mlp.up_proj,0.0000020626,0.05000,2.722
267
+ 37,mlp.down_proj,0.0000090136,0.05000,5.689
268
+ 38,self_attn.k_proj,0.0000017496,0.05000,1.223
269
+ 38,self_attn.v_proj,0.0000032497,0.05000,1.208
270
+ 38,self_attn.q_proj,0.0000083224,0.05000,1.225
271
+ 38,self_attn.o_proj,0.0000017614,0.05000,1.280
272
+ 38,mlp.gate_proj,0.0000022542,0.05000,2.758
273
+ 38,mlp.up_proj,0.0000025480,0.05000,2.713
274
+ 38,mlp.down_proj,0.0000141993,0.05000,5.750
275
+ 39,self_attn.k_proj,0.0000008697,0.05000,1.233
276
+ 39,self_attn.v_proj,0.0000013233,0.05000,1.214
277
+ 39,self_attn.q_proj,0.0000040708,0.05000,1.232
278
+ 39,self_attn.o_proj,0.0000014657,0.05000,1.255
279
+ 39,mlp.gate_proj,0.0000032426,0.05000,2.746
280
+ 39,mlp.up_proj,0.0000035667,0.05000,2.682
281
+ 39,mlp.down_proj,0.0000380214,0.05000,5.708
quantize_config.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
  "bits": 8,
3
  "group_size": 128,
4
- "desc_act": true,
 
5
  "sym": true,
6
  "lm_head": false,
7
  "quant_method": "gptq",
@@ -9,13 +10,15 @@
9
  "pack_dtype": "int32",
10
  "meta": {
11
  "quantizer": [
12
- "gptqmodel:2.2.0"
13
  ],
14
  "uri": "https://github.com/modelcloud/gptqmodel",
15
- "damp_percent": 0.01,
16
- "damp_auto_increment": 0.0025,
17
  "static_groups": false,
18
  "true_sequential": true,
19
- "mse": 0.0
 
 
20
  }
21
  }
 
1
  {
2
  "bits": 8,
3
  "group_size": 128,
4
+ "desc_act": false,
5
+ "hyb_act": false,
6
  "sym": true,
7
  "lm_head": false,
8
  "quant_method": "gptq",
 
10
  "pack_dtype": "int32",
11
  "meta": {
12
  "quantizer": [
13
+ "gptqmodel:4.0.0"
14
  ],
15
  "uri": "https://github.com/modelcloud/gptqmodel",
16
+ "damp_percent": 0.05,
17
+ "damp_auto_increment": 0.01,
18
  "static_groups": false,
19
  "true_sequential": true,
20
+ "mse": 0.0,
21
+ "v2": false,
22
+ "v2_alpha": 0.25
23
  }
24
  }
tokenizer_config.json CHANGED
@@ -227,7 +227,6 @@
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",
 
227
  "<|video_pad|>"
228
  ],
229
  "bos_token": null,
 
230
  "clean_up_tokenization_spaces": false,
231
  "eos_token": "<|im_end|>",
232
  "errors": "replace",