Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- added_tokens.json +24 -0
- chat_template.json +3 -0
- config.json +71 -0
- generation_config.json +14 -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 +19 -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,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "qwen2.5-vl-7b-inst",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2_5_VLForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 3584,
|
11 |
+
"image_token_id": 151655,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 18944,
|
14 |
+
"max_position_embeddings": 128000,
|
15 |
+
"max_window_layers": 28,
|
16 |
+
"model_type": "qwen2_5_vl",
|
17 |
+
"num_attention_heads": 28,
|
18 |
+
"num_hidden_layers": 28,
|
19 |
+
"num_key_value_heads": 4,
|
20 |
+
"quantization_config": {
|
21 |
+
"bits": 3,
|
22 |
+
"checkpoint_format": "gptq",
|
23 |
+
"desc_act": false,
|
24 |
+
"group_size": 128,
|
25 |
+
"lm_head": false,
|
26 |
+
"meta": {
|
27 |
+
"damp_auto_increment": 0.0025,
|
28 |
+
"damp_percent": 0.1,
|
29 |
+
"mse": 0.0,
|
30 |
+
"quantizer": [
|
31 |
+
"gptqmodel:2.0.0-dev"
|
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",
|
39 |
+
"sym": true
|
40 |
+
},
|
41 |
+
"rms_norm_eps": 1e-06,
|
42 |
+
"rope_scaling": {
|
43 |
+
"mrope_section": [
|
44 |
+
16,
|
45 |
+
24,
|
46 |
+
24
|
47 |
+
],
|
48 |
+
"rope_type": "default",
|
49 |
+
"type": "default"
|
50 |
+
},
|
51 |
+
"rope_theta": 1000000.0,
|
52 |
+
"sliding_window": 32768,
|
53 |
+
"tie_word_embeddings": false,
|
54 |
+
"torch_dtype": "bfloat16",
|
55 |
+
"transformers_version": "4.49.0",
|
56 |
+
"use_cache": true,
|
57 |
+
"use_sliding_window": false,
|
58 |
+
"video_token_id": 151656,
|
59 |
+
"vision_config": {
|
60 |
+
"hidden_size": 1280,
|
61 |
+
"in_chans": 3,
|
62 |
+
"model_type": "qwen2_5_vl",
|
63 |
+
"spatial_patch_size": 14,
|
64 |
+
"tokens_per_second": 2,
|
65 |
+
"torch_dtype": "bfloat16"
|
66 |
+
},
|
67 |
+
"vision_end_token_id": 151653,
|
68 |
+
"vision_start_token_id": 151652,
|
69 |
+
"vision_token_id": 151654,
|
70 |
+
"vocab_size": 152064
|
71 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 0.1,
|
11 |
+
"top_k": 1,
|
12 |
+
"top_p": 0.001,
|
13 |
+
"transformers_version": "4.49.0"
|
14 |
+
}
|
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:069f4efbbe74c87c3c672ad585f043d2cf39a02785970364c8fc1dc06f6df70f
|
3 |
+
size 3978717480
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:732d28a520cafb1d90d913e6acf0d78790da67a11c4df2b1e62579770bf6be82
|
3 |
+
size 2127772528
|
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,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"min_pixels": 3136,
|
3 |
+
"max_pixels": 12845056,
|
4 |
+
"patch_size": 14,
|
5 |
+
"temporal_patch_size": 2,
|
6 |
+
"merge_size": 2,
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
18 |
+
"processor_class": "Qwen2_5_VLProcessor"
|
19 |
+
}
|
quant_log.csv
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
layer,module,loss,damp,time
|
2 |
+
0,self_attn.k_proj,9.25015,0.10000,1.496
|
3 |
+
0,self_attn.v_proj,1.54041,0.10000,1.505
|
4 |
+
0,self_attn.q_proj,45.85819,0.10000,1.550
|
5 |
+
0,self_attn.o_proj,1.48754,0.10000,1.540
|
6 |
+
0,mlp.up_proj,86.80834,0.10000,1.654
|
7 |
+
0,mlp.gate_proj,180.42774,0.10000,1.660
|
8 |
+
0,mlp.down_proj,10.29155,0.10000,9.223
|
9 |
+
1,self_attn.k_proj,12.75542,0.10000,1.489
|
10 |
+
1,self_attn.v_proj,3.86930,0.10000,1.487
|
11 |
+
1,self_attn.q_proj,49.83027,0.10000,1.538
|
12 |
+
1,self_attn.o_proj,0.83721,0.10000,1.526
|
13 |
+
1,mlp.up_proj,1820.72564,0.10000,1.665
|
14 |
+
1,mlp.gate_proj,2770.34679,0.10000,1.666
|
15 |
+
1,mlp.down_proj,7.08588,0.10000,9.260
|
16 |
+
2,self_attn.k_proj,28.44869,0.10000,1.506
|
17 |
+
2,self_attn.v_proj,5.63114,0.10000,1.503
|
18 |
+
2,self_attn.q_proj,107.39774,0.10000,1.539
|
19 |
+
2,self_attn.o_proj,2.34670,0.10000,1.527
|
20 |
+
2,mlp.up_proj,1796.55817,0.10000,1.653
|
21 |
+
2,mlp.gate_proj,2766.69359,0.10000,1.656
|
22 |
+
2,mlp.down_proj,15.40890,0.10000,9.265
|
23 |
+
3,self_attn.k_proj,28.09946,0.10000,1.505
|
24 |
+
3,self_attn.v_proj,7.98692,0.10000,1.499
|
25 |
+
3,self_attn.q_proj,111.44667,0.10000,1.552
|
26 |
+
3,self_attn.o_proj,4.66415,0.10000,1.561
|
27 |
+
3,mlp.up_proj,3415.30577,0.10000,1.648
|
28 |
+
3,mlp.gate_proj,4300.00609,0.10000,1.673
|
29 |
+
3,mlp.down_proj,51.93973,0.10000,9.339
|
30 |
+
4,self_attn.k_proj,44.31523,0.10000,1.490
|
31 |
+
4,self_attn.v_proj,17.40534,0.10000,1.525
|
32 |
+
4,self_attn.q_proj,206.28786,0.10000,1.547
|
33 |
+
4,self_attn.o_proj,5.90703,0.10000,1.548
|
34 |
+
4,mlp.up_proj,2733.50577,0.10000,1.658
|
35 |
+
4,mlp.gate_proj,3776.35321,0.10000,1.669
|
36 |
+
4,mlp.down_proj,45.72465,0.10000,9.287
|
37 |
+
5,self_attn.k_proj,43.77253,0.10000,1.507
|
38 |
+
5,self_attn.v_proj,20.01824,0.10000,1.504
|
39 |
+
5,self_attn.q_proj,214.76260,0.10000,1.542
|
40 |
+
5,self_attn.o_proj,7.33235,0.10000,1.543
|
41 |
+
5,mlp.up_proj,3977.45192,0.10000,1.676
|
42 |
+
5,mlp.gate_proj,4695.34808,0.10000,1.848
|
43 |
+
5,mlp.down_proj,37.95051,0.10000,9.288
|
44 |
+
6,self_attn.k_proj,31.41584,0.10000,1.493
|
45 |
+
6,self_attn.v_proj,16.16807,0.10000,1.508
|
46 |
+
6,self_attn.q_proj,159.46144,0.10000,1.533
|
47 |
+
6,self_attn.o_proj,8.29872,0.10000,1.548
|
48 |
+
6,mlp.up_proj,760.44335,0.10000,1.865
|
49 |
+
6,mlp.gate_proj,1093.46194,0.10000,1.945
|
50 |
+
6,mlp.down_proj,56.94109,0.10000,9.524
|
51 |
+
7,self_attn.k_proj,30.68458,0.10000,1.491
|
52 |
+
7,self_attn.v_proj,28.89122,0.10000,1.488
|
53 |
+
7,self_attn.q_proj,180.91681,0.10000,1.543
|
54 |
+
7,self_attn.o_proj,18.76116,0.10000,1.538
|
55 |
+
7,mlp.up_proj,629.12556,0.10000,1.944
|
56 |
+
7,mlp.gate_proj,687.12708,0.10000,1.940
|
57 |
+
7,mlp.down_proj,77.33602,0.10000,9.513
|
58 |
+
8,self_attn.k_proj,52.97720,0.10000,1.487
|
59 |
+
8,self_attn.v_proj,23.57985,0.10000,1.489
|
60 |
+
8,self_attn.q_proj,249.75190,0.10000,1.536
|
61 |
+
8,self_attn.o_proj,18.11928,0.10000,1.536
|
62 |
+
8,mlp.up_proj,648.93069,0.10000,1.923
|
63 |
+
8,mlp.gate_proj,672.00865,0.10000,1.941
|
64 |
+
8,mlp.down_proj,77.67356,0.10000,9.515
|
65 |
+
9,self_attn.k_proj,41.50004,0.10000,1.493
|
66 |
+
9,self_attn.v_proj,35.56996,0.10000,1.498
|
67 |
+
9,self_attn.q_proj,234.51921,0.10000,1.549
|
68 |
+
9,self_attn.o_proj,27.73993,0.10000,1.535
|
69 |
+
9,mlp.up_proj,1688.88301,0.10000,1.936
|
70 |
+
9,mlp.gate_proj,2734.08718,0.10000,1.934
|
71 |
+
9,mlp.down_proj,100.57013,0.10000,9.498
|
72 |
+
10,self_attn.k_proj,39.92537,0.10000,1.488
|
73 |
+
10,self_attn.v_proj,23.45771,0.10000,1.490
|
74 |
+
10,self_attn.q_proj,209.50797,0.10000,1.531
|
75 |
+
10,self_attn.o_proj,19.66862,0.10000,1.537
|
76 |
+
10,mlp.up_proj,711.71410,0.10000,1.831
|
77 |
+
10,mlp.gate_proj,780.91811,0.10000,1.843
|
78 |
+
10,mlp.down_proj,90.91536,0.10000,9.407
|
79 |
+
11,self_attn.k_proj,48.44005,0.10000,1.497
|
80 |
+
11,self_attn.v_proj,20.84245,0.10000,1.487
|
81 |
+
11,self_attn.q_proj,228.49557,0.10000,1.560
|
82 |
+
11,self_attn.o_proj,23.03888,0.10000,1.527
|
83 |
+
11,mlp.up_proj,707.30056,0.10000,1.969
|
84 |
+
11,mlp.gate_proj,721.54824,0.10000,1.938
|
85 |
+
11,mlp.down_proj,93.42142,0.10000,9.479
|
86 |
+
12,self_attn.k_proj,53.37882,0.10000,1.488
|
87 |
+
12,self_attn.v_proj,27.62401,0.10000,1.487
|
88 |
+
12,self_attn.q_proj,257.81665,0.10000,1.530
|
89 |
+
12,self_attn.o_proj,28.15705,0.10000,1.531
|
90 |
+
12,mlp.up_proj,756.12099,0.10000,1.919
|
91 |
+
12,mlp.gate_proj,729.48494,0.10000,1.938
|
92 |
+
12,mlp.down_proj,104.32417,0.10000,9.465
|
93 |
+
13,self_attn.k_proj,51.16781,0.10000,1.506
|
94 |
+
13,self_attn.v_proj,33.55048,0.10000,1.496
|
95 |
+
13,self_attn.q_proj,276.52993,0.10000,1.532
|
96 |
+
13,self_attn.o_proj,36.98654,0.10000,1.530
|
97 |
+
13,mlp.up_proj,746.64696,0.10000,1.910
|
98 |
+
13,mlp.gate_proj,774.42604,0.10000,1.930
|
99 |
+
13,mlp.down_proj,99.47238,0.10000,9.468
|
100 |
+
14,self_attn.k_proj,64.61231,0.10000,1.495
|
101 |
+
14,self_attn.v_proj,32.25620,0.10000,1.507
|
102 |
+
14,self_attn.q_proj,341.75813,0.10000,1.543
|
103 |
+
14,self_attn.o_proj,35.74932,0.10000,1.538
|
104 |
+
14,mlp.up_proj,836.82131,0.10000,1.927
|
105 |
+
14,mlp.gate_proj,811.39856,0.10000,1.941
|
106 |
+
14,mlp.down_proj,117.13215,0.10000,9.518
|
107 |
+
15,self_attn.k_proj,59.04505,0.10000,1.507
|
108 |
+
15,self_attn.v_proj,28.63259,0.10000,1.539
|
109 |
+
15,self_attn.q_proj,290.74575,0.10000,1.542
|
110 |
+
15,self_attn.o_proj,29.53941,0.10000,1.533
|
111 |
+
15,mlp.up_proj,819.64567,0.10000,1.905
|
112 |
+
15,mlp.gate_proj,778.63670,0.10000,1.927
|
113 |
+
15,mlp.down_proj,115.36673,0.10000,9.533
|
114 |
+
16,self_attn.k_proj,58.79387,0.10000,1.486
|
115 |
+
16,self_attn.v_proj,40.07557,0.10000,1.506
|
116 |
+
16,self_attn.q_proj,314.97460,0.10000,1.531
|
117 |
+
16,self_attn.o_proj,41.09043,0.10000,1.531
|
118 |
+
16,mlp.up_proj,858.74167,0.10000,1.925
|
119 |
+
16,mlp.gate_proj,816.97035,0.10000,1.944
|
120 |
+
16,mlp.down_proj,119.81546,0.10000,9.517
|
121 |
+
17,self_attn.k_proj,61.18590,0.10000,1.491
|
122 |
+
17,self_attn.v_proj,46.43123,0.10000,1.507
|
123 |
+
17,self_attn.q_proj,364.58606,0.10000,1.544
|
124 |
+
17,self_attn.o_proj,30.81552,0.10000,1.541
|
125 |
+
17,mlp.up_proj,1004.91266,0.10000,1.923
|
126 |
+
17,mlp.gate_proj,939.03750,0.10000,1.933
|
127 |
+
17,mlp.down_proj,154.62794,0.10000,9.583
|
128 |
+
18,self_attn.k_proj,51.19428,0.10000,1.487
|
129 |
+
18,self_attn.v_proj,54.18649,0.10000,1.503
|
130 |
+
18,self_attn.q_proj,319.43261,0.10000,1.562
|
131 |
+
18,self_attn.o_proj,41.54842,0.10000,1.552
|
132 |
+
18,mlp.up_proj,1091.36010,0.10000,1.928
|
133 |
+
18,mlp.gate_proj,1011.05224,0.10000,1.945
|
134 |
+
18,mlp.down_proj,188.58766,0.10000,9.592
|
135 |
+
19,self_attn.k_proj,46.25331,0.10000,1.498
|
136 |
+
19,self_attn.v_proj,58.63793,0.10000,1.505
|
137 |
+
19,self_attn.q_proj,329.73385,0.10000,1.574
|
138 |
+
19,self_attn.o_proj,55.53678,0.10000,1.544
|
139 |
+
19,mlp.up_proj,1148.44519,0.10000,1.940
|
140 |
+
19,mlp.gate_proj,1117.26595,0.10000,1.933
|
141 |
+
19,mlp.down_proj,196.01122,0.10000,9.553
|
142 |
+
20,self_attn.k_proj,48.96116,0.10000,1.499
|
143 |
+
20,self_attn.v_proj,64.75232,0.10000,1.500
|
144 |
+
20,self_attn.q_proj,315.39984,0.10000,1.536
|
145 |
+
20,self_attn.o_proj,23.60222,0.10000,1.554
|
146 |
+
20,mlp.up_proj,1392.02500,0.10000,1.942
|
147 |
+
20,mlp.gate_proj,1358.02997,0.10000,1.952
|
148 |
+
20,mlp.down_proj,325.40349,0.10000,9.554
|
149 |
+
21,self_attn.k_proj,50.30025,0.10000,1.502
|
150 |
+
21,self_attn.v_proj,97.48700,0.10000,1.519
|
151 |
+
21,self_attn.q_proj,372.94075,0.10000,1.591
|
152 |
+
21,self_attn.o_proj,69.15963,0.10000,1.573
|
153 |
+
21,mlp.up_proj,1784.19038,0.10000,1.951
|
154 |
+
21,mlp.gate_proj,1838.49038,0.10000,1.946
|
155 |
+
21,mlp.down_proj,459.06907,0.10000,9.566
|
156 |
+
22,self_attn.k_proj,63.13118,0.10000,1.488
|
157 |
+
22,self_attn.v_proj,148.59083,0.10000,1.489
|
158 |
+
22,self_attn.q_proj,500.08902,0.10000,1.593
|
159 |
+
22,self_attn.o_proj,51.49950,0.10000,1.591
|
160 |
+
22,mlp.up_proj,2434.16955,0.10000,1.943
|
161 |
+
22,mlp.gate_proj,2512.34776,0.10000,1.939
|
162 |
+
22,mlp.down_proj,768.18301,0.10000,9.607
|
163 |
+
23,self_attn.k_proj,73.25975,0.10000,1.504
|
164 |
+
23,self_attn.v_proj,201.14796,0.10000,1.510
|
165 |
+
23,self_attn.q_proj,560.23229,0.10000,1.603
|
166 |
+
23,self_attn.o_proj,121.51257,0.10000,1.579
|
167 |
+
23,mlp.up_proj,3293.62853,0.10000,1.938
|
168 |
+
23,mlp.gate_proj,3398.50577,0.10000,1.941
|
169 |
+
23,mlp.down_proj,1024.00016,0.10000,9.581
|
170 |
+
24,self_attn.k_proj,64.38150,0.10000,1.507
|
171 |
+
24,self_attn.v_proj,184.48201,0.10000,1.519
|
172 |
+
24,self_attn.q_proj,493.92544,0.10000,1.611
|
173 |
+
24,self_attn.o_proj,72.01759,0.10000,1.564
|
174 |
+
24,mlp.up_proj,3341.98397,0.10000,1.939
|
175 |
+
24,mlp.gate_proj,3182.11218,0.10000,1.964
|
176 |
+
24,mlp.down_proj,1408.35769,0.10000,9.546
|
177 |
+
25,self_attn.k_proj,65.01855,0.10000,1.500
|
178 |
+
25,self_attn.v_proj,268.35960,0.10000,1.515
|
179 |
+
25,self_attn.q_proj,548.54387,0.10000,1.599
|
180 |
+
25,self_attn.o_proj,95.43942,0.10000,1.569
|
181 |
+
25,mlp.up_proj,4305.48462,0.10000,1.953
|
182 |
+
25,mlp.gate_proj,3870.86987,0.10000,1.947
|
183 |
+
25,mlp.down_proj,2019.82692,0.10000,9.581
|
184 |
+
26,self_attn.k_proj,82.92774,0.10000,1.509
|
185 |
+
26,self_attn.v_proj,493.57584,0.10000,1.507
|
186 |
+
26,self_attn.q_proj,695.93934,0.10000,1.613
|
187 |
+
26,self_attn.o_proj,217.25655,0.10000,1.573
|
188 |
+
26,mlp.up_proj,4347.61923,0.10000,1.952
|
189 |
+
26,mlp.gate_proj,3834.54391,0.10000,1.942
|
190 |
+
26,mlp.down_proj,3502.18654,0.10000,9.589
|
191 |
+
27,self_attn.k_proj,101.90767,0.10000,1.511
|
192 |
+
27,self_attn.v_proj,621.19952,0.10000,1.512
|
193 |
+
27,self_attn.q_proj,1000.00088,0.10000,1.585
|
194 |
+
27,self_attn.o_proj,425.96895,0.10000,1.560
|
195 |
+
27,mlp.up_proj,6184.40897,0.10000,1.971
|
196 |
+
27,mlp.gate_proj,5924.40769,0.10000,1.948
|
197 |
+
27,mlp.down_proj,9516.66987,0.10000,9.536
|
quantize_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 3,
|
3 |
+
"group_size": 128,
|
4 |
+
"desc_act": false,
|
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.0.0-dev"
|
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": 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
|
|