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-00003.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00003-of-00003.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": 8,
|
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-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce29200036bc221e1fe92ef59b302a830b743943e8984428335d0d5b6bbd5f50
|
3 |
+
size 3974938096
|
model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:565edadccfdff125744243037f4a0c25e6f9010628c2aa9e175d97657dcf03c8
|
3 |
+
size 3988349032
|
model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:181260ec682fb4e1bb2b054ee9d14813aefa9cf9fbd0457d69a2a4ec8c0343ec
|
3 |
+
size 2253370496
|
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.00155976,0.01000,1.062
|
3 |
+
0,self_attn.v_proj,0.00025913,0.01000,0.787
|
4 |
+
0,self_attn.q_proj,0.00719704,0.01000,0.787
|
5 |
+
0,self_attn.o_proj,0.00054527,0.01000,0.788
|
6 |
+
0,mlp.up_proj,0.01172396,0.01000,1.031
|
7 |
+
0,mlp.gate_proj,0.05030622,0.01000,0.789
|
8 |
+
0,mlp.down_proj,0.00242973,0.01000,5.240
|
9 |
+
1,self_attn.k_proj,0.00112853,0.01000,0.799
|
10 |
+
1,self_attn.v_proj,0.00027177,0.01000,0.784
|
11 |
+
1,self_attn.q_proj,0.00409606,0.01000,0.787
|
12 |
+
1,self_attn.o_proj,0.00012127,0.01000,0.794
|
13 |
+
1,mlp.up_proj,0.16570595,0.01000,1.101
|
14 |
+
1,mlp.gate_proj,0.24966781,0.01000,0.792
|
15 |
+
1,mlp.down_proj,0.00164500,0.01000,5.814
|
16 |
+
2,self_attn.k_proj,0.00335347,0.01000,0.799
|
17 |
+
2,self_attn.v_proj,0.00058709,0.01000,0.785
|
18 |
+
2,self_attn.q_proj,0.01229042,0.01000,0.787
|
19 |
+
2,self_attn.o_proj,0.00026304,0.01000,0.793
|
20 |
+
2,mlp.up_proj,0.17873849,0.01000,0.842
|
21 |
+
2,mlp.gate_proj,0.27987424,0.01000,0.789
|
22 |
+
2,mlp.down_proj,0.00199898,0.01000,5.365
|
23 |
+
3,self_attn.k_proj,0.00343811,0.01000,0.800
|
24 |
+
3,self_attn.v_proj,0.00084825,0.01000,0.789
|
25 |
+
3,self_attn.q_proj,0.01284988,0.01000,0.789
|
26 |
+
3,self_attn.o_proj,0.00098652,0.01000,0.793
|
27 |
+
3,mlp.up_proj,0.40582055,0.01000,1.387
|
28 |
+
3,mlp.gate_proj,0.51479346,0.01000,0.789
|
29 |
+
3,mlp.down_proj,0.00173161,0.01250,5.484
|
30 |
+
4,self_attn.k_proj,0.00593009,0.01000,0.797
|
31 |
+
4,self_attn.v_proj,0.00177643,0.01000,0.784
|
32 |
+
4,self_attn.q_proj,0.02622460,0.01000,0.786
|
33 |
+
4,self_attn.o_proj,0.00066147,0.01000,0.791
|
34 |
+
4,mlp.up_proj,0.32957339,0.01000,0.886
|
35 |
+
4,mlp.gate_proj,0.46538600,0.01000,0.788
|
36 |
+
4,mlp.down_proj,0.00381376,0.01250,5.721
|
37 |
+
5,self_attn.k_proj,0.00514847,0.01000,0.799
|
38 |
+
5,self_attn.v_proj,0.00198115,0.01000,0.785
|
39 |
+
5,self_attn.q_proj,0.02455240,0.01000,0.783
|
40 |
+
5,self_attn.o_proj,0.00062956,0.01000,0.791
|
41 |
+
5,mlp.up_proj,0.47762388,0.01000,1.405
|
42 |
+
5,mlp.gate_proj,0.56400013,0.01000,0.787
|
43 |
+
5,mlp.down_proj,0.00257655,0.01000,5.255
|
44 |
+
6,self_attn.k_proj,0.00314261,0.01000,0.800
|
45 |
+
6,self_attn.v_proj,0.00155135,0.01000,0.784
|
46 |
+
6,self_attn.q_proj,0.01539165,0.01000,0.784
|
47 |
+
6,self_attn.o_proj,0.00091197,0.01000,0.788
|
48 |
+
6,mlp.up_proj,0.09667324,0.01000,1.931
|
49 |
+
6,mlp.gate_proj,0.13307354,0.01000,0.786
|
50 |
+
6,mlp.down_proj,0.00632601,0.01000,5.067
|
51 |
+
7,self_attn.k_proj,0.00304140,0.01000,0.798
|
52 |
+
7,self_attn.v_proj,0.00270048,0.01000,0.782
|
53 |
+
7,self_attn.q_proj,0.01698850,0.01000,0.784
|
54 |
+
7,self_attn.o_proj,0.00212090,0.01000,0.790
|
55 |
+
7,mlp.up_proj,0.08855421,0.01000,1.009
|
56 |
+
7,mlp.gate_proj,0.09552005,0.01000,0.785
|
57 |
+
7,mlp.down_proj,0.01180775,0.01000,4.990
|
58 |
+
8,self_attn.k_proj,0.00608621,0.01000,0.791
|
59 |
+
8,self_attn.v_proj,0.00238760,0.01000,0.780
|
60 |
+
8,self_attn.q_proj,0.02694480,0.01000,0.783
|
61 |
+
8,self_attn.o_proj,0.00259366,0.01000,0.790
|
62 |
+
8,mlp.up_proj,0.10740142,0.01000,1.080
|
63 |
+
8,mlp.gate_proj,0.10944308,0.01000,0.789
|
64 |
+
8,mlp.down_proj,0.01293161,0.01000,5.047
|
65 |
+
9,self_attn.k_proj,0.00471512,0.01000,0.801
|
66 |
+
9,self_attn.v_proj,0.00388974,0.01000,0.789
|
67 |
+
9,self_attn.q_proj,0.02587198,0.01000,0.782
|
68 |
+
9,self_attn.o_proj,0.00469003,0.01000,0.790
|
69 |
+
9,mlp.up_proj,0.20957302,0.01000,0.854
|
70 |
+
9,mlp.gate_proj,0.32561457,0.01000,0.788
|
71 |
+
9,mlp.down_proj,0.01337012,0.01000,5.412
|
72 |
+
10,self_attn.k_proj,0.00471528,0.01000,0.792
|
73 |
+
10,self_attn.v_proj,0.00264271,0.01000,0.781
|
74 |
+
10,self_attn.q_proj,0.02393553,0.01000,0.784
|
75 |
+
10,self_attn.o_proj,0.00264381,0.01000,0.788
|
76 |
+
10,mlp.up_proj,0.12181626,0.01000,0.950
|
77 |
+
10,mlp.gate_proj,0.13350184,0.01000,0.786
|
78 |
+
10,mlp.down_proj,0.01278039,0.01000,5.173
|
79 |
+
11,self_attn.k_proj,0.00577600,0.01000,0.792
|
80 |
+
11,self_attn.v_proj,0.00224589,0.01000,0.788
|
81 |
+
11,self_attn.q_proj,0.02511147,0.01000,0.786
|
82 |
+
11,self_attn.o_proj,0.00350016,0.01000,0.793
|
83 |
+
11,mlp.up_proj,0.11557153,0.01000,1.499
|
84 |
+
11,mlp.gate_proj,0.11823536,0.01000,0.798
|
85 |
+
11,mlp.down_proj,0.01270626,0.01000,4.847
|
86 |
+
12,self_attn.k_proj,0.00642343,0.01000,0.791
|
87 |
+
12,self_attn.v_proj,0.00316933,0.01000,0.781
|
88 |
+
12,self_attn.q_proj,0.02910189,0.01000,0.782
|
89 |
+
12,self_attn.o_proj,0.00412563,0.01000,0.789
|
90 |
+
12,mlp.up_proj,0.11880670,0.01000,1.194
|
91 |
+
12,mlp.gate_proj,0.11504072,0.01000,0.784
|
92 |
+
12,mlp.down_proj,0.01432998,0.01000,5.186
|
93 |
+
13,self_attn.k_proj,0.00591280,0.01000,0.794
|
94 |
+
13,self_attn.v_proj,0.00406316,0.01000,0.782
|
95 |
+
13,self_attn.q_proj,0.03183017,0.01000,0.784
|
96 |
+
13,self_attn.o_proj,0.00672564,0.01000,0.788
|
97 |
+
13,mlp.up_proj,0.11748554,0.01000,1.138
|
98 |
+
13,mlp.gate_proj,0.12213729,0.01000,0.788
|
99 |
+
13,mlp.down_proj,0.01387714,0.01000,5.608
|
100 |
+
14,self_attn.k_proj,0.00827686,0.01000,0.793
|
101 |
+
14,self_attn.v_proj,0.00373706,0.01000,0.781
|
102 |
+
14,self_attn.q_proj,0.04359435,0.01000,0.782
|
103 |
+
14,self_attn.o_proj,0.00580014,0.01000,0.788
|
104 |
+
14,mlp.up_proj,0.12862808,0.01000,0.996
|
105 |
+
14,mlp.gate_proj,0.12646139,0.01000,0.784
|
106 |
+
14,mlp.down_proj,0.01575416,0.01000,5.376
|
107 |
+
15,self_attn.k_proj,0.00811000,0.01000,0.800
|
108 |
+
15,self_attn.v_proj,0.00342697,0.01000,0.786
|
109 |
+
15,self_attn.q_proj,0.03669517,0.01000,0.785
|
110 |
+
15,self_attn.o_proj,0.00433463,0.01000,0.795
|
111 |
+
15,mlp.up_proj,0.12033606,0.01000,1.124
|
112 |
+
15,mlp.gate_proj,0.11524273,0.01000,0.791
|
113 |
+
15,mlp.down_proj,0.01562963,0.01000,6.173
|
114 |
+
16,self_attn.k_proj,0.00680479,0.01000,0.802
|
115 |
+
16,self_attn.v_proj,0.00406550,0.01000,0.787
|
116 |
+
16,self_attn.q_proj,0.03531701,0.01000,0.789
|
117 |
+
16,self_attn.o_proj,0.00676867,0.01000,0.795
|
118 |
+
16,mlp.up_proj,0.12406420,0.01000,0.953
|
119 |
+
16,mlp.gate_proj,0.11881709,0.01000,0.793
|
120 |
+
16,mlp.down_proj,0.01533428,0.01000,5.114
|
121 |
+
17,self_attn.k_proj,0.00725654,0.01000,0.797
|
122 |
+
17,self_attn.v_proj,0.00513020,0.01000,0.787
|
123 |
+
17,self_attn.q_proj,0.04127063,0.01000,0.787
|
124 |
+
17,self_attn.o_proj,0.00535848,0.01000,0.794
|
125 |
+
17,mlp.up_proj,0.14923008,0.01000,1.520
|
126 |
+
17,mlp.gate_proj,0.13929732,0.01000,0.793
|
127 |
+
17,mlp.down_proj,0.02103773,0.01000,5.127
|
128 |
+
18,self_attn.k_proj,0.00559972,0.01000,0.793
|
129 |
+
18,self_attn.v_proj,0.00583129,0.01000,0.782
|
130 |
+
18,self_attn.q_proj,0.03417122,0.01000,0.786
|
131 |
+
18,self_attn.o_proj,0.00802413,0.01000,0.788
|
132 |
+
18,mlp.up_proj,0.16005410,0.01000,0.985
|
133 |
+
18,mlp.gate_proj,0.14732890,0.01000,0.787
|
134 |
+
18,mlp.down_proj,0.02358853,0.01000,5.221
|
135 |
+
19,self_attn.k_proj,0.00579194,0.01000,0.793
|
136 |
+
19,self_attn.v_proj,0.00709500,0.01000,0.794
|
137 |
+
19,self_attn.q_proj,0.04169997,0.01000,0.787
|
138 |
+
19,self_attn.o_proj,0.00951104,0.01000,0.789
|
139 |
+
19,mlp.up_proj,0.17972152,0.01000,0.977
|
140 |
+
19,mlp.gate_proj,0.17223045,0.01000,0.793
|
141 |
+
19,mlp.down_proj,0.02714180,0.01000,5.023
|
142 |
+
20,self_attn.k_proj,0.00632930,0.01000,0.795
|
143 |
+
20,self_attn.v_proj,0.00811989,0.01000,0.784
|
144 |
+
20,self_attn.q_proj,0.04095495,0.01000,0.781
|
145 |
+
20,self_attn.o_proj,0.00566612,0.01000,0.788
|
146 |
+
20,mlp.up_proj,0.23348106,0.01000,0.937
|
147 |
+
20,mlp.gate_proj,0.22367485,0.01000,0.790
|
148 |
+
20,mlp.down_proj,0.05051873,0.01000,4.768
|
149 |
+
21,self_attn.k_proj,0.00692819,0.01000,0.809
|
150 |
+
21,self_attn.v_proj,0.01324287,0.01000,0.788
|
151 |
+
21,self_attn.q_proj,0.04916327,0.01000,0.798
|
152 |
+
21,self_attn.o_proj,0.02447969,0.01000,0.794
|
153 |
+
21,mlp.up_proj,0.31292075,0.01000,1.066
|
154 |
+
21,mlp.gate_proj,0.31510034,0.01000,0.784
|
155 |
+
21,mlp.down_proj,0.08189526,0.01000,4.754
|
156 |
+
22,self_attn.k_proj,0.00977395,0.01000,0.792
|
157 |
+
22,self_attn.v_proj,0.02283857,0.01000,0.783
|
158 |
+
22,self_attn.q_proj,0.07048599,0.01000,0.783
|
159 |
+
22,self_attn.o_proj,0.01367442,0.01000,0.791
|
160 |
+
22,mlp.up_proj,0.44392323,0.01000,1.053
|
161 |
+
22,mlp.gate_proj,0.44063938,0.01000,0.789
|
162 |
+
22,mlp.down_proj,0.14277048,0.01000,4.906
|
163 |
+
23,self_attn.k_proj,0.01447038,0.01000,0.807
|
164 |
+
23,self_attn.v_proj,0.03571455,0.01000,0.781
|
165 |
+
23,self_attn.q_proj,0.09172702,0.01000,0.789
|
166 |
+
23,self_attn.o_proj,0.03269874,0.01000,0.789
|
167 |
+
23,mlp.up_proj,0.62939668,0.01000,0.919
|
168 |
+
23,mlp.gate_proj,0.64281553,0.01000,0.785
|
169 |
+
23,mlp.down_proj,0.18784148,0.01000,5.470
|
170 |
+
24,self_attn.k_proj,0.01122671,0.01000,0.792
|
171 |
+
24,self_attn.v_proj,0.03257178,0.01000,0.781
|
172 |
+
24,self_attn.q_proj,0.08136713,0.01000,0.781
|
173 |
+
24,self_attn.o_proj,0.02107349,0.01000,0.785
|
174 |
+
24,mlp.up_proj,0.70693624,0.01000,1.003
|
175 |
+
24,mlp.gate_proj,0.66957319,0.01000,0.787
|
176 |
+
24,mlp.down_proj,0.24456905,0.01000,5.619
|
177 |
+
25,self_attn.k_proj,0.01374814,0.01000,0.803
|
178 |
+
25,self_attn.v_proj,0.05573160,0.01000,0.796
|
179 |
+
25,self_attn.q_proj,0.09728207,0.01000,0.790
|
180 |
+
25,self_attn.o_proj,0.03103936,0.01000,0.794
|
181 |
+
25,mlp.up_proj,0.92647898,0.01000,1.010
|
182 |
+
25,mlp.gate_proj,0.83161688,0.01000,0.787
|
183 |
+
25,mlp.down_proj,0.36596623,0.01000,5.688
|
184 |
+
26,self_attn.k_proj,0.01927220,0.01000,0.792
|
185 |
+
26,self_attn.v_proj,0.12979600,0.01000,0.781
|
186 |
+
26,self_attn.q_proj,0.15226346,0.01000,0.782
|
187 |
+
26,self_attn.o_proj,0.04822129,0.01000,0.787
|
188 |
+
26,mlp.up_proj,0.93774641,0.01000,0.959
|
189 |
+
26,mlp.gate_proj,0.82602507,0.01000,0.786
|
190 |
+
26,mlp.down_proj,0.00001807,0.01250,5.688
|
191 |
+
27,self_attn.k_proj,0.02325345,0.01000,0.799
|
192 |
+
27,self_attn.v_proj,0.19028476,0.01000,0.783
|
193 |
+
27,self_attn.q_proj,0.23687175,0.01000,0.791
|
194 |
+
27,self_attn.o_proj,0.06330681,0.01000,0.793
|
195 |
+
27,mlp.up_proj,1.18985558,0.01000,0.799
|
196 |
+
27,mlp.gate_proj,1.13962555,0.01000,0.799
|
197 |
+
27,mlp.down_proj,1.16460204,0.01000,4.988
|
quantize_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 8,
|
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
|
|