Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- added_tokens.json +24 -0
- chat_template.json +3 -0
- config.json +86 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +29 -0
- quant_log.csv +197 -0
- quantize_config.json +21 -0
- special_tokens_map.json +25 -0
- tokenizer.json +3 -0
- tokenizer_config.json +209 -0
- vocab.json +0 -0
.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,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 |
+
}
|
chat_template.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Qwen2_5_VLForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 151643,
|
7 |
+
"eos_token_id": 151645,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 3584,
|
10 |
+
"image_token_id": 151655,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 18944,
|
13 |
+
"max_position_embeddings": 128000,
|
14 |
+
"max_window_layers": 28,
|
15 |
+
"model_type": "qwen2_5_vl",
|
16 |
+
"num_attention_heads": 28,
|
17 |
+
"num_hidden_layers": 28,
|
18 |
+
"num_key_value_heads": 4,
|
19 |
+
"quantization_config": {
|
20 |
+
"bits": 4,
|
21 |
+
"checkpoint_format": "gptq",
|
22 |
+
"desc_act": true,
|
23 |
+
"group_size": 128,
|
24 |
+
"lm_head": false,
|
25 |
+
"meta": {
|
26 |
+
"damp_auto_increment": 0.0025,
|
27 |
+
"damp_percent": 0.01,
|
28 |
+
"mse": 0.0,
|
29 |
+
"quantizer": [
|
30 |
+
"gptqmodel:2.2.0"
|
31 |
+
],
|
32 |
+
"static_groups": false,
|
33 |
+
"true_sequential": true,
|
34 |
+
"uri": "https://github.com/modelcloud/gptqmodel"
|
35 |
+
},
|
36 |
+
"pack_dtype": "int32",
|
37 |
+
"quant_method": "gptq",
|
38 |
+
"sym": true
|
39 |
+
},
|
40 |
+
"rms_norm_eps": 1e-06,
|
41 |
+
"rope_scaling": {
|
42 |
+
"mrope_section": [
|
43 |
+
16,
|
44 |
+
24,
|
45 |
+
24
|
46 |
+
],
|
47 |
+
"rope_type": "default",
|
48 |
+
"type": "default"
|
49 |
+
},
|
50 |
+
"rope_theta": 1000000.0,
|
51 |
+
"sliding_window": 32768,
|
52 |
+
"tie_word_embeddings": false,
|
53 |
+
"torch_dtype": "bfloat16",
|
54 |
+
"transformers_version": "4.51.1",
|
55 |
+
"use_cache": true,
|
56 |
+
"use_sliding_window": false,
|
57 |
+
"video_token_id": 151656,
|
58 |
+
"vision_config": {
|
59 |
+
"depth": 32,
|
60 |
+
"fullatt_block_indexes": [
|
61 |
+
7,
|
62 |
+
15,
|
63 |
+
23,
|
64 |
+
31
|
65 |
+
],
|
66 |
+
"hidden_act": "silu",
|
67 |
+
"hidden_size": 1280,
|
68 |
+
"in_channels": 3,
|
69 |
+
"in_chans": 3,
|
70 |
+
"intermediate_size": 3420,
|
71 |
+
"model_type": "qwen2_5_vl",
|
72 |
+
"num_heads": 16,
|
73 |
+
"out_hidden_size": 3584,
|
74 |
+
"patch_size": 14,
|
75 |
+
"spatial_merge_size": 2,
|
76 |
+
"spatial_patch_size": 14,
|
77 |
+
"temporal_patch_size": 2,
|
78 |
+
"tokens_per_second": 2,
|
79 |
+
"torch_dtype": "bfloat16",
|
80 |
+
"window_size": 112
|
81 |
+
},
|
82 |
+
"vision_end_token_id": 151653,
|
83 |
+
"vision_start_token_id": 151652,
|
84 |
+
"vision_token_id": 151654,
|
85 |
+
"vocab_size": 152064
|
86 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
151645,
|
6 |
+
151643
|
7 |
+
],
|
8 |
+
"pad_token_id": 151643,
|
9 |
+
"repetition_penalty": 1.05,
|
10 |
+
"temperature": 1e-06,
|
11 |
+
"transformers_version": "4.51.1"
|
12 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:362c4a6fe12ca6eb46025d88ec92995c9789ac6fdd32878a31aef300e3c3a0ee
|
3 |
+
size 3984201128
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20571da0a674ae0a028a7702579995a048a5857f1d25965960dd9d510182af36
|
3 |
+
size 2944322576
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.48145466,
|
8 |
+
0.4578275,
|
9 |
+
0.40821073
|
10 |
+
],
|
11 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"max_pixels": 12845056,
|
18 |
+
"merge_size": 2,
|
19 |
+
"min_pixels": 3136,
|
20 |
+
"patch_size": 14,
|
21 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"longest_edge": 12845056,
|
26 |
+
"shortest_edge": 3136
|
27 |
+
},
|
28 |
+
"temporal_patch_size": 2
|
29 |
+
}
|
quant_log.csv
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
layer,module,loss,samples,damp,time
|
2 |
+
0,self_attn.k_proj,0.45799875,0.01000,1.229
|
3 |
+
0,self_attn.v_proj,0.07609060,0.01000,0.792
|
4 |
+
0,self_attn.q_proj,2.12163448,0.01000,0.794
|
5 |
+
0,self_attn.o_proj,0.15833434,0.01000,0.797
|
6 |
+
0,mlp.up_proj,3.44300270,0.01000,1.198
|
7 |
+
0,mlp.gate_proj,9.25297356,0.01000,0.798
|
8 |
+
0,mlp.down_proj,0.70674431,0.01000,6.319
|
9 |
+
1,self_attn.k_proj,0.32750565,0.01000,0.812
|
10 |
+
1,self_attn.v_proj,0.07779335,0.01000,0.792
|
11 |
+
1,self_attn.q_proj,1.19940567,0.01000,0.791
|
12 |
+
1,self_attn.o_proj,0.03534722,0.01000,0.790
|
13 |
+
1,mlp.up_proj,47.91104126,0.01000,1.130
|
14 |
+
1,mlp.gate_proj,72.21174622,0.01000,0.795
|
15 |
+
1,mlp.down_proj,0.47584903,0.01000,5.495
|
16 |
+
2,self_attn.k_proj,0.97978824,0.01000,0.793
|
17 |
+
2,self_attn.v_proj,0.17162688,0.01000,0.783
|
18 |
+
2,self_attn.q_proj,3.59054279,0.01000,0.813
|
19 |
+
2,self_attn.o_proj,0.07696313,0.01000,0.809
|
20 |
+
2,mlp.up_proj,51.86732101,0.01000,0.978
|
21 |
+
2,mlp.gate_proj,81.22796631,0.01000,0.788
|
22 |
+
2,mlp.down_proj,0.57132983,0.01000,5.332
|
23 |
+
3,self_attn.k_proj,1.00729656,0.01000,0.798
|
24 |
+
3,self_attn.v_proj,0.24603574,0.01000,0.787
|
25 |
+
3,self_attn.q_proj,3.74738932,0.01000,0.792
|
26 |
+
3,self_attn.o_proj,0.28664696,0.01000,0.793
|
27 |
+
3,mlp.up_proj,117.40467834,0.01000,1.395
|
28 |
+
3,mlp.gate_proj,149.96266174,0.01000,0.794
|
29 |
+
3,mlp.down_proj,0.50525832,0.01250,5.778
|
30 |
+
4,self_attn.k_proj,1.65046954,0.01000,0.809
|
31 |
+
4,self_attn.v_proj,0.50013733,0.01000,0.802
|
32 |
+
4,self_attn.q_proj,7.17262077,0.01000,0.792
|
33 |
+
4,self_attn.o_proj,0.18240610,0.01000,0.797
|
34 |
+
4,mlp.up_proj,95.23252869,0.01000,1.478
|
35 |
+
4,mlp.gate_proj,135.10296631,0.01000,0.792
|
36 |
+
4,mlp.down_proj,1.10169077,0.01000,5.773
|
37 |
+
5,self_attn.k_proj,1.48517931,0.01000,0.799
|
38 |
+
5,self_attn.v_proj,0.57455540,0.01000,0.785
|
39 |
+
5,self_attn.q_proj,7.11627245,0.01000,0.786
|
40 |
+
5,self_attn.o_proj,0.18029036,0.01000,0.791
|
41 |
+
5,mlp.up_proj,137.73837280,0.01000,1.454
|
42 |
+
5,mlp.gate_proj,163.93475342,0.01000,0.792
|
43 |
+
5,mlp.down_proj,0.72991610,0.01000,5.101
|
44 |
+
6,self_attn.k_proj,0.91666269,0.01000,0.797
|
45 |
+
6,self_attn.v_proj,0.45087141,0.01000,0.784
|
46 |
+
6,self_attn.q_proj,4.46909571,0.01000,0.785
|
47 |
+
6,self_attn.o_proj,0.25428528,0.01000,0.794
|
48 |
+
6,mlp.up_proj,27.69116974,0.01000,1.101
|
49 |
+
6,mlp.gate_proj,38.12742615,0.01000,0.787
|
50 |
+
6,mlp.down_proj,1.80558443,0.01000,5.593
|
51 |
+
7,self_attn.k_proj,0.87672055,0.01000,0.801
|
52 |
+
7,self_attn.v_proj,0.77675360,0.01000,0.784
|
53 |
+
7,self_attn.q_proj,4.90382957,0.01000,0.785
|
54 |
+
7,self_attn.o_proj,0.60036409,0.01000,0.792
|
55 |
+
7,mlp.up_proj,25.44780350,0.01000,0.956
|
56 |
+
7,mlp.gate_proj,27.46134949,0.01000,0.790
|
57 |
+
7,mlp.down_proj,3.39160872,0.01000,5.749
|
58 |
+
8,self_attn.k_proj,1.73226166,0.01000,0.796
|
59 |
+
8,self_attn.v_proj,0.68621767,0.01000,0.784
|
60 |
+
8,self_attn.q_proj,7.69679880,0.01000,0.785
|
61 |
+
8,self_attn.o_proj,0.73930031,0.01000,0.788
|
62 |
+
8,mlp.up_proj,30.87631607,0.01000,0.939
|
63 |
+
8,mlp.gate_proj,31.48957253,0.01000,0.789
|
64 |
+
8,mlp.down_proj,3.74254274,0.01000,5.757
|
65 |
+
9,self_attn.k_proj,1.36867046,0.01000,0.794
|
66 |
+
9,self_attn.v_proj,1.12786245,0.01000,0.784
|
67 |
+
9,self_attn.q_proj,7.48112011,0.01000,0.786
|
68 |
+
9,self_attn.o_proj,1.36345375,0.01000,0.792
|
69 |
+
9,mlp.up_proj,60.58055878,0.01000,0.998
|
70 |
+
9,mlp.gate_proj,94.33630371,0.01000,0.793
|
71 |
+
9,mlp.down_proj,3.87477875,0.01000,4.974
|
72 |
+
10,self_attn.k_proj,1.37036932,0.01000,0.792
|
73 |
+
10,self_attn.v_proj,0.75882816,0.01000,0.782
|
74 |
+
10,self_attn.q_proj,6.94236088,0.01000,0.793
|
75 |
+
10,self_attn.o_proj,0.75480914,0.01000,0.803
|
76 |
+
10,mlp.up_proj,35.29159164,0.01000,0.841
|
77 |
+
10,mlp.gate_proj,38.67882538,0.01000,0.803
|
78 |
+
10,mlp.down_proj,3.74935198,0.01000,4.797
|
79 |
+
11,self_attn.k_proj,1.67335296,0.01000,0.795
|
80 |
+
11,self_attn.v_proj,0.65093291,0.01000,0.786
|
81 |
+
11,self_attn.q_proj,7.30354977,0.01000,0.786
|
82 |
+
11,self_attn.o_proj,1.00513470,0.01000,0.791
|
83 |
+
11,mlp.up_proj,33.77320480,0.01000,0.914
|
84 |
+
11,mlp.gate_proj,34.57297897,0.01000,0.791
|
85 |
+
11,mlp.down_proj,3.76886940,0.01000,5.628
|
86 |
+
12,self_attn.k_proj,1.86318445,0.01000,0.795
|
87 |
+
12,self_attn.v_proj,0.91608346,0.01000,0.785
|
88 |
+
12,self_attn.q_proj,8.48820114,0.01000,0.789
|
89 |
+
12,self_attn.o_proj,1.22396874,0.01000,0.792
|
90 |
+
12,mlp.up_proj,34.66112900,0.01000,1.025
|
91 |
+
12,mlp.gate_proj,33.52517319,0.01000,0.796
|
92 |
+
12,mlp.down_proj,4.20871687,0.01000,5.509
|
93 |
+
13,self_attn.k_proj,1.71873260,0.01000,0.796
|
94 |
+
13,self_attn.v_proj,1.17398250,0.01000,0.784
|
95 |
+
13,self_attn.q_proj,9.26076698,0.01000,0.786
|
96 |
+
13,self_attn.o_proj,1.98672080,0.01000,0.793
|
97 |
+
13,mlp.up_proj,34.07032013,0.01000,0.979
|
98 |
+
13,mlp.gate_proj,35.38600159,0.01000,0.792
|
99 |
+
13,mlp.down_proj,4.01914883,0.01000,5.745
|
100 |
+
14,self_attn.k_proj,2.35059500,0.01000,0.794
|
101 |
+
14,self_attn.v_proj,1.07187366,0.01000,0.785
|
102 |
+
14,self_attn.q_proj,12.55565739,0.01000,0.786
|
103 |
+
14,self_attn.o_proj,1.66337204,0.01000,0.796
|
104 |
+
14,mlp.up_proj,37.50673294,0.01000,1.044
|
105 |
+
14,mlp.gate_proj,36.76043701,0.01000,0.789
|
106 |
+
14,mlp.down_proj,4.56406212,0.01000,5.484
|
107 |
+
15,self_attn.k_proj,2.22288537,0.01000,0.796
|
108 |
+
15,self_attn.v_proj,0.94591284,0.01000,0.783
|
109 |
+
15,self_attn.q_proj,10.25840569,0.01000,0.787
|
110 |
+
15,self_attn.o_proj,1.22425127,0.01000,0.793
|
111 |
+
15,mlp.up_proj,35.22077942,0.01000,0.948
|
112 |
+
15,mlp.gate_proj,33.73355103,0.01000,0.790
|
113 |
+
15,mlp.down_proj,4.56615782,0.01000,5.648
|
114 |
+
16,self_attn.k_proj,1.99345851,0.01000,0.795
|
115 |
+
16,self_attn.v_proj,1.18918204,0.01000,0.785
|
116 |
+
16,self_attn.q_proj,10.32095146,0.01000,0.787
|
117 |
+
16,self_attn.o_proj,1.96564627,0.01000,0.796
|
118 |
+
16,mlp.up_proj,36.18003464,0.01000,1.343
|
119 |
+
16,mlp.gate_proj,34.63485718,0.01000,0.791
|
120 |
+
16,mlp.down_proj,4.48285961,0.01000,4.960
|
121 |
+
17,self_attn.k_proj,2.12233758,0.01000,0.793
|
122 |
+
17,self_attn.v_proj,1.49488401,0.01000,0.782
|
123 |
+
17,self_attn.q_proj,12.03779602,0.01000,0.786
|
124 |
+
17,self_attn.o_proj,1.56383574,0.01000,0.789
|
125 |
+
17,mlp.up_proj,43.32733917,0.01000,0.995
|
126 |
+
17,mlp.gate_proj,40.48381042,0.01000,0.790
|
127 |
+
17,mlp.down_proj,6.09112692,0.01000,4.888
|
128 |
+
18,self_attn.k_proj,1.62858880,0.01000,0.796
|
129 |
+
18,self_attn.v_proj,1.68938899,0.01000,0.785
|
130 |
+
18,self_attn.q_proj,9.95006275,0.01000,0.787
|
131 |
+
18,self_attn.o_proj,2.32261109,0.01000,0.792
|
132 |
+
18,mlp.up_proj,46.56050110,0.01000,0.908
|
133 |
+
18,mlp.gate_proj,42.73928833,0.01000,0.808
|
134 |
+
18,mlp.down_proj,6.82586384,0.01000,4.930
|
135 |
+
19,self_attn.k_proj,1.68053222,0.01000,0.812
|
136 |
+
19,self_attn.v_proj,2.05788898,0.01000,0.788
|
137 |
+
19,self_attn.q_proj,12.11944962,0.01000,0.784
|
138 |
+
19,self_attn.o_proj,2.68917871,0.01000,0.789
|
139 |
+
19,mlp.up_proj,52.29275131,0.01000,1.517
|
140 |
+
19,mlp.gate_proj,49.98110962,0.01000,0.798
|
141 |
+
19,mlp.down_proj,7.88660431,0.01000,5.795
|
142 |
+
20,self_attn.k_proj,1.84464359,0.01000,0.797
|
143 |
+
20,self_attn.v_proj,2.35779238,0.01000,0.785
|
144 |
+
20,self_attn.q_proj,11.92081356,0.01000,0.788
|
145 |
+
20,self_attn.o_proj,1.61213660,0.01000,0.795
|
146 |
+
20,mlp.up_proj,67.74790955,0.01000,1.324
|
147 |
+
20,mlp.gate_proj,64.78291321,0.01000,0.806
|
148 |
+
20,mlp.down_proj,14.59480381,0.01000,5.772
|
149 |
+
21,self_attn.k_proj,2.01086497,0.01000,0.800
|
150 |
+
21,self_attn.v_proj,3.80550861,0.01000,0.789
|
151 |
+
21,self_attn.q_proj,14.31709003,0.01000,0.788
|
152 |
+
21,self_attn.o_proj,7.11469269,0.01000,0.792
|
153 |
+
21,mlp.up_proj,90.64640808,0.01000,1.742
|
154 |
+
21,mlp.gate_proj,91.33148193,0.01000,0.789
|
155 |
+
21,mlp.down_proj,23.68573761,0.01000,5.691
|
156 |
+
22,self_attn.k_proj,2.82378864,0.01000,0.798
|
157 |
+
22,self_attn.v_proj,6.54322100,0.01000,0.785
|
158 |
+
22,self_attn.q_proj,20.41894722,0.01000,0.787
|
159 |
+
22,self_attn.o_proj,3.96613264,0.01000,0.793
|
160 |
+
22,mlp.up_proj,128.74058533,0.01000,1.051
|
161 |
+
22,mlp.gate_proj,127.80844116,0.01000,0.793
|
162 |
+
22,mlp.down_proj,41.23144150,0.01000,6.211
|
163 |
+
23,self_attn.k_proj,3.94794369,0.01000,0.796
|
164 |
+
23,self_attn.v_proj,10.11415863,0.01000,0.784
|
165 |
+
23,self_attn.q_proj,26.11191559,0.01000,0.787
|
166 |
+
23,self_attn.o_proj,9.28477287,0.01000,0.792
|
167 |
+
23,mlp.up_proj,182.26258850,0.01000,1.312
|
168 |
+
23,mlp.gate_proj,186.16828918,0.01000,0.787
|
169 |
+
23,mlp.down_proj,53.97393036,0.01000,5.231
|
170 |
+
24,self_attn.k_proj,3.14931726,0.01000,0.795
|
171 |
+
24,self_attn.v_proj,9.28114700,0.01000,0.788
|
172 |
+
24,self_attn.q_proj,23.26879501,0.01000,0.788
|
173 |
+
24,self_attn.o_proj,6.09074879,0.01000,0.791
|
174 |
+
24,mlp.up_proj,203.76696777,0.01000,1.037
|
175 |
+
24,mlp.gate_proj,193.12313843,0.01000,0.793
|
176 |
+
24,mlp.down_proj,70.43853760,0.01000,5.950
|
177 |
+
25,self_attn.k_proj,3.83410430,0.01000,0.806
|
178 |
+
25,self_attn.v_proj,15.94288731,0.01000,0.786
|
179 |
+
25,self_attn.q_proj,27.39394951,0.01000,0.787
|
180 |
+
25,self_attn.o_proj,9.11356163,0.01000,0.790
|
181 |
+
25,mlp.up_proj,267.07983398,0.01000,0.970
|
182 |
+
25,mlp.gate_proj,239.64936829,0.01000,0.796
|
183 |
+
25,mlp.down_proj,104.45835876,0.01000,5.545
|
184 |
+
26,self_attn.k_proj,5.11287212,0.01000,0.794
|
185 |
+
26,self_attn.v_proj,36.42906952,0.01000,0.784
|
186 |
+
26,self_attn.q_proj,40.85954285,0.01000,0.785
|
187 |
+
26,self_attn.o_proj,14.15282249,0.01000,0.791
|
188 |
+
26,mlp.up_proj,270.81805420,0.01000,0.976
|
189 |
+
26,mlp.gate_proj,238.73959351,0.01000,0.789
|
190 |
+
26,mlp.down_proj,0.00537085,0.01250,6.699
|
191 |
+
27,self_attn.k_proj,6.07175827,0.01000,0.808
|
192 |
+
27,self_attn.v_proj,53.75015259,0.01000,0.787
|
193 |
+
27,self_attn.q_proj,63.93183899,0.01000,0.789
|
194 |
+
27,self_attn.o_proj,21.21239853,0.01000,0.790
|
195 |
+
27,mlp.up_proj,344.58737183,0.01000,0.844
|
196 |
+
27,mlp.gate_proj,329.91827393,0.01000,0.789
|
197 |
+
27,mlp.down_proj,327.33453369,0.01000,5.639
|
quantize_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"desc_act": true,
|
5 |
+
"sym": true,
|
6 |
+
"lm_head": false,
|
7 |
+
"quant_method": "gptq",
|
8 |
+
"checkpoint_format": "gptq",
|
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 |
+
}
|
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": "<|vision_pad|>"
|
25 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
3 |
+
size 11421896
|
tokenizer_config.json
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 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 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 |
+
"extra_special_tokens": {},
|
203 |
+
"model_max_length": 131072,
|
204 |
+
"pad_token": "<|vision_pad|>",
|
205 |
+
"split_special_tokens": false,
|
206 |
+
"tokenizer_class": "Qwen2TokenizerFast",
|
207 |
+
"unk_token": null,
|
208 |
+
"_commit_hash": null
|
209 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|