lrl-modelcloud commited on
Commit
6805f88
·
verified ·
1 Parent(s): b95f1f7

Upload folder using huggingface_hub (#1)

Browse files

- f4468641c7a91de0fa880daf6c3fedf576de88e31f4abd1bd51c4ccab0d8e327 (7bca716ffef01b85c00864b353cc132ed1e3bef6)

added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "/monster/data/model/Qwen2.5-0.5B-Instruct",
4
+ "architectures": [
5
+ "Qwen2ForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 151643,
9
+ "eos_token_id": 151645,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 896,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 4864,
14
+ "max_position_embeddings": 32768,
15
+ "max_window_layers": 21,
16
+ "model_type": "qwen2",
17
+ "num_attention_heads": 14,
18
+ "num_hidden_layers": 24,
19
+ "num_key_value_heads": 2,
20
+ "quantization_config": {
21
+ "bits": 4,
22
+ "checkpoint_format": "gptq",
23
+ "desc_act": true,
24
+ "dynamic": null,
25
+ "group_size": 128,
26
+ "lm_head": false,
27
+ "meta": {
28
+ "damp_auto_increment": 0.0025,
29
+ "damp_percent": 0.1,
30
+ "quantizer": [
31
+ "gptqmodel:1.7.0"
32
+ ],
33
+ "static_groups": false,
34
+ "true_sequential": true,
35
+ "uri": "https://github.com/modelcloud/gptqmodel"
36
+ },
37
+ "quant_method": "gptq",
38
+ "sym": true
39
+ },
40
+ "rms_norm_eps": 1e-06,
41
+ "rope_scaling": null,
42
+ "rope_theta": 1000000.0,
43
+ "sliding_window": null,
44
+ "tie_word_embeddings": true,
45
+ "torch_dtype": "bfloat16",
46
+ "transformers_version": "4.49.0.dev0",
47
+ "use_cache": true,
48
+ "use_sliding_window": false,
49
+ "vocab_size": 151936
50
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71f77eda26499bb3b6aa6a889f6852b0dd0e42fdbbe17ecee7fbfdf7ec631611
3
+ size 731653040
quant_log.csv ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layer,module,loss,damp,time
2
+ 0,self_attn.k_proj,0.00669,0.10000,0.572
3
+ 0,self_attn.v_proj,0.00015,0.10000,0.366
4
+ 0,self_attn.q_proj,0.04556,0.10000,0.369
5
+ 0,self_attn.o_proj,0.00003,0.10000,0.365
6
+ 0,mlp.up_proj,0.57997,0.10000,0.394
7
+ 0,mlp.gate_proj,0.91966,0.10000,0.393
8
+ 0,mlp.down_proj,0.01179,0.10000,1.944
9
+ 1,self_attn.k_proj,0.06515,0.10000,0.361
10
+ 1,self_attn.v_proj,0.00657,0.10000,0.371
11
+ 1,self_attn.q_proj,0.22341,0.10000,0.374
12
+ 1,self_attn.o_proj,0.00404,0.10000,0.374
13
+ 1,mlp.up_proj,0.78053,0.10000,0.401
14
+ 1,mlp.gate_proj,1.47476,0.10000,0.398
15
+ 1,mlp.down_proj,0.01116,0.10000,1.960
16
+ 2,self_attn.k_proj,0.13747,0.10000,0.371
17
+ 2,self_attn.v_proj,0.01578,0.10000,0.367
18
+ 2,self_attn.q_proj,0.46999,0.10000,0.372
19
+ 2,self_attn.o_proj,0.00497,0.10000,0.370
20
+ 2,mlp.up_proj,1.05533,0.10000,0.400
21
+ 2,mlp.gate_proj,1.95990,0.10000,0.395
22
+ 2,mlp.down_proj,0.54380,0.10000,2.036
23
+ 3,self_attn.k_proj,0.14006,0.10000,0.365
24
+ 3,self_attn.v_proj,0.03060,0.10000,0.370
25
+ 3,self_attn.q_proj,0.59166,0.10000,0.380
26
+ 3,self_attn.o_proj,0.00675,0.10000,0.380
27
+ 3,mlp.up_proj,1.98003,0.10000,0.401
28
+ 3,mlp.gate_proj,3.62075,0.10000,0.396
29
+ 3,mlp.down_proj,0.64975,0.10000,2.032
30
+ 4,self_attn.k_proj,0.09814,0.10000,0.366
31
+ 4,self_attn.v_proj,0.04382,0.10000,0.366
32
+ 4,self_attn.q_proj,0.46673,0.10000,0.373
33
+ 4,self_attn.o_proj,0.01211,0.10000,0.377
34
+ 4,mlp.up_proj,1.58077,0.10000,0.401
35
+ 4,mlp.gate_proj,2.47939,0.10000,0.397
36
+ 4,mlp.down_proj,0.03189,0.10000,1.972
37
+ 5,self_attn.k_proj,0.12246,0.10000,0.368
38
+ 5,self_attn.v_proj,0.05167,0.10000,0.368
39
+ 5,self_attn.q_proj,0.61106,0.10000,0.373
40
+ 5,self_attn.o_proj,0.01123,0.10000,0.375
41
+ 5,mlp.up_proj,2.01079,0.10000,0.406
42
+ 5,mlp.gate_proj,4.08619,0.10000,0.396
43
+ 5,mlp.down_proj,0.03081,0.10000,1.992
44
+ 6,self_attn.k_proj,0.11447,0.10000,0.363
45
+ 6,self_attn.v_proj,0.03224,0.10000,0.361
46
+ 6,self_attn.q_proj,0.50002,0.10000,0.371
47
+ 6,self_attn.o_proj,0.01039,0.10000,0.371
48
+ 6,mlp.up_proj,1.59279,0.10000,0.403
49
+ 6,mlp.gate_proj,2.33140,0.10000,0.424
50
+ 6,mlp.down_proj,0.03129,0.10000,1.943
51
+ 7,self_attn.k_proj,0.17277,0.10000,0.363
52
+ 7,self_attn.v_proj,0.04741,0.10000,0.364
53
+ 7,self_attn.q_proj,0.70939,0.10000,0.370
54
+ 7,self_attn.o_proj,0.01649,0.10000,0.373
55
+ 7,mlp.up_proj,1.71943,0.10000,0.401
56
+ 7,mlp.gate_proj,2.22081,0.10000,0.397
57
+ 7,mlp.down_proj,0.03903,0.10000,1.962
58
+ 8,self_attn.k_proj,0.11656,0.10000,0.360
59
+ 8,self_attn.v_proj,0.04624,0.10000,0.365
60
+ 8,self_attn.q_proj,0.79887,0.10000,0.371
61
+ 8,self_attn.o_proj,0.02273,0.10000,0.368
62
+ 8,mlp.up_proj,1.43981,0.10000,0.413
63
+ 8,mlp.gate_proj,1.95721,0.10000,0.397
64
+ 8,mlp.down_proj,0.02604,0.10000,1.942
65
+ 9,self_attn.k_proj,0.33948,0.10000,0.362
66
+ 9,self_attn.v_proj,0.08356,0.10000,0.362
67
+ 9,self_attn.q_proj,1.38756,0.10000,0.373
68
+ 9,self_attn.o_proj,0.01633,0.10000,0.374
69
+ 9,mlp.up_proj,1.48946,0.10000,0.400
70
+ 9,mlp.gate_proj,1.75232,0.10000,0.396
71
+ 9,mlp.down_proj,0.02843,0.10000,1.953
72
+ 10,self_attn.k_proj,0.10033,0.10000,0.365
73
+ 10,self_attn.v_proj,0.06627,0.10000,0.364
74
+ 10,self_attn.q_proj,0.50354,0.10000,0.375
75
+ 10,self_attn.o_proj,0.02601,0.10000,0.373
76
+ 10,mlp.up_proj,1.28366,0.10000,0.400
77
+ 10,mlp.gate_proj,1.68165,0.10000,0.395
78
+ 10,mlp.down_proj,0.02453,0.10000,1.970
79
+ 11,self_attn.k_proj,0.35640,0.10000,0.364
80
+ 11,self_attn.v_proj,0.08797,0.10000,0.363
81
+ 11,self_attn.q_proj,1.44697,0.10000,0.373
82
+ 11,self_attn.o_proj,0.01708,0.10000,0.374
83
+ 11,mlp.up_proj,1.46764,0.10000,0.400
84
+ 11,mlp.gate_proj,1.59477,0.10000,0.403
85
+ 11,mlp.down_proj,0.03929,0.10000,1.959
86
+ 12,self_attn.k_proj,0.09292,0.10000,0.366
87
+ 12,self_attn.v_proj,0.06008,0.10000,0.366
88
+ 12,self_attn.q_proj,0.50941,0.10000,0.376
89
+ 12,self_attn.o_proj,0.02493,0.10000,0.407
90
+ 12,mlp.up_proj,1.36413,0.10000,0.420
91
+ 12,mlp.gate_proj,1.50805,0.10000,0.423
92
+ 12,mlp.down_proj,0.02825,0.10000,2.090
93
+ 13,self_attn.k_proj,0.17860,0.10000,0.391
94
+ 13,self_attn.v_proj,0.06740,0.10000,0.392
95
+ 13,self_attn.q_proj,0.91921,0.10000,0.375
96
+ 13,self_attn.o_proj,0.02215,0.10000,0.405
97
+ 13,mlp.up_proj,1.60880,0.10000,0.428
98
+ 13,mlp.gate_proj,1.61348,0.10000,0.419
99
+ 13,mlp.down_proj,0.03996,0.10000,1.946
100
+ 14,self_attn.k_proj,0.12914,0.10000,0.363
101
+ 14,self_attn.v_proj,0.10303,0.10000,0.360
102
+ 14,self_attn.q_proj,0.79523,0.10000,0.370
103
+ 14,self_attn.o_proj,0.04685,0.10000,0.372
104
+ 14,mlp.up_proj,1.58363,0.10000,0.395
105
+ 14,mlp.gate_proj,1.77731,0.10000,0.392
106
+ 14,mlp.down_proj,0.04859,0.10000,1.937
107
+ 15,self_attn.k_proj,0.13345,0.10000,0.362
108
+ 15,self_attn.v_proj,0.08482,0.10000,0.361
109
+ 15,self_attn.q_proj,0.72791,0.10000,0.372
110
+ 15,self_attn.o_proj,0.03135,0.10000,0.371
111
+ 15,mlp.up_proj,2.07139,0.10000,0.398
112
+ 15,mlp.gate_proj,2.14117,0.10000,0.393
113
+ 15,mlp.down_proj,0.06882,0.10000,2.049
114
+ 16,self_attn.k_proj,0.25867,0.10000,0.366
115
+ 16,self_attn.v_proj,0.23036,0.10000,0.368
116
+ 16,self_attn.q_proj,1.52680,0.10000,0.372
117
+ 16,self_attn.o_proj,0.03056,0.10000,0.404
118
+ 16,mlp.up_proj,2.59174,0.10000,0.404
119
+ 16,mlp.gate_proj,3.33505,0.10000,0.403
120
+ 16,mlp.down_proj,0.12967,0.10000,2.131
121
+ 17,self_attn.k_proj,0.15921,0.10000,0.364
122
+ 17,self_attn.v_proj,0.14702,0.10000,0.363
123
+ 17,self_attn.q_proj,1.03912,0.10000,0.379
124
+ 17,self_attn.o_proj,0.02504,0.10000,0.373
125
+ 17,mlp.up_proj,2.94703,0.10000,0.400
126
+ 17,mlp.gate_proj,4.60301,0.10000,0.399
127
+ 17,mlp.down_proj,0.10250,0.10000,2.064
128
+ 18,self_attn.k_proj,0.17395,0.10000,0.362
129
+ 18,self_attn.v_proj,0.13174,0.10000,0.361
130
+ 18,self_attn.q_proj,1.01365,0.10000,0.377
131
+ 18,self_attn.o_proj,0.02879,0.10000,0.382
132
+ 18,mlp.up_proj,2.89602,0.10000,0.416
133
+ 18,mlp.gate_proj,3.61816,0.10000,0.394
134
+ 18,mlp.down_proj,0.11206,0.10000,2.045
135
+ 19,self_attn.k_proj,0.15185,0.10000,0.365
136
+ 19,self_attn.v_proj,0.12662,0.10000,0.366
137
+ 19,self_attn.q_proj,0.91668,0.10000,0.372
138
+ 19,self_attn.o_proj,0.04191,0.10000,0.377
139
+ 19,mlp.up_proj,4.22402,0.10000,0.402
140
+ 19,mlp.gate_proj,5.07732,0.10000,0.397
141
+ 19,mlp.down_proj,0.21600,0.10000,1.942
142
+ 20,self_attn.k_proj,0.21450,0.10000,0.368
143
+ 20,self_attn.v_proj,0.46156,0.10000,0.375
144
+ 20,self_attn.q_proj,1.34480,0.10000,0.383
145
+ 20,self_attn.o_proj,0.07874,0.10000,0.373
146
+ 20,mlp.up_proj,4.72404,0.10000,0.405
147
+ 20,mlp.gate_proj,5.23060,0.10000,0.420
148
+ 20,mlp.down_proj,0.30142,0.10000,1.931
149
+ 21,self_attn.k_proj,0.25363,0.10000,0.363
150
+ 21,self_attn.v_proj,0.68723,0.10000,0.361
151
+ 21,self_attn.q_proj,1.54567,0.10000,0.371
152
+ 21,self_attn.o_proj,0.19063,0.10000,0.373
153
+ 21,mlp.up_proj,4.74235,0.10000,0.399
154
+ 21,mlp.gate_proj,5.02750,0.10000,0.393
155
+ 21,mlp.down_proj,1.48262,0.10000,1.988
156
+ 22,self_attn.k_proj,0.24376,0.10000,0.361
157
+ 22,self_attn.v_proj,0.69571,0.10000,0.368
158
+ 22,self_attn.q_proj,1.45133,0.10000,0.380
159
+ 22,self_attn.o_proj,0.05970,0.10000,0.381
160
+ 22,mlp.up_proj,4.15480,0.10000,0.406
161
+ 22,mlp.gate_proj,3.93745,0.10000,0.398
162
+ 22,mlp.down_proj,0.47177,0.10000,1.975
163
+ 23,self_attn.k_proj,0.30426,0.10000,0.368
164
+ 23,self_attn.v_proj,0.64836,0.10000,0.365
165
+ 23,self_attn.q_proj,1.41738,0.10000,0.374
166
+ 23,self_attn.o_proj,0.18444,0.10000,0.374
167
+ 23,mlp.up_proj,4.43292,0.10000,0.401
168
+ 23,mlp.gate_proj,4.59121,0.10000,0.397
169
+ 23,mlp.down_proj,0.96985,0.10000,1.943
quantize_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "dynamic": null,
4
+ "group_size": 128,
5
+ "desc_act": true,
6
+ "sym": true,
7
+ "lm_head": false,
8
+ "quant_method": "gptq",
9
+ "checkpoint_format": "gptq",
10
+ "meta": {
11
+ "quantizer": [
12
+ "gptqmodel:1.7.0"
13
+ ],
14
+ "uri": "https://github.com/modelcloud/gptqmodel",
15
+ "damp_percent": 0.1,
16
+ "damp_auto_increment": 0.0025,
17
+ "static_groups": false,
18
+ "true_sequential": true,
19
+ "mse": 2.4
20
+ }
21
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<unk>"
25
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\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 {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) 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{%- endif %}\n",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|im_end|>",
201
+ "errors": "replace",
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff