Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- added_tokens.json +24 -0
- chat_template.json +3 -0
- config.json +86 -0
- generation_config.json +13 -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 +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +212 -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_placeholder = '<|vision_start|><|image_pad|><|vision_end|>' %}\n{% for message in messages %}\n {#--- Handle User Messages with Template and Examples ---#}\n {%- if message['role'] == 'user' and template -%}\n {% if loop.first and message['role'] != 'system' %}\n {{- '<|im_start|>system\\nYou are NuExtract, an information extraction tool created by NuMind.<|im_end|>' }}\n {% endif %}\n \n {{- '<|im_start|>' + message['role'] -}}\n \n {#--- Template Section ---#}\n {{ '\\n# Template:' }}\n {{- '\\n' + template + '\\n' }}\n \n {#--- Examples Section (if provided) ---#}\n {% if examples -%}\n {{- '# Examples:' }}\n {% for example in examples %}\n {{- '## Input:\\n' }}\n {#--- Handle image examples ---#}\n {% if example['input'] is mapping and example['input']['type'] == 'image' %}\n {{- image_placeholder | trim -}}\n {% elif example['input'] == '<image>' %}\n {{- image_placeholder | trim -}}\n {% else %}\n {{- example['input'] -}}\n {% endif %}\n {{- '\\n## Output:\\n' ~ example['output'] }}\n {% endfor %}\n {%- endif %}\n \n {#--- Context Section: Handle various content types ---#}\n {{- '# Context:\\n' }}\n {%- if message['content'] is string -%}\n {#--- Simple string content ---#}\n {{- message['content'] | trim -}}\n {%- elif message['content'] is mapping and message['content']['type'] == 'image' -%}\n {#--- Single image document ---#}\n {{- image_placeholder | trim -}}\n {%- else -%}\n {#--- List of content items (mixed text/images) ---#}\n {#--- First, determine what the actual input content is (not ICL images) ---#}\n {%- set ns = namespace(has_text_input=false, text_content='') -%}\n \n {#--- Count content types and identify actual input document ---#}\n {%- for content in message['content'] -%}\n {%- if content is mapping and content.get('type') == 'text' -%}\n {%- if content.get('text') != '<image>' -%}\n {%- set ns.has_text_input = true -%}\n {%- set ns.text_content = content['text'] -%}\n {%- endif -%}\n {%- elif content is string -%}\n {%- if content != '<image>' -%}\n {%- set ns.has_text_input = true -%}\n {%- set ns.text_content = content -%}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n \n {#--- Determine what to output based on actual input type ---#}\n {%- if ns.has_text_input -%}\n {#--- Main input is text, so output the text content ---#}\n {{- ns.text_content | trim -}}\n {%- else -%}\n {#--- Main input is image or <image> placeholder ---#}\n {%- set ns2 = namespace(found_image=false) -%}\n {%- for content in message['content'] -%}\n {%- if content is mapping and content.get('type') == 'image' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- elif content is mapping and content.get('type') == 'text' and content.get('text') == '<image>' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- elif content is string and content == '<image>' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- endif -%}\n {{- '<|im_end|>\\n'}}\n \n {#--- Handle All Other Messages (Assistant, System, etc.) ---#}\n {% else %}\n {% if loop.first and message['role'] != 'system' %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>' }}\n {% endif %}\n \n {{- '<|im_start|>' + message['role'] + '\\n' }}\n \n {#--- Same content handling logic as above but without template/examples ---#}\n {%- if message['content'] is string -%}\n {{- message['content'] | trim }}\n {%- elif message['content'] is mapping and message['content']['type'] == 'image' -%}\n {{- image_placeholder | trim }}\n {%- else -%}\n {%- set ns = namespace(found=false) -%}\n {%- for content in message['content'] -%}\n {%- if content is string -%}\n {{- content | trim -}}\n {%- elif content is mapping and content.get('type') == 'text' -%}\n {{- content['text'] | trim -}}\n {%- elif content is mapping and content.get('type') == 'image' -%}\n {# Skip adding image placeholder - it's already in the text #}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {{- '<|im_end|>'}}\n {% endif %}\n{% endfor -%}\n{#--- Add Generation Prompt if Requested ---#}\n{%- if add_generation_prompt %}\n {{- '<|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.3",
|
| 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,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attn_implementation": "flash_attention_2",
|
| 3 |
+
"bos_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 151643,
|
| 10 |
+
"repetition_penalty": 1.05,
|
| 11 |
+
"temperature": 1e-06,
|
| 12 |
+
"transformers_version": "4.51.3"
|
| 13 |
+
}
|
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:f316f7d32005bf1d3cdea03bf96ea17162ca4d6e60e351979e7cd7bf52e30f3f
|
| 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:bbbcf658394272c859398721880f3d6ad9994faeb641234d983a837ff9557e68
|
| 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": 2352000,
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"min_pixels": 200704,
|
| 20 |
+
"patch_size": 14,
|
| 21 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"longest_edge": 2352000,
|
| 26 |
+
"shortest_edge": 200704
|
| 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.22934364,0.01000,0.892
|
| 3 |
+
0,self_attn.v_proj,0.03837002,0.01000,0.661
|
| 4 |
+
0,self_attn.q_proj,1.04664111,0.01000,0.683
|
| 5 |
+
0,self_attn.o_proj,0.18172245,0.01000,0.757
|
| 6 |
+
0,mlp.up_proj,1.13388586,0.01000,0.656
|
| 7 |
+
0,mlp.gate_proj,3.09285045,0.01000,0.665
|
| 8 |
+
0,mlp.down_proj,0.35983995,0.01000,4.150
|
| 9 |
+
1,self_attn.k_proj,0.15428428,0.01000,0.671
|
| 10 |
+
1,self_attn.v_proj,0.03529196,0.01000,0.664
|
| 11 |
+
1,self_attn.q_proj,0.55903387,0.01000,0.666
|
| 12 |
+
1,self_attn.o_proj,0.04787841,0.01000,0.712
|
| 13 |
+
1,mlp.up_proj,18.38950729,0.01000,0.704
|
| 14 |
+
1,mlp.gate_proj,28.34197617,0.01000,0.689
|
| 15 |
+
1,mlp.down_proj,0.70064735,0.01000,4.124
|
| 16 |
+
2,self_attn.k_proj,0.65991199,0.01000,0.691
|
| 17 |
+
2,self_attn.v_proj,0.10460287,0.01000,0.670
|
| 18 |
+
2,self_attn.q_proj,2.31665039,0.01000,0.680
|
| 19 |
+
2,self_attn.o_proj,0.11942939,0.01000,0.671
|
| 20 |
+
2,mlp.up_proj,24.11547470,0.01000,0.712
|
| 21 |
+
2,mlp.gate_proj,39.89593887,0.01000,0.708
|
| 22 |
+
2,mlp.down_proj,1.31074762,0.01000,4.236
|
| 23 |
+
3,self_attn.k_proj,0.84950960,0.01000,0.666
|
| 24 |
+
3,self_attn.v_proj,0.19167003,0.01000,0.671
|
| 25 |
+
3,self_attn.q_proj,3.01005602,0.01000,0.688
|
| 26 |
+
3,self_attn.o_proj,0.32401937,0.01000,0.745
|
| 27 |
+
3,mlp.up_proj,68.73696899,0.01000,0.708
|
| 28 |
+
3,mlp.gate_proj,89.53257751,0.01000,0.708
|
| 29 |
+
3,mlp.down_proj,0.00898164,0.01250,4.775
|
| 30 |
+
4,self_attn.k_proj,1.53517699,0.01000,0.665
|
| 31 |
+
4,self_attn.v_proj,0.40849376,0.01000,0.663
|
| 32 |
+
4,self_attn.q_proj,6.51189804,0.01000,0.670
|
| 33 |
+
4,self_attn.o_proj,0.26355922,0.01000,0.677
|
| 34 |
+
4,mlp.up_proj,66.49259186,0.01000,0.707
|
| 35 |
+
4,mlp.gate_proj,97.14162445,0.01000,0.705
|
| 36 |
+
4,mlp.down_proj,1.66220617,0.01000,3.796
|
| 37 |
+
5,self_attn.k_proj,1.43371511,0.01000,0.615
|
| 38 |
+
5,self_attn.v_proj,0.50023222,0.01000,0.591
|
| 39 |
+
5,self_attn.q_proj,6.66476917,0.01000,0.597
|
| 40 |
+
5,self_attn.o_proj,0.30378860,0.01000,0.618
|
| 41 |
+
5,mlp.up_proj,101.89800262,0.01000,0.638
|
| 42 |
+
5,mlp.gate_proj,125.24084473,0.01000,0.627
|
| 43 |
+
5,mlp.down_proj,1.60059404,0.01000,3.778
|
| 44 |
+
6,self_attn.k_proj,0.92172015,0.01000,0.613
|
| 45 |
+
6,self_attn.v_proj,0.42535174,0.01000,0.591
|
| 46 |
+
6,self_attn.q_proj,4.48267555,0.01000,0.595
|
| 47 |
+
6,self_attn.o_proj,0.36357266,0.01000,0.611
|
| 48 |
+
6,mlp.up_proj,24.59759331,0.01000,0.624
|
| 49 |
+
6,mlp.gate_proj,35.07592392,0.01000,0.638
|
| 50 |
+
6,mlp.down_proj,2.50812578,0.01000,3.835
|
| 51 |
+
7,self_attn.k_proj,1.01294935,0.01000,0.609
|
| 52 |
+
7,self_attn.v_proj,0.77045107,0.01000,0.613
|
| 53 |
+
7,self_attn.q_proj,5.43582582,0.01000,0.614
|
| 54 |
+
7,self_attn.o_proj,0.80026621,0.01000,0.620
|
| 55 |
+
7,mlp.up_proj,22.76921463,0.01000,0.628
|
| 56 |
+
7,mlp.gate_proj,25.30647087,0.01000,0.629
|
| 57 |
+
7,mlp.down_proj,3.32554030,0.01000,3.785
|
| 58 |
+
8,self_attn.k_proj,1.85888863,0.01000,0.604
|
| 59 |
+
8,self_attn.v_proj,0.64720315,0.01000,0.599
|
| 60 |
+
8,self_attn.q_proj,8.09165096,0.01000,0.613
|
| 61 |
+
8,self_attn.o_proj,0.81129563,0.01000,0.613
|
| 62 |
+
8,mlp.up_proj,23.76294708,0.01000,0.626
|
| 63 |
+
8,mlp.gate_proj,24.66311836,0.01000,0.645
|
| 64 |
+
8,mlp.down_proj,3.01938772,0.01000,3.814
|
| 65 |
+
9,self_attn.k_proj,1.35928941,0.01000,0.614
|
| 66 |
+
9,self_attn.v_proj,0.89568245,0.01000,0.592
|
| 67 |
+
9,self_attn.q_proj,7.29413176,0.01000,0.588
|
| 68 |
+
9,self_attn.o_proj,1.05590606,0.01000,0.615
|
| 69 |
+
9,mlp.up_proj,44.35252380,0.01000,0.630
|
| 70 |
+
9,mlp.gate_proj,70.72398376,0.01000,0.624
|
| 71 |
+
9,mlp.down_proj,2.76210523,0.01000,3.845
|
| 72 |
+
10,self_attn.k_proj,1.23918748,0.01000,0.607
|
| 73 |
+
10,self_attn.v_proj,0.55778021,0.01000,0.607
|
| 74 |
+
10,self_attn.q_proj,6.26078033,0.01000,0.614
|
| 75 |
+
10,self_attn.o_proj,0.77913922,0.01000,0.618
|
| 76 |
+
10,mlp.up_proj,23.32112503,0.01000,0.634
|
| 77 |
+
10,mlp.gate_proj,25.68299103,0.01000,0.638
|
| 78 |
+
10,mlp.down_proj,2.54661942,0.01000,3.813
|
| 79 |
+
11,self_attn.k_proj,1.53753209,0.01000,0.607
|
| 80 |
+
11,self_attn.v_proj,0.51970351,0.01000,0.604
|
| 81 |
+
11,self_attn.q_proj,6.50641966,0.01000,0.616
|
| 82 |
+
11,self_attn.o_proj,0.92502165,0.01000,0.608
|
| 83 |
+
11,mlp.up_proj,20.66933441,0.01000,0.638
|
| 84 |
+
11,mlp.gate_proj,21.23263741,0.01000,0.635
|
| 85 |
+
11,mlp.down_proj,2.25344348,0.01000,4.033
|
| 86 |
+
12,self_attn.k_proj,1.53166485,0.01000,0.626
|
| 87 |
+
12,self_attn.v_proj,0.64538920,0.01000,0.610
|
| 88 |
+
12,self_attn.q_proj,6.94316101,0.01000,0.605
|
| 89 |
+
12,self_attn.o_proj,0.87411481,0.01000,0.625
|
| 90 |
+
12,mlp.up_proj,20.04409599,0.01000,0.652
|
| 91 |
+
12,mlp.gate_proj,19.51464081,0.01000,0.637
|
| 92 |
+
12,mlp.down_proj,2.57592607,0.01000,3.873
|
| 93 |
+
13,self_attn.k_proj,1.32833993,0.01000,0.618
|
| 94 |
+
13,self_attn.v_proj,0.81650221,0.01000,0.629
|
| 95 |
+
13,self_attn.q_proj,7.09064341,0.01000,0.627
|
| 96 |
+
13,self_attn.o_proj,1.31635439,0.01000,0.630
|
| 97 |
+
13,mlp.up_proj,18.86554718,0.01000,0.611
|
| 98 |
+
13,mlp.gate_proj,19.77309418,0.01000,0.610
|
| 99 |
+
13,mlp.down_proj,2.35630417,0.01000,3.936
|
| 100 |
+
14,self_attn.k_proj,1.82241821,0.01000,0.634
|
| 101 |
+
14,self_attn.v_proj,0.73135352,0.01000,0.604
|
| 102 |
+
14,self_attn.q_proj,9.67517090,0.01000,0.602
|
| 103 |
+
14,self_attn.o_proj,1.25940311,0.01000,0.608
|
| 104 |
+
14,mlp.up_proj,20.62960625,0.01000,0.645
|
| 105 |
+
14,mlp.gate_proj,20.46133423,0.01000,0.616
|
| 106 |
+
14,mlp.down_proj,2.82057142,0.01000,3.900
|
| 107 |
+
15,self_attn.k_proj,1.70337152,0.01000,0.631
|
| 108 |
+
15,self_attn.v_proj,0.67042011,0.01000,0.613
|
| 109 |
+
15,self_attn.q_proj,7.78093481,0.01000,0.612
|
| 110 |
+
15,self_attn.o_proj,1.17886329,0.01000,0.643
|
| 111 |
+
15,mlp.up_proj,19.40904999,0.01000,0.653
|
| 112 |
+
15,mlp.gate_proj,18.71631050,0.01000,0.644
|
| 113 |
+
15,mlp.down_proj,2.82252669,0.01000,3.906
|
| 114 |
+
16,self_attn.k_proj,1.62367511,0.01000,0.608
|
| 115 |
+
16,self_attn.v_proj,0.81770545,0.01000,0.627
|
| 116 |
+
16,self_attn.q_proj,8.22268105,0.01000,0.620
|
| 117 |
+
16,self_attn.o_proj,1.57963610,0.01000,0.617
|
| 118 |
+
16,mlp.up_proj,21.05099106,0.01000,0.628
|
| 119 |
+
16,mlp.gate_proj,20.19021988,0.01000,0.608
|
| 120 |
+
16,mlp.down_proj,2.81001258,0.01000,3.875
|
| 121 |
+
17,self_attn.k_proj,1.57098889,0.01000,0.629
|
| 122 |
+
17,self_attn.v_proj,0.99635255,0.01000,0.619
|
| 123 |
+
17,self_attn.q_proj,8.82118225,0.01000,0.623
|
| 124 |
+
17,self_attn.o_proj,1.32361174,0.01000,0.617
|
| 125 |
+
17,mlp.up_proj,24.42174530,0.01000,0.646
|
| 126 |
+
17,mlp.gate_proj,22.89795303,0.01000,0.641
|
| 127 |
+
17,mlp.down_proj,3.81908369,0.01000,3.904
|
| 128 |
+
18,self_attn.k_proj,1.23440194,0.01000,0.620
|
| 129 |
+
18,self_attn.v_proj,1.10619903,0.01000,0.606
|
| 130 |
+
18,self_attn.q_proj,7.51200390,0.01000,0.599
|
| 131 |
+
18,self_attn.o_proj,1.73457372,0.01000,0.609
|
| 132 |
+
18,mlp.up_proj,25.92087555,0.01000,0.643
|
| 133 |
+
18,mlp.gate_proj,23.99379730,0.01000,0.640
|
| 134 |
+
18,mlp.down_proj,4.36758852,0.01000,3.931
|
| 135 |
+
19,self_attn.k_proj,1.25790572,0.01000,0.614
|
| 136 |
+
19,self_attn.v_proj,1.34400010,0.01000,0.611
|
| 137 |
+
19,self_attn.q_proj,8.63450813,0.01000,0.614
|
| 138 |
+
19,self_attn.o_proj,1.89839542,0.01000,0.635
|
| 139 |
+
19,mlp.up_proj,27.69528198,0.01000,0.645
|
| 140 |
+
19,mlp.gate_proj,26.82501984,0.01000,0.648
|
| 141 |
+
19,mlp.down_proj,4.74956894,0.01000,3.905
|
| 142 |
+
20,self_attn.k_proj,1.25337625,0.01000,0.622
|
| 143 |
+
20,self_attn.v_proj,1.42921281,0.01000,0.617
|
| 144 |
+
20,self_attn.q_proj,7.67919111,0.01000,0.621
|
| 145 |
+
20,self_attn.o_proj,1.30257142,0.01000,0.628
|
| 146 |
+
20,mlp.up_proj,32.92043304,0.01000,0.629
|
| 147 |
+
20,mlp.gate_proj,31.62638092,0.01000,0.638
|
| 148 |
+
20,mlp.down_proj,8.67299080,0.01000,3.894
|
| 149 |
+
21,self_attn.k_proj,1.36191201,0.01000,0.618
|
| 150 |
+
21,self_attn.v_proj,2.07398558,0.01000,0.618
|
| 151 |
+
21,self_attn.q_proj,8.82353687,0.01000,0.618
|
| 152 |
+
21,self_attn.o_proj,3.09994173,0.01000,0.624
|
| 153 |
+
21,mlp.up_proj,38.89333344,0.01000,0.637
|
| 154 |
+
21,mlp.gate_proj,39.41935349,0.01000,0.638
|
| 155 |
+
21,mlp.down_proj,11.07148075,0.01000,3.856
|
| 156 |
+
22,self_attn.k_proj,1.76161993,0.01000,0.612
|
| 157 |
+
22,self_attn.v_proj,3.56185842,0.01000,0.622
|
| 158 |
+
22,self_attn.q_proj,11.30374718,0.01000,0.615
|
| 159 |
+
22,self_attn.o_proj,3.15226030,0.01000,0.680
|
| 160 |
+
22,mlp.up_proj,54.62146759,0.01000,0.651
|
| 161 |
+
22,mlp.gate_proj,55.30439758,0.01000,0.639
|
| 162 |
+
22,mlp.down_proj,21.54609680,0.01000,3.876
|
| 163 |
+
23,self_attn.k_proj,2.53168511,0.01000,0.625
|
| 164 |
+
23,self_attn.v_proj,6.27215004,0.01000,0.619
|
| 165 |
+
23,self_attn.q_proj,15.55590439,0.01000,0.619
|
| 166 |
+
23,self_attn.o_proj,8.35873032,0.01000,0.613
|
| 167 |
+
23,mlp.up_proj,77.19926453,0.01000,0.635
|
| 168 |
+
23,mlp.gate_proj,79.10525513,0.01000,0.631
|
| 169 |
+
23,mlp.down_proj,28.26859283,0.01000,3.882
|
| 170 |
+
24,self_attn.k_proj,2.05039835,0.01000,0.635
|
| 171 |
+
24,self_attn.v_proj,6.27515268,0.01000,0.616
|
| 172 |
+
24,self_attn.q_proj,14.22914314,0.01000,0.623
|
| 173 |
+
24,self_attn.o_proj,3.39730763,0.01000,0.604
|
| 174 |
+
24,mlp.up_proj,85.59671021,0.01000,0.635
|
| 175 |
+
24,mlp.gate_proj,81.40880585,0.01000,0.619
|
| 176 |
+
24,mlp.down_proj,39.02641296,0.01000,3.923
|
| 177 |
+
25,self_attn.k_proj,2.47165418,0.01000,0.627
|
| 178 |
+
25,self_attn.v_proj,10.35423660,0.01000,0.603
|
| 179 |
+
25,self_attn.q_proj,16.47983932,0.01000,0.597
|
| 180 |
+
25,self_attn.o_proj,6.00129890,0.01000,0.617
|
| 181 |
+
25,mlp.up_proj,105.36215210,0.01000,0.627
|
| 182 |
+
25,mlp.gate_proj,94.51289368,0.01000,0.619
|
| 183 |
+
25,mlp.down_proj,53.65631866,0.01000,3.914
|
| 184 |
+
26,self_attn.k_proj,3.47986841,0.01000,0.615
|
| 185 |
+
26,self_attn.v_proj,25.66146660,0.01000,0.594
|
| 186 |
+
26,self_attn.q_proj,27.72456932,0.01000,0.613
|
| 187 |
+
26,self_attn.o_proj,14.51625061,0.01000,0.640
|
| 188 |
+
26,mlp.up_proj,105.19096375,0.01000,0.652
|
| 189 |
+
26,mlp.gate_proj,92.72835541,0.01000,0.626
|
| 190 |
+
26,mlp.down_proj,0.00014774,0.01250,4.497
|
| 191 |
+
27,self_attn.k_proj,3.90117908,0.01000,0.626
|
| 192 |
+
27,self_attn.v_proj,36.91463470,0.01000,0.619
|
| 193 |
+
27,self_attn.q_proj,42.00445557,0.01000,0.626
|
| 194 |
+
27,self_attn.o_proj,25.07783699,0.01000,0.632
|
| 195 |
+
27,mlp.up_proj,139.82276917,0.01000,0.650
|
| 196 |
+
27,mlp.gate_proj,135.11968994,0.01000,0.643
|
| 197 |
+
27,mlp.down_proj,280.19879150,0.01000,3.917
|
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,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5eee858c5123a4279c3e1f7b81247343f356ac767940b2692a928ad929543214
|
| 3 |
+
size 11422063
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "{% set image_placeholder = '<|vision_start|><|image_pad|><|vision_end|>' %}\n{% for message in messages %}\n {#--- Handle User Messages with Template and Examples ---#}\n {%- if message['role'] == 'user' and template -%}\n {% if loop.first and message['role'] != 'system' %}\n {{- '<|im_start|>system\\nYou are NuExtract, an information extraction tool created by NuMind.<|im_end|>' }}\n {% endif %}\n \n {{- '<|im_start|>' + message['role'] -}}\n \n {#--- Template Section ---#}\n {{ '\\n# Template:' }}\n {{- '\\n' + template + '\\n' }}\n \n {#--- Examples Section (if provided) ---#}\n {% if examples -%}\n {{- '# Examples:' }}\n {% for example in examples %}\n {{- '## Input:\\n' }}\n {#--- Handle image examples ---#}\n {% if example['input'] is mapping and example['input']['type'] == 'image' %}\n {{- image_placeholder | trim -}}\n {% elif example['input'] == '<image>' %}\n {{- image_placeholder | trim -}}\n {% else %}\n {{- example['input'] -}}\n {% endif %}\n {{- '\\n## Output:\\n' ~ example['output'] }}\n {% endfor %}\n {%- endif %}\n \n {#--- Context Section: Handle various content types ---#}\n {{- '# Context:\\n' }}\n {%- if message['content'] is string -%}\n {#--- Simple string content ---#}\n {{- message['content'] | trim -}}\n {%- elif message['content'] is mapping and message['content']['type'] == 'image' -%}\n {#--- Single image document ---#}\n {{- image_placeholder | trim -}}\n {%- else -%}\n {#--- List of content items (mixed text/images) ---#}\n {#--- First, determine what the actual input content is (not ICL images) ---#}\n {%- set ns = namespace(has_text_input=false, text_content='') -%}\n \n {#--- Count content types and identify actual input document ---#}\n {%- for content in message['content'] -%}\n {%- if content is mapping and content.get('type') == 'text' -%}\n {%- if content.get('text') != '<image>' -%}\n {%- set ns.has_text_input = true -%}\n {%- set ns.text_content = content['text'] -%}\n {%- endif -%}\n {%- elif content is string -%}\n {%- if content != '<image>' -%}\n {%- set ns.has_text_input = true -%}\n {%- set ns.text_content = content -%}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n \n {#--- Determine what to output based on actual input type ---#}\n {%- if ns.has_text_input -%}\n {#--- Main input is text, so output the text content ---#}\n {{- ns.text_content | trim -}}\n {%- else -%}\n {#--- Main input is image or <image> placeholder ---#}\n {%- set ns2 = namespace(found_image=false) -%}\n {%- for content in message['content'] -%}\n {%- if content is mapping and content.get('type') == 'image' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- elif content is mapping and content.get('type') == 'text' and content.get('text') == '<image>' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- elif content is string and content == '<image>' and not ns2.found_image -%}\n {{- image_placeholder | trim -}}\n {%- set ns2.found_image = true -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- endif -%}\n {{- '<|im_end|>\\n'}}\n \n {#--- Handle All Other Messages (Assistant, System, etc.) ---#}\n {% else %}\n {% if loop.first and message['role'] != 'system' %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>' }}\n {% endif %}\n \n {{- '<|im_start|>' + message['role'] + '\\n' }}\n \n {#--- Same content handling logic as above but without template/examples ---#}\n {%- if message['content'] is string -%}\n {{- message['content'] | trim }}\n {%- elif message['content'] is mapping and message['content']['type'] == 'image' -%}\n {{- image_placeholder | trim }}\n {%- else -%}\n {%- set ns = namespace(found=false) -%}\n {%- for content in message['content'] -%}\n {%- if content is string -%}\n {{- content | trim -}}\n {%- elif content is mapping and content.get('type') == 'text' -%}\n {{- content['text'] | trim -}}\n {%- elif content is mapping and content.get('type') == 'image' -%}\n {# Skip adding image placeholder - it's already in the text #}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {{- '<|im_end|>'}}\n {% endif %}\n{% endfor -%}\n{#--- Add Generation Prompt if Requested ---#}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant' }}\n{% endif -%}",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|im_end|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"extra_special_tokens": {},
|
| 203 |
+
"max_pixels": 2352000,
|
| 204 |
+
"min_pixels": 200704,
|
| 205 |
+
"model_max_length": 131072,
|
| 206 |
+
"pad_token": "<|endoftext|>",
|
| 207 |
+
"padding_side": "left",
|
| 208 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
| 209 |
+
"split_special_tokens": false,
|
| 210 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 211 |
+
"unk_token": null
|
| 212 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|