Upload 20 files
Browse files- chat_template.jinja +140 -0
- config.json +70 -0
- generation_config.json +10 -0
- openvino_config.json +44 -0
- openvino_detokenizer.bin +3 -0
- openvino_detokenizer.xml +222 -0
- openvino_language_model.bin +3 -0
- openvino_language_model.xml +0 -0
- openvino_text_embeddings_model.bin +3 -0
- openvino_text_embeddings_model.xml +180 -0
- openvino_tokenizer.bin +3 -0
- openvino_tokenizer.xml +738 -0
- openvino_vision_embeddings_merger_model.bin +3 -0
- openvino_vision_embeddings_merger_model.xml +0 -0
- openvino_vision_embeddings_model.bin +3 -0
- openvino_vision_embeddings_model.xml +291 -0
- preprocessor_config.json +26 -0
- processor_config.json +63 -0
- tokenizer.json +0 -0
- tokenizer_config.json +49 -0
chat_template.jinja
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gMASK]<sop>
|
| 2 |
+
{%- if tools -%}
|
| 3 |
+
<|system|>
|
| 4 |
+
# Tools
|
| 5 |
+
|
| 6 |
+
You may call one or more functions to assist with the user query.
|
| 7 |
+
|
| 8 |
+
You are provided with function signatures within <tools></tools> XML tags:
|
| 9 |
+
<tools>
|
| 10 |
+
{% for tool in tools %}
|
| 11 |
+
{{ tool | tojson(ensure_ascii=False) }}
|
| 12 |
+
{% endfor %}
|
| 13 |
+
</tools>
|
| 14 |
+
|
| 15 |
+
For each function call, output the function name and arguments within the following XML format:
|
| 16 |
+
<tool_call>{function-name}
|
| 17 |
+
<arg_key>{arg-key-1}</arg_key>
|
| 18 |
+
<arg_value>{arg-value-1}</arg_value>
|
| 19 |
+
<arg_key>{arg-key-2}</arg_key>
|
| 20 |
+
<arg_value>{arg-value-2}</arg_value>
|
| 21 |
+
...
|
| 22 |
+
</tool_call>{%- endif -%}
|
| 23 |
+
{%- macro visible_text(content) -%}
|
| 24 |
+
{%- if content is string -%}
|
| 25 |
+
{{- content }}
|
| 26 |
+
{%- elif content is iterable and content is not mapping -%}
|
| 27 |
+
{%- for item in content -%}
|
| 28 |
+
{%- if item is mapping and item.type == 'text' -%}
|
| 29 |
+
{{- item.text }}
|
| 30 |
+
{%- elif item is mapping and (item.type == 'image' or 'image' in item) -%}
|
| 31 |
+
<|begin_of_image|><|image|><|end_of_image|>
|
| 32 |
+
{%- elif item is mapping and (item.type == 'video' or 'video' in item) -%}
|
| 33 |
+
<|begin_of_video|><|video|><|end_of_video|>
|
| 34 |
+
{%- elif item is string -%}
|
| 35 |
+
{{- item }}
|
| 36 |
+
{%- endif -%}
|
| 37 |
+
{%- endfor -%}
|
| 38 |
+
{%- else -%}
|
| 39 |
+
{{- content }}
|
| 40 |
+
{%- endif -%}
|
| 41 |
+
{%- endmacro -%}
|
| 42 |
+
{%- set ns = namespace(last_user_index=-1) %}
|
| 43 |
+
{%- for m in messages %}
|
| 44 |
+
{%- if m.role == 'user' %}
|
| 45 |
+
{% set ns.last_user_index = loop.index0 -%}
|
| 46 |
+
{%- endif %}
|
| 47 |
+
{%- endfor %}
|
| 48 |
+
{% for m in messages %}
|
| 49 |
+
{%- if m.role == 'user' -%}<|user|>
|
| 50 |
+
{% if m.content is string %}
|
| 51 |
+
{{ m.content }}
|
| 52 |
+
{%- else %}
|
| 53 |
+
{%- for item in m.content %}
|
| 54 |
+
{% if item.type == 'video' or 'video' in item %}
|
| 55 |
+
<|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %}
|
| 56 |
+
<|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %}
|
| 57 |
+
{{ item.text }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endfor %}
|
| 60 |
+
{%- endif %}
|
| 61 |
+
{{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}}
|
| 62 |
+
{%- elif m.role == 'assistant' -%}
|
| 63 |
+
<|assistant|>
|
| 64 |
+
{%- set reasoning_content = '' %}
|
| 65 |
+
{%- set content = visible_text(m.content) %}
|
| 66 |
+
{%- if m.reasoning_content is string %}
|
| 67 |
+
{%- set reasoning_content = m.reasoning_content %}
|
| 68 |
+
{%- else %}
|
| 69 |
+
{%- if '</think>' in content %}
|
| 70 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 71 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 72 |
+
{%- endif %}
|
| 73 |
+
{%- endif %}
|
| 74 |
+
{%- if loop.index0 > ns.last_user_index and reasoning_content -%}
|
| 75 |
+
{{ '\n<think>' + reasoning_content.strip() + '</think>'}}
|
| 76 |
+
{%- else -%}
|
| 77 |
+
{{ '\n<think></think>' }}
|
| 78 |
+
{%- endif -%}
|
| 79 |
+
{%- if content.strip() -%}
|
| 80 |
+
{{ '\n' + content.strip() }}
|
| 81 |
+
{%- endif -%}
|
| 82 |
+
{% if m.tool_calls %}
|
| 83 |
+
{% for tc in m.tool_calls %}
|
| 84 |
+
{%- if tc.function %}
|
| 85 |
+
{%- set tc = tc.function %}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{{ '\n<tool_call>' + tc.name }}
|
| 88 |
+
{% set _args = tc.arguments %}
|
| 89 |
+
{% for k, v in _args.items() %}
|
| 90 |
+
<arg_key>{{ k }}</arg_key>
|
| 91 |
+
<arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>
|
| 92 |
+
{% endfor %}
|
| 93 |
+
</tool_call>{% endfor %}
|
| 94 |
+
{% endif %}
|
| 95 |
+
{%- elif m.role == 'tool' -%}
|
| 96 |
+
{%- if m.content is string -%}
|
| 97 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 98 |
+
{{- '<|observation|>' }}
|
| 99 |
+
{%- endif %}
|
| 100 |
+
{{- '\n<tool_response>\n' }}
|
| 101 |
+
{{- m.content }}
|
| 102 |
+
{{- '\n</tool_response>' }}
|
| 103 |
+
{% elif m.content is iterable and m.content is not mapping %}
|
| 104 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 105 |
+
{{- '<|observation|>' }}
|
| 106 |
+
{%- endif %}
|
| 107 |
+
{{- '\n<tool_response>\n' }}
|
| 108 |
+
{%- for tr in m.content -%}
|
| 109 |
+
{%- if tr is mapping and tr.type is defined -%}
|
| 110 |
+
{%- set t = tr.type | lower -%}
|
| 111 |
+
{%- if t == 'text' and tr.text is defined -%}
|
| 112 |
+
{{ tr.text }}
|
| 113 |
+
{%- elif t in ['image', 'image_url'] -%}
|
| 114 |
+
<|begin_of_image|><|image|><|end_of_image|>
|
| 115 |
+
{%- elif t in ['video', 'video_url'] -%}
|
| 116 |
+
<|begin_of_video|><|video|><|end_of_video|>
|
| 117 |
+
{%- else -%}
|
| 118 |
+
{{ tr | tojson(ensure_ascii=False) }}
|
| 119 |
+
{%- endif -%}
|
| 120 |
+
{%- else -%}
|
| 121 |
+
{{ tr.output if tr.output is defined else tr }}
|
| 122 |
+
{%- endif -%}
|
| 123 |
+
{%- endfor -%}
|
| 124 |
+
{{- '\n</tool_response>' }}
|
| 125 |
+
{%- else -%}
|
| 126 |
+
<|observation|>{% for tr in m.content %}
|
| 127 |
+
|
| 128 |
+
<tool_response>
|
| 129 |
+
{{ tr.output if tr.output is defined else tr }}
|
| 130 |
+
</tool_response>{% endfor -%}
|
| 131 |
+
{% endif -%}
|
| 132 |
+
{%- elif m.role == 'system' -%}
|
| 133 |
+
<|system|>
|
| 134 |
+
{{ visible_text(m.content) }}
|
| 135 |
+
{%- endif -%}
|
| 136 |
+
{%- endfor -%}
|
| 137 |
+
{%- if add_generation_prompt -%}
|
| 138 |
+
<|assistant|>
|
| 139 |
+
{{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}}
|
| 140 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"GlmOcrForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"image_end_token_id": 59257,
|
| 7 |
+
"image_start_token_id": 59256,
|
| 8 |
+
"image_token_id": 59280,
|
| 9 |
+
"model_type": "glm_ocr",
|
| 10 |
+
"text_config": {
|
| 11 |
+
"attention_bias": false,
|
| 12 |
+
"attention_dropout": 0.0,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
+
"eos_token_id": [
|
| 15 |
+
59246,
|
| 16 |
+
59253
|
| 17 |
+
],
|
| 18 |
+
"head_dim": 128,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 1536,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 4608,
|
| 23 |
+
"max_position_embeddings": 131072,
|
| 24 |
+
"model_type": "glm_ocr_text",
|
| 25 |
+
"num_attention_heads": 16,
|
| 26 |
+
"num_hidden_layers": 16,
|
| 27 |
+
"num_key_value_heads": 8,
|
| 28 |
+
"num_nextn_predict_layers": 1,
|
| 29 |
+
"pad_token_id": 59246,
|
| 30 |
+
"rms_norm_eps": 1e-05,
|
| 31 |
+
"rope_parameters": {
|
| 32 |
+
"mrope_section": [
|
| 33 |
+
16,
|
| 34 |
+
24,
|
| 35 |
+
24
|
| 36 |
+
],
|
| 37 |
+
"partial_rotary_factor": 1.0,
|
| 38 |
+
"rope_theta": 10000,
|
| 39 |
+
"rope_type": "default"
|
| 40 |
+
},
|
| 41 |
+
"tie_word_embeddings": false,
|
| 42 |
+
"use_cache": true,
|
| 43 |
+
"vocab_size": 59392
|
| 44 |
+
},
|
| 45 |
+
"tie_word_embeddings": false,
|
| 46 |
+
"transformers_version": "5.5.4",
|
| 47 |
+
"video_end_token_id": 59259,
|
| 48 |
+
"video_start_token_id": 59258,
|
| 49 |
+
"video_token_id": 59281,
|
| 50 |
+
"vision_config": {
|
| 51 |
+
"attention_bias": true,
|
| 52 |
+
"attention_dropout": 0.0,
|
| 53 |
+
"depth": 24,
|
| 54 |
+
"dtype": "bfloat16",
|
| 55 |
+
"hidden_act": "silu",
|
| 56 |
+
"hidden_dropout_prob": 0.0,
|
| 57 |
+
"hidden_size": 1024,
|
| 58 |
+
"image_size": 336,
|
| 59 |
+
"in_channels": 3,
|
| 60 |
+
"initializer_range": 0.02,
|
| 61 |
+
"intermediate_size": 4096,
|
| 62 |
+
"model_type": "glm_ocr_vision",
|
| 63 |
+
"num_heads": 16,
|
| 64 |
+
"out_hidden_size": 1536,
|
| 65 |
+
"patch_size": 14,
|
| 66 |
+
"rms_norm_eps": 1e-05,
|
| 67 |
+
"spatial_merge_size": 2,
|
| 68 |
+
"temporal_patch_size": 2
|
| 69 |
+
}
|
| 70 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
59246,
|
| 6 |
+
59253
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 59246,
|
| 9 |
+
"transformers_version": "5.5.4"
|
| 10 |
+
}
|
openvino_config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dtype": "int4",
|
| 3 |
+
"input_info": null,
|
| 4 |
+
"optimum_version": "2.4.0.dev0",
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"quantization_config": {
|
| 7 |
+
"_dataset_kwargs": {},
|
| 8 |
+
"dataset": null,
|
| 9 |
+
"default_config": {
|
| 10 |
+
"quant_method": "default"
|
| 11 |
+
},
|
| 12 |
+
"ignored_scope": null,
|
| 13 |
+
"num_samples": null,
|
| 14 |
+
"processor": "E:\\glm_ocr\\glm_ocr",
|
| 15 |
+
"quantization_configs": {
|
| 16 |
+
"lm_model": {
|
| 17 |
+
"_dataset_kwargs": {},
|
| 18 |
+
"all_layers": null,
|
| 19 |
+
"backup_precision": null,
|
| 20 |
+
"bits": 4,
|
| 21 |
+
"dataset": null,
|
| 22 |
+
"dq_group_size": null,
|
| 23 |
+
"dtype": "int4",
|
| 24 |
+
"gptq": null,
|
| 25 |
+
"group_size": 128,
|
| 26 |
+
"group_size_fallback": null,
|
| 27 |
+
"ignored_scope": null,
|
| 28 |
+
"lora_correction": null,
|
| 29 |
+
"num_samples": null,
|
| 30 |
+
"processor": "E:\\glm_ocr\\glm_ocr",
|
| 31 |
+
"quant_method": "default",
|
| 32 |
+
"ratio": 1.0,
|
| 33 |
+
"scale_estimation": null,
|
| 34 |
+
"sensitivity_metric": null,
|
| 35 |
+
"statistics_path": null,
|
| 36 |
+
"sym": false,
|
| 37 |
+
"tokenizer": "E:\\glm_ocr\\glm_ocr"
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"tokenizer": "E:\\glm_ocr\\glm_ocr"
|
| 41 |
+
},
|
| 42 |
+
"save_onnx_model": false,
|
| 43 |
+
"transformers_version": "5.5.4"
|
| 44 |
+
}
|
openvino_detok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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="detokenizer" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="Parameter_129606" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="?,?" element_type="i64" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="I64" names="Parameter_129606">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
<dim>-1</dim>
|
| 10 |
+
</port>
|
| 11 |
+
</output>
|
| 12 |
+
</layer>
|
| 13 |
+
<layer id="1" name="Convert_129641" type="Convert" version="opset1">
|
| 14 |
+
<data destination_type="i32" />
|
| 15 |
+
<input>
|
| 16 |
+
<port id="0" precision="I64">
|
| 17 |
+
<dim>-1</dim>
|
| 18 |
+
<dim>-1</dim>
|
| 19 |
+
</port>
|
| 20 |
+
</input>
|
| 21 |
+
<output>
|
| 22 |
+
<port id="1" precision="I32">
|
| 23 |
+
<dim>-1</dim>
|
| 24 |
+
<dim>-1</dim>
|
| 25 |
+
</port>
|
| 26 |
+
</output>
|
| 27 |
+
</layer>
|
| 28 |
+
<layer id="2" name="Constant_129608" type="Const" version="opset1">
|
| 29 |
+
<data element_type="i32" shape="59282" offset="0" size="237128" />
|
| 30 |
+
<output>
|
| 31 |
+
<port id="0" precision="I32">
|
| 32 |
+
<dim>59282</dim>
|
| 33 |
+
</port>
|
| 34 |
+
</output>
|
| 35 |
+
</layer>
|
| 36 |
+
<layer id="3" name="Constant_129610" type="Const" version="opset1">
|
| 37 |
+
<data element_type="i32" shape="59282" offset="237128" size="237128" />
|
| 38 |
+
<output>
|
| 39 |
+
<port id="0" precision="I32">
|
| 40 |
+
<dim>59282</dim>
|
| 41 |
+
</port>
|
| 42 |
+
</output>
|
| 43 |
+
</layer>
|
| 44 |
+
<layer id="4" name="Constant_129612" type="Const" version="opset1">
|
| 45 |
+
<data element_type="u8" shape="354465" offset="474256" size="354465" />
|
| 46 |
+
<output>
|
| 47 |
+
<port id="0" precision="U8">
|
| 48 |
+
<dim>354465</dim>
|
| 49 |
+
</port>
|
| 50 |
+
</output>
|
| 51 |
+
</layer>
|
| 52 |
+
<layer id="5" name="Slice_129617" type="Const" version="opset1">
|
| 53 |
+
<data element_type="i32" shape="21" offset="828721" size="84" />
|
| 54 |
+
<output>
|
| 55 |
+
<port id="0" precision="I32">
|
| 56 |
+
<dim>21</dim>
|
| 57 |
+
</port>
|
| 58 |
+
</output>
|
| 59 |
+
</layer>
|
| 60 |
+
<layer id="6" name="VocabDecoder_129619" type="VocabDecoder" version="extension">
|
| 61 |
+
<data skip_tokens="" />
|
| 62 |
+
<input>
|
| 63 |
+
<port id="0" precision="I32">
|
| 64 |
+
<dim>-1</dim>
|
| 65 |
+
<dim>-1</dim>
|
| 66 |
+
</port>
|
| 67 |
+
<port id="1" precision="I32">
|
| 68 |
+
<dim>59282</dim>
|
| 69 |
+
</port>
|
| 70 |
+
<port id="2" precision="I32">
|
| 71 |
+
<dim>59282</dim>
|
| 72 |
+
</port>
|
| 73 |
+
<port id="3" precision="U8">
|
| 74 |
+
<dim>354465</dim>
|
| 75 |
+
</port>
|
| 76 |
+
<port id="4" precision="I32">
|
| 77 |
+
<dim>21</dim>
|
| 78 |
+
</port>
|
| 79 |
+
</input>
|
| 80 |
+
<output>
|
| 81 |
+
<port id="5" precision="I32">
|
| 82 |
+
<dim>-1</dim>
|
| 83 |
+
</port>
|
| 84 |
+
<port id="6" precision="I32">
|
| 85 |
+
<dim>-1</dim>
|
| 86 |
+
</port>
|
| 87 |
+
<port id="7" precision="I32">
|
| 88 |
+
<dim>-1</dim>
|
| 89 |
+
</port>
|
| 90 |
+
<port id="8" precision="I32">
|
| 91 |
+
<dim>-1</dim>
|
| 92 |
+
</port>
|
| 93 |
+
<port id="9" precision="U8">
|
| 94 |
+
<dim>-1</dim>
|
| 95 |
+
</port>
|
| 96 |
+
</output>
|
| 97 |
+
</layer>
|
| 98 |
+
<layer id="7" name="FuzeRagged_129620" type="FuzeRagged" version="extension">
|
| 99 |
+
<input>
|
| 100 |
+
<port id="0" precision="I32">
|
| 101 |
+
<dim>-1</dim>
|
| 102 |
+
</port>
|
| 103 |
+
<port id="1" precision="I32">
|
| 104 |
+
<dim>-1</dim>
|
| 105 |
+
</port>
|
| 106 |
+
<port id="2" precision="I32">
|
| 107 |
+
<dim>-1</dim>
|
| 108 |
+
</port>
|
| 109 |
+
<port id="3" precision="I32">
|
| 110 |
+
<dim>-1</dim>
|
| 111 |
+
</port>
|
| 112 |
+
</input>
|
| 113 |
+
<output>
|
| 114 |
+
<port id="4" precision="I32">
|
| 115 |
+
<dim>-1</dim>
|
| 116 |
+
</port>
|
| 117 |
+
<port id="5" precision="I32">
|
| 118 |
+
<dim>-1</dim>
|
| 119 |
+
</port>
|
| 120 |
+
</output>
|
| 121 |
+
</layer>
|
| 122 |
+
<layer id="8" name="UTF8Validate_129621" type="UTF8Validate" version="extension">
|
| 123 |
+
<data replace_mode="true" />
|
| 124 |
+
<input>
|
| 125 |
+
<port id="0" precision="I32">
|
| 126 |
+
<dim>-1</dim>
|
| 127 |
+
</port>
|
| 128 |
+
<port id="1" precision="I32">
|
| 129 |
+
<dim>-1</dim>
|
| 130 |
+
</port>
|
| 131 |
+
<port id="2" precision="U8">
|
| 132 |
+
<dim>-1</dim>
|
| 133 |
+
</port>
|
| 134 |
+
</input>
|
| 135 |
+
<output>
|
| 136 |
+
<port id="3" precision="I32">
|
| 137 |
+
<dim>-1</dim>
|
| 138 |
+
</port>
|
| 139 |
+
<port id="4" precision="I32">
|
| 140 |
+
<dim>-1</dim>
|
| 141 |
+
</port>
|
| 142 |
+
<port id="5" precision="U8">
|
| 143 |
+
<dim>-1</dim>
|
| 144 |
+
</port>
|
| 145 |
+
</output>
|
| 146 |
+
</layer>
|
| 147 |
+
<layer id="9" name="StringTensorPack_129622" type="StringTensorPack" version="opset15">
|
| 148 |
+
<input>
|
| 149 |
+
<port id="0" precision="I32">
|
| 150 |
+
<dim>-1</dim>
|
| 151 |
+
</port>
|
| 152 |
+
<port id="1" precision="I32">
|
| 153 |
+
<dim>-1</dim>
|
| 154 |
+
</port>
|
| 155 |
+
<port id="2" precision="U8">
|
| 156 |
+
<dim>-1</dim>
|
| 157 |
+
</port>
|
| 158 |
+
</input>
|
| 159 |
+
<output>
|
| 160 |
+
<port id="3" precision="STRING" names="Result_129623,string_output">
|
| 161 |
+
<dim>-1</dim>
|
| 162 |
+
</port>
|
| 163 |
+
</output>
|
| 164 |
+
</layer>
|
| 165 |
+
<layer id="10" name="Result_129623" type="Result" version="opset1" output_names="Result_129623,string_output">
|
| 166 |
+
<input>
|
| 167 |
+
<port id="0" precision="STRING">
|
| 168 |
+
<dim>-1</dim>
|
| 169 |
+
</port>
|
| 170 |
+
</input>
|
| 171 |
+
</layer>
|
| 172 |
+
</layers>
|
| 173 |
+
<edges>
|
| 174 |
+
<edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
|
| 175 |
+
<edge from-layer="1" from-port="1" to-layer="6" to-port="0" />
|
| 176 |
+
<edge from-layer="2" from-port="0" to-layer="6" to-port="1" />
|
| 177 |
+
<edge from-layer="3" from-port="0" to-layer="6" to-port="2" />
|
| 178 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="3" />
|
| 179 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="4" />
|
| 180 |
+
<edge from-layer="6" from-port="5" to-layer="7" to-port="0" />
|
| 181 |
+
<edge from-layer="6" from-port="6" to-layer="7" to-port="1" />
|
| 182 |
+
<edge from-layer="6" from-port="7" to-layer="7" to-port="2" />
|
| 183 |
+
<edge from-layer="6" from-port="8" to-layer="7" to-port="3" />
|
| 184 |
+
<edge from-layer="6" from-port="9" to-layer="8" to-port="2" />
|
| 185 |
+
<edge from-layer="7" from-port="4" to-layer="8" to-port="0" />
|
| 186 |
+
<edge from-layer="7" from-port="5" to-layer="8" to-port="1" />
|
| 187 |
+
<edge from-layer="8" from-port="3" to-layer="9" to-port="0" />
|
| 188 |
+
<edge from-layer="8" from-port="4" to-layer="9" to-port="1" />
|
| 189 |
+
<edge from-layer="8" from-port="5" to-layer="9" to-port="2" />
|
| 190 |
+
<edge from-layer="9" from-port="3" to-layer="10" to-port="0" />
|
| 191 |
+
</edges>
|
| 192 |
+
<rt_info>
|
| 193 |
+
<info name="OpenVINO Runtime" value="2026.3.0-22067-7fe2854a671" />
|
| 194 |
+
<add_attention_mask value="True" />
|
| 195 |
+
<add_prefix_space />
|
| 196 |
+
<add_special_tokens value="True" />
|
| 197 |
+
<chat_template value="[gMASK]<sop> {%- if tools -%} <|system|> # Tools You may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {% for tool in tools %} {{ tool | tojson(ensure_ascii=False) }} {% endfor %} </tools> For each function call, output the function name and arguments within the following XML format: <tool_call>{function-name} <arg_key>{arg-key-1}</arg_key> <arg_value>{arg-value-1}</arg_value> <arg_key>{arg-key-2}</arg_key> <arg_value>{arg-value-2}</arg_value> ... </tool_call>{%- endif -%} {%- macro visible_text(content) -%} {%- if content is string -%} {{- content }} {%- elif content is iterable and content is not mapping -%} {%- for item in content -%} {%- if item is mapping and item.type == 'text' -%} {{- item.text }} {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%} <|begin_of_image|><|image|><|end_of_image|> {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%} <|begin_of_video|><|video|><|end_of_video|> {%- elif item is string -%} {{- item }} {%- endif -%} {%- endfor -%} {%- else -%} {{- content }} {%- endif -%} {%- endmacro -%} {%- set ns = namespace(last_user_index=-1) %} {%- for m in messages %} {%- if m.role == 'user' %} {% set ns.last_user_index = loop.index0 -%} {%- endif %} {%- endfor %} {% for m in messages %} {%- if m.role == 'user' -%}<|user|> {% if m.content is string %} {{ m.content }} {%- else %} {%- for item in m.content %} {% if item.type == 'video' or 'video' in item %} <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %} <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %} {{ item.text }} {%- endif %} {%- endfor %} {%- endif %} {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}} {%- elif m.role == 'assistant' -%} <|assistant|> {%- set reasoning_content = '' %} {%- set content = visible_text(m.content) %} {%- if m.reasoning_content is string %} {%- set reasoning_content = m.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_user_index and reasoning_content -%} {{ '\n<think>' + reasoning_content.strip() + '</think>'}} {%- else -%} {{ '\n<think></think>' }} {%- endif -%} {%- if content.strip() -%} {{ '\n' + content.strip() }} {%- endif -%} {% if m.tool_calls %} {% for tc in m.tool_calls %} {%- if tc.function %} {%- set tc = tc.function %} {%- endif %} {{ '\n<tool_call>' + tc.name }} {% set _args = tc.arguments %} {% for k, v in _args.items() %} <arg_key>{{ k }}</arg_key> <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value> {% endfor %} </tool_call>{% endfor %} {% endif %} {%- elif m.role == 'tool' -%} {%- if m.content is string -%} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|observation|>' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- m.content }} {{- '\n</tool_response>' }} {% elif m.content is iterable and m.content is not mapping %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|observation|>' }} {%- endif %} {{- '\n<tool_response>\n' }} {%- for tr in m.content -%} {%- if tr is mapping and tr.type is defined -%} {%- set t = tr.type | lower -%} {%- if t == 'text' and tr.text is defined -%} {{ tr.text }} {%- elif t in ['image', 'image_url'] -%} <|begin_of_image|><|image|><|end_of_image|> {%- elif t in ['video', 'video_url'] -%} <|begin_of_video|><|video|><|end_of_video|> {%- else -%} {{ tr | tojson(ensure_ascii=False) }} {%- endif -%} {%- else -%} {{ tr.output if tr.output is defined else tr }} {%- endif -%} {%- endfor -%} {{- '\n</tool_response>' }} {%- else -%} <|observation|>{% for tr in m.content %} <tool_response> {{ tr.output if tr.output is defined else tr }} </tool_response>{% endfor -%} {% endif -%} {%- elif m.role == 'system' -%} <|system|> {{ visible_text(m.content) }} {%- endif -%} {%- endfor -%} {%- if add_generation_prompt -%} <|assistant|> {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}} {%- endif -%} " />
|
| 198 |
+
<clean_up_tokenization_spaces />
|
| 199 |
+
<detokenizer_input_type value="i64" />
|
| 200 |
+
<eos_token_id value="59246" />
|
| 201 |
+
<handle_special_tokens_with_re />
|
| 202 |
+
<max_length />
|
| 203 |
+
<number_of_inputs value="1" />
|
| 204 |
+
<openvino_tokenizers_version value="2026.3.0.0-683-6d28e696dfa" />
|
| 205 |
+
<openvino_version value="2026.3.0-22067-7fe2854a671" />
|
| 206 |
+
<original_post_processor_template value="{"type": "Sequence", "processors": [{"type": "ByteLevel", "add_prefix_space": true, "trim_offsets": false, "use_regex": true}]}" />
|
| 207 |
+
<original_tokenizer_class value="<class 'transformers.tokenization_utils_tokenizers.TokenizersBackend'>" />
|
| 208 |
+
<pad_token_id value="59246" />
|
| 209 |
+
<processed_post_processor_template value="{"single": {"ids": [-1], "type_ids": [0]}, "pair": {"ids": [-1, -2], "type_ids": [0, 0]}}" />
|
| 210 |
+
<sentencepiece_version value="0.2.0" />
|
| 211 |
+
<skip_special_tokens value="True" />
|
| 212 |
+
<streaming_detokenizer value="False" />
|
| 213 |
+
<tiktoken_version value="0.12.0" />
|
| 214 |
+
<tokenizer_output_type value="i64" />
|
| 215 |
+
<tokenizers_version value="0.22.2" />
|
| 216 |
+
<transformers_version value="5.5.4" />
|
| 217 |
+
<use_max_padding value="False" />
|
| 218 |
+
<use_sentencepiece_backend value="False" />
|
| 219 |
+
<utf8_replace_mode value="replace" />
|
| 220 |
+
<with_detokenizer value="True" />
|
| 221 |
+
</rt_info>
|
| 222 |
+
</net>
|
openvino_language_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cd3c47783cd36182f66f34abb43ccda6844aa510cef5decc33d1d66aad8fcc7
|
| 3 |
+
size 346757853
|
openvino_language_model.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openvino_text_embeddings_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:974993be98127b4f28604cd44e27215ad092c7d1c999337305d0fb67730e6a08
|
| 3 |
+
size 91344900
|
openvino_text_embeddings_model.xml
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="input" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="?,?" element_type="i64" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="I64" names="input">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
<dim>-1</dim>
|
| 10 |
+
</port>
|
| 11 |
+
</output>
|
| 12 |
+
</layer>
|
| 13 |
+
<layer id="1" name="self.weight" type="Const" version="opset1">
|
| 14 |
+
<data element_type="i8" shape="59392, 1536" offset="0" size="91226112" />
|
| 15 |
+
<output>
|
| 16 |
+
<port id="0" precision="I8">
|
| 17 |
+
<dim>59392</dim>
|
| 18 |
+
<dim>1536</dim>
|
| 19 |
+
</port>
|
| 20 |
+
</output>
|
| 21 |
+
</layer>
|
| 22 |
+
<layer id="2" name="Convert_659390" type="Convert" version="opset1">
|
| 23 |
+
<data destination_type="f16" />
|
| 24 |
+
<input>
|
| 25 |
+
<port id="0" precision="I8">
|
| 26 |
+
<dim>59392</dim>
|
| 27 |
+
<dim>1536</dim>
|
| 28 |
+
</port>
|
| 29 |
+
</input>
|
| 30 |
+
<output>
|
| 31 |
+
<port id="1" precision="FP16">
|
| 32 |
+
<dim>59392</dim>
|
| 33 |
+
<dim>1536</dim>
|
| 34 |
+
</port>
|
| 35 |
+
</output>
|
| 36 |
+
</layer>
|
| 37 |
+
<layer id="3" name="self.weight/scale" type="Const" version="opset1">
|
| 38 |
+
<data element_type="f16" shape="59392, 1" offset="91226112" size="118784" />
|
| 39 |
+
<output>
|
| 40 |
+
<port id="0" precision="FP16">
|
| 41 |
+
<dim>59392</dim>
|
| 42 |
+
<dim>1</dim>
|
| 43 |
+
</port>
|
| 44 |
+
</output>
|
| 45 |
+
</layer>
|
| 46 |
+
<layer id="4" name="self.weight/fq_weights_0" type="Multiply" version="opset1">
|
| 47 |
+
<data auto_broadcast="numpy" />
|
| 48 |
+
<input>
|
| 49 |
+
<port id="0" precision="FP16">
|
| 50 |
+
<dim>59392</dim>
|
| 51 |
+
<dim>1536</dim>
|
| 52 |
+
</port>
|
| 53 |
+
<port id="1" precision="FP16">
|
| 54 |
+
<dim>59392</dim>
|
| 55 |
+
<dim>1</dim>
|
| 56 |
+
</port>
|
| 57 |
+
</input>
|
| 58 |
+
<output>
|
| 59 |
+
<port id="2" precision="FP16">
|
| 60 |
+
<dim>59392</dim>
|
| 61 |
+
<dim>1536</dim>
|
| 62 |
+
</port>
|
| 63 |
+
</output>
|
| 64 |
+
</layer>
|
| 65 |
+
<layer id="5" name="ov_ext::embedding/Convert" type="Convert" version="opset1">
|
| 66 |
+
<data destination_type="f32" />
|
| 67 |
+
<rt_info>
|
| 68 |
+
<attribute name="decompression" version="0" />
|
| 69 |
+
</rt_info>
|
| 70 |
+
<input>
|
| 71 |
+
<port id="0" precision="FP16">
|
| 72 |
+
<dim>59392</dim>
|
| 73 |
+
<dim>1536</dim>
|
| 74 |
+
</port>
|
| 75 |
+
</input>
|
| 76 |
+
<output>
|
| 77 |
+
<port id="1" precision="FP32">
|
| 78 |
+
<dim>59392</dim>
|
| 79 |
+
<dim>1536</dim>
|
| 80 |
+
</port>
|
| 81 |
+
</output>
|
| 82 |
+
</layer>
|
| 83 |
+
<layer id="6" name="ov_ext::embedding/Convert_1" type="Convert" version="opset1">
|
| 84 |
+
<data destination_type="i32" />
|
| 85 |
+
<input>
|
| 86 |
+
<port id="0" precision="I64">
|
| 87 |
+
<dim>-1</dim>
|
| 88 |
+
<dim>-1</dim>
|
| 89 |
+
</port>
|
| 90 |
+
</input>
|
| 91 |
+
<output>
|
| 92 |
+
<port id="1" precision="I32">
|
| 93 |
+
<dim>-1</dim>
|
| 94 |
+
<dim>-1</dim>
|
| 95 |
+
</port>
|
| 96 |
+
</output>
|
| 97 |
+
</layer>
|
| 98 |
+
<layer id="7" name="ov_ext::embedding/Constant" type="Const" version="opset1">
|
| 99 |
+
<data element_type="i32" shape="" offset="91344896" size="4" />
|
| 100 |
+
<output>
|
| 101 |
+
<port id="0" precision="I32" />
|
| 102 |
+
</output>
|
| 103 |
+
</layer>
|
| 104 |
+
<layer id="8" name="ov_ext::embedding/Gather" type="Gather" version="opset8">
|
| 105 |
+
<data batch_dims="0" />
|
| 106 |
+
<input>
|
| 107 |
+
<port id="0" precision="FP32">
|
| 108 |
+
<dim>59392</dim>
|
| 109 |
+
<dim>1536</dim>
|
| 110 |
+
</port>
|
| 111 |
+
<port id="1" precision="I32">
|
| 112 |
+
<dim>-1</dim>
|
| 113 |
+
<dim>-1</dim>
|
| 114 |
+
</port>
|
| 115 |
+
<port id="2" precision="I32" />
|
| 116 |
+
</input>
|
| 117 |
+
<output>
|
| 118 |
+
<port id="3" precision="FP32" names="inputs_embeds">
|
| 119 |
+
<dim>-1</dim>
|
| 120 |
+
<dim>-1</dim>
|
| 121 |
+
<dim>1536</dim>
|
| 122 |
+
</port>
|
| 123 |
+
</output>
|
| 124 |
+
</layer>
|
| 125 |
+
<layer id="9" name="Result_127184" type="Result" version="opset1" output_names="inputs_embeds">
|
| 126 |
+
<input>
|
| 127 |
+
<port id="0" precision="FP32">
|
| 128 |
+
<dim>-1</dim>
|
| 129 |
+
<dim>-1</dim>
|
| 130 |
+
<dim>1536</dim>
|
| 131 |
+
</port>
|
| 132 |
+
</input>
|
| 133 |
+
</layer>
|
| 134 |
+
</layers>
|
| 135 |
+
<edges>
|
| 136 |
+
<edge from-layer="0" from-port="0" to-layer="6" to-port="0" />
|
| 137 |
+
<edge from-layer="1" from-port="0" to-layer="2" to-port="0" />
|
| 138 |
+
<edge from-layer="2" from-port="1" to-layer="4" to-port="0" />
|
| 139 |
+
<edge from-layer="3" from-port="0" to-layer="4" to-port="1" />
|
| 140 |
+
<edge from-layer="4" from-port="2" to-layer="5" to-port="0" />
|
| 141 |
+
<edge from-layer="5" from-port="1" to-layer="8" to-port="0" />
|
| 142 |
+
<edge from-layer="6" from-port="1" to-layer="8" to-port="1" />
|
| 143 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
|
| 144 |
+
<edge from-layer="8" from-port="3" to-layer="9" to-port="0" />
|
| 145 |
+
</edges>
|
| 146 |
+
<rt_info>
|
| 147 |
+
<info name="OpenVINO Runtime" value="2026.3.0-22067-7fe2854a671" />
|
| 148 |
+
<Runtime_version value="2026.3.0-22067-7fe2854a671" />
|
| 149 |
+
<conversion_parameters>
|
| 150 |
+
<framework value="pytorch" />
|
| 151 |
+
<is_python_object value="True" />
|
| 152 |
+
</conversion_parameters>
|
| 153 |
+
<nncf>
|
| 154 |
+
<friendly_names_were_updated value="True" />
|
| 155 |
+
<version value="3.2.0" />
|
| 156 |
+
<weight_compression>
|
| 157 |
+
<advanced_parameters value="{'statistics_path': None, 'lora_adapter_rank': 256, 'group_size_fallback_mode': 'error', 'min_adjusted_group_size': 32, 'awq_params': {'subset_size': 32, 'percent_to_apply': 0.002, 'alpha_min': 0.0, 'alpha_max': 1.0, 'steps': 100, 'prefer_data_aware_scaling': True}, 'scale_estimation_params': {'subset_size': 64, 'initial_steps': 5, 'scale_steps': 5, 'weight_penalty': -1.0}, 'gptq_params': {'damp_percent': 0.1, 'block_size': 128, 'subset_size': 128}, 'lora_correction_params': {'adapter_rank': 8, 'num_iterations': 3, 'apply_regularization': True, 'subset_size': 128, 'use_int8_adapters': True}, 'backend_params': {}, 'codebook': None, 'adaptive_codebook_params': {'value_type': 'f8e4m3', 'across_blocks': False, 'num_elements': 16}}" />
|
| 158 |
+
<all_layers value="False" />
|
| 159 |
+
<awq value="False" />
|
| 160 |
+
<backup_mode value="int8_asym" />
|
| 161 |
+
<compression_format value="dequantize" />
|
| 162 |
+
<gptq value="False" />
|
| 163 |
+
<group_size value="-1" />
|
| 164 |
+
<ignored_scope value="[]" />
|
| 165 |
+
<lora_correction value="False" />
|
| 166 |
+
<mode value="int8_sym" />
|
| 167 |
+
<ratio value="1.0" />
|
| 168 |
+
<scale_estimation value="False" />
|
| 169 |
+
<sensitivity_metric value="weight_quantization_error" />
|
| 170 |
+
</weight_compression>
|
| 171 |
+
</nncf>
|
| 172 |
+
<optimum>
|
| 173 |
+
<nncf_version value="3.2.0" />
|
| 174 |
+
<optimum_intel_version value="1.27.0.dev0+ffc9fd3" />
|
| 175 |
+
<optimum_version value="2.4.0.dev0" />
|
| 176 |
+
<pytorch_version value="2.10.0+cu130" />
|
| 177 |
+
<transformers_version value="5.5.4" />
|
| 178 |
+
</optimum>
|
| 179 |
+
</rt_info>
|
| 180 |
+
</net>
|
openvino_tokenizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af4d0d81ede42b1a9d13166ce79cfc05e87cae193c8e0cacaf030f8ef80d8d99
|
| 3 |
+
size 3235101
|
openvino_tokenizer.xml
ADDED
|
@@ -0,0 +1,738 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="tokenizer" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="Parameter_129479" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="?" element_type="string" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="STRING" names="Parameter_129479">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
</port>
|
| 10 |
+
</output>
|
| 11 |
+
</layer>
|
| 12 |
+
<layer id="1" name="Constant_129485" type="Const" version="opset1">
|
| 13 |
+
<data element_type="i64" shape="" offset="0" size="8" />
|
| 14 |
+
<output>
|
| 15 |
+
<port id="0" precision="I64" />
|
| 16 |
+
</output>
|
| 17 |
+
</layer>
|
| 18 |
+
<layer id="2" name="StringTensorUnpack_129480" type="StringTensorUnpack" version="opset15">
|
| 19 |
+
<input>
|
| 20 |
+
<port id="0" precision="STRING">
|
| 21 |
+
<dim>-1</dim>
|
| 22 |
+
</port>
|
| 23 |
+
</input>
|
| 24 |
+
<output>
|
| 25 |
+
<port id="1" precision="I32">
|
| 26 |
+
<dim>-1</dim>
|
| 27 |
+
</port>
|
| 28 |
+
<port id="2" precision="I32">
|
| 29 |
+
<dim>-1</dim>
|
| 30 |
+
</port>
|
| 31 |
+
<port id="3" precision="U8">
|
| 32 |
+
<dim>-1</dim>
|
| 33 |
+
</port>
|
| 34 |
+
</output>
|
| 35 |
+
</layer>
|
| 36 |
+
<layer id="3" name="ShapeOf_129481" type="ShapeOf" version="opset3">
|
| 37 |
+
<data output_type="i64" />
|
| 38 |
+
<input>
|
| 39 |
+
<port id="0" precision="I32">
|
| 40 |
+
<dim>-1</dim>
|
| 41 |
+
</port>
|
| 42 |
+
</input>
|
| 43 |
+
<output>
|
| 44 |
+
<port id="1" precision="I64">
|
| 45 |
+
<dim>1</dim>
|
| 46 |
+
</port>
|
| 47 |
+
</output>
|
| 48 |
+
</layer>
|
| 49 |
+
<layer id="4" name="Constant_129482" type="Const" version="opset1">
|
| 50 |
+
<data element_type="i64" shape="" offset="0" size="8" />
|
| 51 |
+
<output>
|
| 52 |
+
<port id="0" precision="I64" />
|
| 53 |
+
</output>
|
| 54 |
+
</layer>
|
| 55 |
+
<layer id="5" name="Constant_129483" type="Const" version="opset1">
|
| 56 |
+
<data element_type="i64" shape="" offset="0" size="8" />
|
| 57 |
+
<output>
|
| 58 |
+
<port id="0" precision="I64" />
|
| 59 |
+
</output>
|
| 60 |
+
</layer>
|
| 61 |
+
<layer id="6" name="Gather_129484" type="Gather" version="opset8">
|
| 62 |
+
<data batch_dims="0" />
|
| 63 |
+
<input>
|
| 64 |
+
<port id="0" precision="I64">
|
| 65 |
+
<dim>1</dim>
|
| 66 |
+
</port>
|
| 67 |
+
<port id="1" precision="I64" />
|
| 68 |
+
<port id="2" precision="I64" />
|
| 69 |
+
</input>
|
| 70 |
+
<output>
|
| 71 |
+
<port id="3" precision="I64" />
|
| 72 |
+
</output>
|
| 73 |
+
</layer>
|
| 74 |
+
<layer id="7" name="Constant_129486" type="Const" version="opset1">
|
| 75 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
| 76 |
+
<output>
|
| 77 |
+
<port id="0" precision="I64" />
|
| 78 |
+
</output>
|
| 79 |
+
</layer>
|
| 80 |
+
<layer id="8" name="Range_129487" type="Range" version="opset4">
|
| 81 |
+
<data output_type="i32" />
|
| 82 |
+
<input>
|
| 83 |
+
<port id="0" precision="I64" />
|
| 84 |
+
<port id="1" precision="I64" />
|
| 85 |
+
<port id="2" precision="I64" />
|
| 86 |
+
</input>
|
| 87 |
+
<output>
|
| 88 |
+
<port id="3" precision="I32">
|
| 89 |
+
<dim>-1</dim>
|
| 90 |
+
</port>
|
| 91 |
+
</output>
|
| 92 |
+
</layer>
|
| 93 |
+
<layer id="9" name="Constant_129488" type="Const" version="opset1">
|
| 94 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
| 95 |
+
<output>
|
| 96 |
+
<port id="0" precision="I64" />
|
| 97 |
+
</output>
|
| 98 |
+
</layer>
|
| 99 |
+
<layer id="10" name="Constant_129489" type="Const" version="opset1">
|
| 100 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
| 101 |
+
<output>
|
| 102 |
+
<port id="0" precision="I64" />
|
| 103 |
+
</output>
|
| 104 |
+
</layer>
|
| 105 |
+
<layer id="11" name="Add_129490" type="Add" version="opset1">
|
| 106 |
+
<data auto_broadcast="numpy" />
|
| 107 |
+
<input>
|
| 108 |
+
<port id="0" precision="I64" />
|
| 109 |
+
<port id="1" precision="I64" />
|
| 110 |
+
</input>
|
| 111 |
+
<output>
|
| 112 |
+
<port id="2" precision="I64" />
|
| 113 |
+
</output>
|
| 114 |
+
</layer>
|
| 115 |
+
<layer id="12" name="Constant_129491" type="Const" version="opset1">
|
| 116 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
| 117 |
+
<output>
|
| 118 |
+
<port id="0" precision="I64" />
|
| 119 |
+
</output>
|
| 120 |
+
</layer>
|
| 121 |
+
<layer id="13" name="Range_129492" type="Range" version="opset4">
|
| 122 |
+
<data output_type="i32" />
|
| 123 |
+
<input>
|
| 124 |
+
<port id="0" precision="I64" />
|
| 125 |
+
<port id="1" precision="I64" />
|
| 126 |
+
<port id="2" precision="I64" />
|
| 127 |
+
</input>
|
| 128 |
+
<output>
|
| 129 |
+
<port id="3" precision="I32">
|
| 130 |
+
<dim>-1</dim>
|
| 131 |
+
</port>
|
| 132 |
+
</output>
|
| 133 |
+
</layer>
|
| 134 |
+
<layer id="14" name="Constant_129556" type="Const" version="opset1">
|
| 135 |
+
<data element_type="u8" shape="606" offset="16" size="606" />
|
| 136 |
+
<output>
|
| 137 |
+
<port id="0" precision="U8">
|
| 138 |
+
<dim>606</dim>
|
| 139 |
+
</port>
|
| 140 |
+
</output>
|
| 141 |
+
</layer>
|
| 142 |
+
<layer id="15" name="SpecialTokensSplit_129557" type="SpecialTokensSplit" version="extension">
|
| 143 |
+
<input>
|
| 144 |
+
<port id="0" precision="I32">
|
| 145 |
+
<dim>-1</dim>
|
| 146 |
+
</port>
|
| 147 |
+
<port id="1" precision="I32">
|
| 148 |
+
<dim>-1</dim>
|
| 149 |
+
</port>
|
| 150 |
+
<port id="2" precision="I32">
|
| 151 |
+
<dim>-1</dim>
|
| 152 |
+
</port>
|
| 153 |
+
<port id="3" precision="I32">
|
| 154 |
+
<dim>-1</dim>
|
| 155 |
+
</port>
|
| 156 |
+
<port id="4" precision="U8">
|
| 157 |
+
<dim>-1</dim>
|
| 158 |
+
</port>
|
| 159 |
+
<port id="5" precision="U8">
|
| 160 |
+
<dim>606</dim>
|
| 161 |
+
</port>
|
| 162 |
+
</input>
|
| 163 |
+
<output>
|
| 164 |
+
<port id="6" precision="I32">
|
| 165 |
+
<dim>-1</dim>
|
| 166 |
+
</port>
|
| 167 |
+
<port id="7" precision="I32">
|
| 168 |
+
<dim>-1</dim>
|
| 169 |
+
</port>
|
| 170 |
+
<port id="8" precision="I32">
|
| 171 |
+
<dim>-1</dim>
|
| 172 |
+
</port>
|
| 173 |
+
<port id="9" precision="I32">
|
| 174 |
+
<dim>-1</dim>
|
| 175 |
+
</port>
|
| 176 |
+
<port id="10" precision="U8">
|
| 177 |
+
<dim>-1</dim>
|
| 178 |
+
</port>
|
| 179 |
+
<port id="11" precision="BOOL">
|
| 180 |
+
<dim>-1</dim>
|
| 181 |
+
</port>
|
| 182 |
+
</output>
|
| 183 |
+
</layer>
|
| 184 |
+
<layer id="16" name="Constant_129559" type="Const" version="opset1">
|
| 185 |
+
<data element_type="u8" shape="115" offset="622" size="115" />
|
| 186 |
+
<output>
|
| 187 |
+
<port id="0" precision="U8">
|
| 188 |
+
<dim>115</dim>
|
| 189 |
+
</port>
|
| 190 |
+
</output>
|
| 191 |
+
</layer>
|
| 192 |
+
<layer id="17" name="RegexSplit_129560" type="RegexSplit" version="extension">
|
| 193 |
+
<data behaviour="isolate" invert="false" max_splits="-1" />
|
| 194 |
+
<input>
|
| 195 |
+
<port id="0" precision="I32">
|
| 196 |
+
<dim>-1</dim>
|
| 197 |
+
</port>
|
| 198 |
+
<port id="1" precision="I32">
|
| 199 |
+
<dim>-1</dim>
|
| 200 |
+
</port>
|
| 201 |
+
<port id="2" precision="I32">
|
| 202 |
+
<dim>-1</dim>
|
| 203 |
+
</port>
|
| 204 |
+
<port id="3" precision="I32">
|
| 205 |
+
<dim>-1</dim>
|
| 206 |
+
</port>
|
| 207 |
+
<port id="4" precision="U8">
|
| 208 |
+
<dim>-1</dim>
|
| 209 |
+
</port>
|
| 210 |
+
<port id="5" precision="BOOL">
|
| 211 |
+
<dim>-1</dim>
|
| 212 |
+
</port>
|
| 213 |
+
<port id="6" precision="U8">
|
| 214 |
+
<dim>115</dim>
|
| 215 |
+
</port>
|
| 216 |
+
</input>
|
| 217 |
+
<output>
|
| 218 |
+
<port id="7" precision="I32">
|
| 219 |
+
<dim>-1</dim>
|
| 220 |
+
</port>
|
| 221 |
+
<port id="8" precision="I32">
|
| 222 |
+
<dim>-1</dim>
|
| 223 |
+
</port>
|
| 224 |
+
<port id="9" precision="I32">
|
| 225 |
+
<dim>-1</dim>
|
| 226 |
+
</port>
|
| 227 |
+
<port id="10" precision="I32">
|
| 228 |
+
<dim>-1</dim>
|
| 229 |
+
</port>
|
| 230 |
+
<port id="11" precision="U8">
|
| 231 |
+
<dim>-1</dim>
|
| 232 |
+
</port>
|
| 233 |
+
<port id="12" precision="BOOL">
|
| 234 |
+
<dim>-1</dim>
|
| 235 |
+
</port>
|
| 236 |
+
</output>
|
| 237 |
+
</layer>
|
| 238 |
+
<layer id="18" name="Constant_129562" type="Const" version="opset1">
|
| 239 |
+
<data element_type="i32" shape="59282" offset="737" size="237128" />
|
| 240 |
+
<output>
|
| 241 |
+
<port id="0" precision="I32">
|
| 242 |
+
<dim>59282</dim>
|
| 243 |
+
</port>
|
| 244 |
+
</output>
|
| 245 |
+
</layer>
|
| 246 |
+
<layer id="19" name="Constant_129564" type="Const" version="opset1">
|
| 247 |
+
<data element_type="i32" shape="59282" offset="237865" size="237128" />
|
| 248 |
+
<output>
|
| 249 |
+
<port id="0" precision="I32">
|
| 250 |
+
<dim>59282</dim>
|
| 251 |
+
</port>
|
| 252 |
+
</output>
|
| 253 |
+
</layer>
|
| 254 |
+
<layer id="20" name="Constant_129566" type="Const" version="opset1">
|
| 255 |
+
<data element_type="u8" shape="354465" offset="474993" size="354465" />
|
| 256 |
+
<output>
|
| 257 |
+
<port id="0" precision="U8">
|
| 258 |
+
<dim>354465</dim>
|
| 259 |
+
</port>
|
| 260 |
+
</output>
|
| 261 |
+
</layer>
|
| 262 |
+
<layer id="21" name="Constant_129574" type="Const" version="opset1">
|
| 263 |
+
<data element_type="i32" shape="106026" offset="829458" size="424104" />
|
| 264 |
+
<output>
|
| 265 |
+
<port id="0" precision="I32">
|
| 266 |
+
<dim>106026</dim>
|
| 267 |
+
</port>
|
| 268 |
+
</output>
|
| 269 |
+
</layer>
|
| 270 |
+
<layer id="22" name="Constant_129576" type="Const" version="opset1">
|
| 271 |
+
<data element_type="i32" shape="106026" offset="1253562" size="424104" />
|
| 272 |
+
<output>
|
| 273 |
+
<port id="0" precision="I32">
|
| 274 |
+
<dim>106026</dim>
|
| 275 |
+
</port>
|
| 276 |
+
</output>
|
| 277 |
+
</layer>
|
| 278 |
+
<layer id="23" name="Constant_129578" type="Const" version="opset1">
|
| 279 |
+
<data element_type="u8" shape="361704" offset="1677666" size="361704" />
|
| 280 |
+
<output>
|
| 281 |
+
<port id="0" precision="U8">
|
| 282 |
+
<dim>361704</dim>
|
| 283 |
+
</port>
|
| 284 |
+
</output>
|
| 285 |
+
</layer>
|
| 286 |
+
<layer id="24" name="Constant_129580" type="Const" version="opset1">
|
| 287 |
+
<data element_type="i32" shape="106026" offset="2039370" size="424104" />
|
| 288 |
+
<output>
|
| 289 |
+
<port id="0" precision="I32">
|
| 290 |
+
<dim>106026</dim>
|
| 291 |
+
</port>
|
| 292 |
+
</output>
|
| 293 |
+
</layer>
|
| 294 |
+
<layer id="25" name="Constant_129582" type="Const" version="opset1">
|
| 295 |
+
<data element_type="i32" shape="106026" offset="2463474" size="424104" />
|
| 296 |
+
<output>
|
| 297 |
+
<port id="0" precision="I32">
|
| 298 |
+
<dim>106026</dim>
|
| 299 |
+
</port>
|
| 300 |
+
</output>
|
| 301 |
+
</layer>
|
| 302 |
+
<layer id="26" name="Constant_129584" type="Const" version="opset1">
|
| 303 |
+
<data element_type="u8" shape="346609" offset="2887578" size="346609" />
|
| 304 |
+
<output>
|
| 305 |
+
<port id="0" precision="U8">
|
| 306 |
+
<dim>346609</dim>
|
| 307 |
+
</port>
|
| 308 |
+
</output>
|
| 309 |
+
</layer>
|
| 310 |
+
<layer id="27" name="Constant_129568" type="Const" version="opset1">
|
| 311 |
+
<data element_type="i32" shape="36" offset="3234187" size="144" />
|
| 312 |
+
<output>
|
| 313 |
+
<port id="0" precision="I32">
|
| 314 |
+
<dim>36</dim>
|
| 315 |
+
</port>
|
| 316 |
+
</output>
|
| 317 |
+
</layer>
|
| 318 |
+
<layer id="28" name="Constant_129570" type="Const" version="opset1">
|
| 319 |
+
<data element_type="i32" shape="36" offset="3234331" size="144" />
|
| 320 |
+
<output>
|
| 321 |
+
<port id="0" precision="I32">
|
| 322 |
+
<dim>36</dim>
|
| 323 |
+
</port>
|
| 324 |
+
</output>
|
| 325 |
+
</layer>
|
| 326 |
+
<layer id="29" name="Constant_129572" type="Const" version="opset1">
|
| 327 |
+
<data element_type="u8" shape="453" offset="3234475" size="453" />
|
| 328 |
+
<output>
|
| 329 |
+
<port id="0" precision="U8">
|
| 330 |
+
<dim>453</dim>
|
| 331 |
+
</port>
|
| 332 |
+
</output>
|
| 333 |
+
</layer>
|
| 334 |
+
<layer id="30" name="Constant_129585" type="Const" version="opset1">
|
| 335 |
+
<data element_type="i32" shape="36" offset="3234928" size="144" />
|
| 336 |
+
<output>
|
| 337 |
+
<port id="0" precision="I32">
|
| 338 |
+
<dim>36</dim>
|
| 339 |
+
</port>
|
| 340 |
+
</output>
|
| 341 |
+
</layer>
|
| 342 |
+
<layer id="31" name="BPETokenizer_129586" type="BPETokenizer" version="extension">
|
| 343 |
+
<data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="20000" />
|
| 344 |
+
<input>
|
| 345 |
+
<port id="0" precision="I32">
|
| 346 |
+
<dim>-1</dim>
|
| 347 |
+
</port>
|
| 348 |
+
<port id="1" precision="I32">
|
| 349 |
+
<dim>-1</dim>
|
| 350 |
+
</port>
|
| 351 |
+
<port id="2" precision="I32">
|
| 352 |
+
<dim>-1</dim>
|
| 353 |
+
</port>
|
| 354 |
+
<port id="3" precision="I32">
|
| 355 |
+
<dim>-1</dim>
|
| 356 |
+
</port>
|
| 357 |
+
<port id="4" precision="U8">
|
| 358 |
+
<dim>-1</dim>
|
| 359 |
+
</port>
|
| 360 |
+
<port id="5" precision="I32">
|
| 361 |
+
<dim>59282</dim>
|
| 362 |
+
</port>
|
| 363 |
+
<port id="6" precision="I32">
|
| 364 |
+
<dim>59282</dim>
|
| 365 |
+
</port>
|
| 366 |
+
<port id="7" precision="U8">
|
| 367 |
+
<dim>354465</dim>
|
| 368 |
+
</port>
|
| 369 |
+
<port id="8" precision="I32">
|
| 370 |
+
<dim>106026</dim>
|
| 371 |
+
</port>
|
| 372 |
+
<port id="9" precision="I32">
|
| 373 |
+
<dim>106026</dim>
|
| 374 |
+
</port>
|
| 375 |
+
<port id="10" precision="U8">
|
| 376 |
+
<dim>361704</dim>
|
| 377 |
+
</port>
|
| 378 |
+
<port id="11" precision="I32">
|
| 379 |
+
<dim>106026</dim>
|
| 380 |
+
</port>
|
| 381 |
+
<port id="12" precision="I32">
|
| 382 |
+
<dim>106026</dim>
|
| 383 |
+
</port>
|
| 384 |
+
<port id="13" precision="U8">
|
| 385 |
+
<dim>346609</dim>
|
| 386 |
+
</port>
|
| 387 |
+
<port id="14" precision="I32">
|
| 388 |
+
<dim>36</dim>
|
| 389 |
+
</port>
|
| 390 |
+
<port id="15" precision="I32">
|
| 391 |
+
<dim>36</dim>
|
| 392 |
+
</port>
|
| 393 |
+
<port id="16" precision="U8">
|
| 394 |
+
<dim>453</dim>
|
| 395 |
+
</port>
|
| 396 |
+
<port id="17" precision="I32">
|
| 397 |
+
<dim>36</dim>
|
| 398 |
+
</port>
|
| 399 |
+
</input>
|
| 400 |
+
<output>
|
| 401 |
+
<port id="18" precision="I32">
|
| 402 |
+
<dim>-1</dim>
|
| 403 |
+
</port>
|
| 404 |
+
<port id="19" precision="I32">
|
| 405 |
+
<dim>-1</dim>
|
| 406 |
+
</port>
|
| 407 |
+
<port id="20" precision="I32">
|
| 408 |
+
<dim>-1</dim>
|
| 409 |
+
</port>
|
| 410 |
+
</output>
|
| 411 |
+
</layer>
|
| 412 |
+
<layer id="32" name="Constant_129587" type="Const" version="opset1">
|
| 413 |
+
<data element_type="i32" shape="" offset="3235072" size="4" />
|
| 414 |
+
<output>
|
| 415 |
+
<port id="0" precision="I32" />
|
| 416 |
+
</output>
|
| 417 |
+
</layer>
|
| 418 |
+
<layer id="33" name="Constant_129589" type="Const" version="opset1">
|
| 419 |
+
<data element_type="u8" shape="4" offset="3235076" size="4" />
|
| 420 |
+
<output>
|
| 421 |
+
<port id="0" precision="U8">
|
| 422 |
+
<dim>4</dim>
|
| 423 |
+
</port>
|
| 424 |
+
</output>
|
| 425 |
+
</layer>
|
| 426 |
+
<layer id="34" name="Constant_129591" type="Const" version="opset1">
|
| 427 |
+
<data element_type="u8" shape="13" offset="3235080" size="13" />
|
| 428 |
+
<output>
|
| 429 |
+
<port id="0" precision="U8">
|
| 430 |
+
<dim>13</dim>
|
| 431 |
+
</port>
|
| 432 |
+
</output>
|
| 433 |
+
</layer>
|
| 434 |
+
<layer id="35" name="Truncate_129592" type="Truncate" version="extension">
|
| 435 |
+
<data m_num_inputs="1" />
|
| 436 |
+
<input>
|
| 437 |
+
<port id="0" precision="I32">
|
| 438 |
+
<dim>-1</dim>
|
| 439 |
+
</port>
|
| 440 |
+
<port id="1" precision="I32">
|
| 441 |
+
<dim>-1</dim>
|
| 442 |
+
</port>
|
| 443 |
+
<port id="2" precision="I32">
|
| 444 |
+
<dim>-1</dim>
|
| 445 |
+
</port>
|
| 446 |
+
<port id="3" precision="I32" />
|
| 447 |
+
<port id="4" precision="U8">
|
| 448 |
+
<dim>4</dim>
|
| 449 |
+
</port>
|
| 450 |
+
<port id="5" precision="U8">
|
| 451 |
+
<dim>13</dim>
|
| 452 |
+
</port>
|
| 453 |
+
</input>
|
| 454 |
+
<output>
|
| 455 |
+
<port id="6" precision="I32">
|
| 456 |
+
<dim>-1</dim>
|
| 457 |
+
</port>
|
| 458 |
+
<port id="7" precision="I32">
|
| 459 |
+
<dim>-1</dim>
|
| 460 |
+
</port>
|
| 461 |
+
<port id="8" precision="I32">
|
| 462 |
+
<dim>-1</dim>
|
| 463 |
+
</port>
|
| 464 |
+
</output>
|
| 465 |
+
</layer>
|
| 466 |
+
<layer id="36" name="Constant_129593" type="Const" version="opset1">
|
| 467 |
+
<data element_type="i32" shape="1" offset="3235093" size="4" />
|
| 468 |
+
<output>
|
| 469 |
+
<port id="0" precision="I32">
|
| 470 |
+
<dim>1</dim>
|
| 471 |
+
</port>
|
| 472 |
+
</output>
|
| 473 |
+
</layer>
|
| 474 |
+
<layer id="37" name="CombineSegments_129594" type="CombineSegments" version="extension">
|
| 475 |
+
<input>
|
| 476 |
+
<port id="0" precision="I32">
|
| 477 |
+
<dim>-1</dim>
|
| 478 |
+
</port>
|
| 479 |
+
<port id="1" precision="I32">
|
| 480 |
+
<dim>-1</dim>
|
| 481 |
+
</port>
|
| 482 |
+
<port id="2" precision="I32">
|
| 483 |
+
<dim>-1</dim>
|
| 484 |
+
</port>
|
| 485 |
+
<port id="3" precision="I32">
|
| 486 |
+
<dim>1</dim>
|
| 487 |
+
</port>
|
| 488 |
+
</input>
|
| 489 |
+
<output>
|
| 490 |
+
<port id="4" precision="I32">
|
| 491 |
+
<dim>-1</dim>
|
| 492 |
+
</port>
|
| 493 |
+
<port id="5" precision="I32">
|
| 494 |
+
<dim>-1</dim>
|
| 495 |
+
</port>
|
| 496 |
+
<port id="6" precision="I32">
|
| 497 |
+
<dim>-1</dim>
|
| 498 |
+
</port>
|
| 499 |
+
<port id="7" precision="I32">
|
| 500 |
+
<dim>-1</dim>
|
| 501 |
+
</port>
|
| 502 |
+
<port id="8" precision="I32">
|
| 503 |
+
<dim>-1</dim>
|
| 504 |
+
</port>
|
| 505 |
+
<port id="9" precision="I32">
|
| 506 |
+
<dim>-1</dim>
|
| 507 |
+
</port>
|
| 508 |
+
</output>
|
| 509 |
+
</layer>
|
| 510 |
+
<layer id="38" name="Subtract_129595" type="Subtract" version="opset1">
|
| 511 |
+
<data auto_broadcast="numpy" />
|
| 512 |
+
<input>
|
| 513 |
+
<port id="0" precision="I32">
|
| 514 |
+
<dim>-1</dim>
|
| 515 |
+
</port>
|
| 516 |
+
<port id="1" precision="I32">
|
| 517 |
+
<dim>-1</dim>
|
| 518 |
+
</port>
|
| 519 |
+
</input>
|
| 520 |
+
<output>
|
| 521 |
+
<port id="2" precision="I32">
|
| 522 |
+
<dim>-1</dim>
|
| 523 |
+
</port>
|
| 524 |
+
</output>
|
| 525 |
+
</layer>
|
| 526 |
+
<layer id="39" name="Constant_129596" type="Const" version="opset1">
|
| 527 |
+
<data element_type="i32" shape="" offset="3235093" size="4" />
|
| 528 |
+
<output>
|
| 529 |
+
<port id="0" precision="I32" />
|
| 530 |
+
</output>
|
| 531 |
+
</layer>
|
| 532 |
+
<layer id="40" name="ReduceMax_129597" type="ReduceMax" version="opset1">
|
| 533 |
+
<data keep_dims="false" />
|
| 534 |
+
<input>
|
| 535 |
+
<port id="0" precision="I32">
|
| 536 |
+
<dim>-1</dim>
|
| 537 |
+
</port>
|
| 538 |
+
<port id="1" precision="I32" />
|
| 539 |
+
</input>
|
| 540 |
+
<output>
|
| 541 |
+
<port id="2" precision="I32" />
|
| 542 |
+
</output>
|
| 543 |
+
</layer>
|
| 544 |
+
<layer id="41" name="Constant_129598" type="Const" version="opset1">
|
| 545 |
+
<data element_type="i32" shape="" offset="3235097" size="4" />
|
| 546 |
+
<output>
|
| 547 |
+
<port id="0" precision="I32" />
|
| 548 |
+
</output>
|
| 549 |
+
</layer>
|
| 550 |
+
<layer id="42" name="RaggedToDense_129599" type="RaggedToDense" version="extension">
|
| 551 |
+
<data pad_right="false" m_pad_max_length="false" />
|
| 552 |
+
<input>
|
| 553 |
+
<port id="0" precision="I32">
|
| 554 |
+
<dim>-1</dim>
|
| 555 |
+
</port>
|
| 556 |
+
<port id="1" precision="I32">
|
| 557 |
+
<dim>-1</dim>
|
| 558 |
+
</port>
|
| 559 |
+
<port id="2" precision="I32">
|
| 560 |
+
<dim>-1</dim>
|
| 561 |
+
</port>
|
| 562 |
+
<port id="3" precision="I32" />
|
| 563 |
+
<port id="4" precision="I32" />
|
| 564 |
+
</input>
|
| 565 |
+
<output>
|
| 566 |
+
<port id="5" precision="I32">
|
| 567 |
+
<dim>-1</dim>
|
| 568 |
+
<dim>-1</dim>
|
| 569 |
+
</port>
|
| 570 |
+
<port id="6" precision="BOOL">
|
| 571 |
+
<dim>-1</dim>
|
| 572 |
+
<dim>-1</dim>
|
| 573 |
+
</port>
|
| 574 |
+
</output>
|
| 575 |
+
</layer>
|
| 576 |
+
<layer id="43" name="Convert_129600" type="Convert" version="opset1">
|
| 577 |
+
<data destination_type="i32" />
|
| 578 |
+
<input>
|
| 579 |
+
<port id="0" precision="BOOL">
|
| 580 |
+
<dim>-1</dim>
|
| 581 |
+
<dim>-1</dim>
|
| 582 |
+
</port>
|
| 583 |
+
</input>
|
| 584 |
+
<output>
|
| 585 |
+
<port id="1" precision="I32">
|
| 586 |
+
<dim>-1</dim>
|
| 587 |
+
<dim>-1</dim>
|
| 588 |
+
</port>
|
| 589 |
+
</output>
|
| 590 |
+
</layer>
|
| 591 |
+
<layer id="44" name="Convert_129600.0" type="Convert" version="opset1">
|
| 592 |
+
<data destination_type="i64" />
|
| 593 |
+
<input>
|
| 594 |
+
<port id="0" precision="I32">
|
| 595 |
+
<dim>-1</dim>
|
| 596 |
+
<dim>-1</dim>
|
| 597 |
+
</port>
|
| 598 |
+
</input>
|
| 599 |
+
<output>
|
| 600 |
+
<port id="1" precision="I64" names="attention_mask">
|
| 601 |
+
<dim>-1</dim>
|
| 602 |
+
<dim>-1</dim>
|
| 603 |
+
</port>
|
| 604 |
+
</output>
|
| 605 |
+
</layer>
|
| 606 |
+
<layer id="45" name="RaggedToDense_129599.0" type="Convert" version="opset1">
|
| 607 |
+
<data destination_type="i64" />
|
| 608 |
+
<input>
|
| 609 |
+
<port id="0" precision="I32">
|
| 610 |
+
<dim>-1</dim>
|
| 611 |
+
<dim>-1</dim>
|
| 612 |
+
</port>
|
| 613 |
+
</input>
|
| 614 |
+
<output>
|
| 615 |
+
<port id="1" precision="I64" names="input_ids">
|
| 616 |
+
<dim>-1</dim>
|
| 617 |
+
<dim>-1</dim>
|
| 618 |
+
</port>
|
| 619 |
+
</output>
|
| 620 |
+
</layer>
|
| 621 |
+
<layer id="46" name="Result_129603" type="Result" version="opset1" output_names="input_ids">
|
| 622 |
+
<input>
|
| 623 |
+
<port id="0" precision="I64">
|
| 624 |
+
<dim>-1</dim>
|
| 625 |
+
<dim>-1</dim>
|
| 626 |
+
</port>
|
| 627 |
+
</input>
|
| 628 |
+
</layer>
|
| 629 |
+
<layer id="47" name="Result_129605" type="Result" version="opset1" output_names="attention_mask">
|
| 630 |
+
<input>
|
| 631 |
+
<port id="0" precision="I64">
|
| 632 |
+
<dim>-1</dim>
|
| 633 |
+
<dim>-1</dim>
|
| 634 |
+
</port>
|
| 635 |
+
</input>
|
| 636 |
+
</layer>
|
| 637 |
+
</layers>
|
| 638 |
+
<edges>
|
| 639 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
| 640 |
+
<edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
|
| 641 |
+
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
|
| 642 |
+
<edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
|
| 643 |
+
<edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
|
| 644 |
+
<edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
|
| 645 |
+
<edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
|
| 646 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
|
| 647 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
|
| 648 |
+
<edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
|
| 649 |
+
<edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
|
| 650 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
|
| 651 |
+
<edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
|
| 652 |
+
<edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
|
| 653 |
+
<edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
|
| 654 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
|
| 655 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
|
| 656 |
+
<edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
|
| 657 |
+
<edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
|
| 658 |
+
<edge from-layer="15" from-port="6" to-layer="17" to-port="0" />
|
| 659 |
+
<edge from-layer="15" from-port="7" to-layer="17" to-port="1" />
|
| 660 |
+
<edge from-layer="15" from-port="8" to-layer="17" to-port="2" />
|
| 661 |
+
<edge from-layer="15" from-port="9" to-layer="17" to-port="3" />
|
| 662 |
+
<edge from-layer="15" from-port="10" to-layer="17" to-port="4" />
|
| 663 |
+
<edge from-layer="15" from-port="11" to-layer="17" to-port="5" />
|
| 664 |
+
<edge from-layer="16" from-port="0" to-layer="17" to-port="6" />
|
| 665 |
+
<edge from-layer="17" from-port="7" to-layer="31" to-port="0" />
|
| 666 |
+
<edge from-layer="17" from-port="8" to-layer="31" to-port="1" />
|
| 667 |
+
<edge from-layer="17" from-port="9" to-layer="31" to-port="2" />
|
| 668 |
+
<edge from-layer="17" from-port="10" to-layer="31" to-port="3" />
|
| 669 |
+
<edge from-layer="17" from-port="11" to-layer="31" to-port="4" />
|
| 670 |
+
<edge from-layer="18" from-port="0" to-layer="31" to-port="5" />
|
| 671 |
+
<edge from-layer="19" from-port="0" to-layer="31" to-port="6" />
|
| 672 |
+
<edge from-layer="20" from-port="0" to-layer="31" to-port="7" />
|
| 673 |
+
<edge from-layer="21" from-port="0" to-layer="31" to-port="8" />
|
| 674 |
+
<edge from-layer="22" from-port="0" to-layer="31" to-port="9" />
|
| 675 |
+
<edge from-layer="23" from-port="0" to-layer="31" to-port="10" />
|
| 676 |
+
<edge from-layer="24" from-port="0" to-layer="31" to-port="11" />
|
| 677 |
+
<edge from-layer="25" from-port="0" to-layer="31" to-port="12" />
|
| 678 |
+
<edge from-layer="26" from-port="0" to-layer="31" to-port="13" />
|
| 679 |
+
<edge from-layer="27" from-port="0" to-layer="31" to-port="14" />
|
| 680 |
+
<edge from-layer="28" from-port="0" to-layer="31" to-port="15" />
|
| 681 |
+
<edge from-layer="29" from-port="0" to-layer="31" to-port="16" />
|
| 682 |
+
<edge from-layer="30" from-port="0" to-layer="31" to-port="17" />
|
| 683 |
+
<edge from-layer="31" from-port="18" to-layer="35" to-port="0" />
|
| 684 |
+
<edge from-layer="31" from-port="19" to-layer="35" to-port="1" />
|
| 685 |
+
<edge from-layer="31" from-port="20" to-layer="35" to-port="2" />
|
| 686 |
+
<edge from-layer="32" from-port="0" to-layer="35" to-port="3" />
|
| 687 |
+
<edge from-layer="33" from-port="0" to-layer="35" to-port="4" />
|
| 688 |
+
<edge from-layer="34" from-port="0" to-layer="35" to-port="5" />
|
| 689 |
+
<edge from-layer="35" from-port="6" to-layer="37" to-port="0" />
|
| 690 |
+
<edge from-layer="35" from-port="7" to-layer="37" to-port="1" />
|
| 691 |
+
<edge from-layer="35" from-port="8" to-layer="37" to-port="2" />
|
| 692 |
+
<edge from-layer="36" from-port="0" to-layer="37" to-port="3" />
|
| 693 |
+
<edge from-layer="37" from-port="5" to-layer="38" to-port="0" />
|
| 694 |
+
<edge from-layer="37" from-port="4" to-layer="38" to-port="1" />
|
| 695 |
+
<edge from-layer="37" from-port="4" to-layer="42" to-port="0" />
|
| 696 |
+
<edge from-layer="37" from-port="5" to-layer="42" to-port="1" />
|
| 697 |
+
<edge from-layer="37" from-port="6" to-layer="42" to-port="2" />
|
| 698 |
+
<edge from-layer="38" from-port="2" to-layer="40" to-port="0" />
|
| 699 |
+
<edge from-layer="39" from-port="0" to-layer="40" to-port="1" />
|
| 700 |
+
<edge from-layer="40" from-port="2" to-layer="42" to-port="3" />
|
| 701 |
+
<edge from-layer="41" from-port="0" to-layer="42" to-port="4" />
|
| 702 |
+
<edge from-layer="42" from-port="6" to-layer="43" to-port="0" />
|
| 703 |
+
<edge from-layer="42" from-port="5" to-layer="45" to-port="0" />
|
| 704 |
+
<edge from-layer="43" from-port="1" to-layer="44" to-port="0" />
|
| 705 |
+
<edge from-layer="44" from-port="1" to-layer="47" to-port="0" />
|
| 706 |
+
<edge from-layer="45" from-port="1" to-layer="46" to-port="0" />
|
| 707 |
+
</edges>
|
| 708 |
+
<rt_info>
|
| 709 |
+
<info name="OpenVINO Runtime" value="2026.3.0-22067-7fe2854a671" />
|
| 710 |
+
<add_attention_mask value="True" />
|
| 711 |
+
<add_prefix_space />
|
| 712 |
+
<add_special_tokens value="True" />
|
| 713 |
+
<chat_template value="[gMASK]<sop> {%- if tools -%} <|system|> # Tools You may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {% for tool in tools %} {{ tool | tojson(ensure_ascii=False) }} {% endfor %} </tools> For each function call, output the function name and arguments within the following XML format: <tool_call>{function-name} <arg_key>{arg-key-1}</arg_key> <arg_value>{arg-value-1}</arg_value> <arg_key>{arg-key-2}</arg_key> <arg_value>{arg-value-2}</arg_value> ... </tool_call>{%- endif -%} {%- macro visible_text(content) -%} {%- if content is string -%} {{- content }} {%- elif content is iterable and content is not mapping -%} {%- for item in content -%} {%- if item is mapping and item.type == 'text' -%} {{- item.text }} {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%} <|begin_of_image|><|image|><|end_of_image|> {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%} <|begin_of_video|><|video|><|end_of_video|> {%- elif item is string -%} {{- item }} {%- endif -%} {%- endfor -%} {%- else -%} {{- content }} {%- endif -%} {%- endmacro -%} {%- set ns = namespace(last_user_index=-1) %} {%- for m in messages %} {%- if m.role == 'user' %} {% set ns.last_user_index = loop.index0 -%} {%- endif %} {%- endfor %} {% for m in messages %} {%- if m.role == 'user' -%}<|user|> {% if m.content is string %} {{ m.content }} {%- else %} {%- for item in m.content %} {% if item.type == 'video' or 'video' in item %} <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %} <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %} {{ item.text }} {%- endif %} {%- endfor %} {%- endif %} {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}} {%- elif m.role == 'assistant' -%} <|assistant|> {%- set reasoning_content = '' %} {%- set content = visible_text(m.content) %} {%- if m.reasoning_content is string %} {%- set reasoning_content = m.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_user_index and reasoning_content -%} {{ '\n<think>' + reasoning_content.strip() + '</think>'}} {%- else -%} {{ '\n<think></think>' }} {%- endif -%} {%- if content.strip() -%} {{ '\n' + content.strip() }} {%- endif -%} {% if m.tool_calls %} {% for tc in m.tool_calls %} {%- if tc.function %} {%- set tc = tc.function %} {%- endif %} {{ '\n<tool_call>' + tc.name }} {% set _args = tc.arguments %} {% for k, v in _args.items() %} <arg_key>{{ k }}</arg_key> <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value> {% endfor %} </tool_call>{% endfor %} {% endif %} {%- elif m.role == 'tool' -%} {%- if m.content is string -%} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|observation|>' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- m.content }} {{- '\n</tool_response>' }} {% elif m.content is iterable and m.content is not mapping %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|observation|>' }} {%- endif %} {{- '\n<tool_response>\n' }} {%- for tr in m.content -%} {%- if tr is mapping and tr.type is defined -%} {%- set t = tr.type | lower -%} {%- if t == 'text' and tr.text is defined -%} {{ tr.text }} {%- elif t in ['image', 'image_url'] -%} <|begin_of_image|><|image|><|end_of_image|> {%- elif t in ['video', 'video_url'] -%} <|begin_of_video|><|video|><|end_of_video|> {%- else -%} {{ tr | tojson(ensure_ascii=False) }} {%- endif -%} {%- else -%} {{ tr.output if tr.output is defined else tr }} {%- endif -%} {%- endfor -%} {{- '\n</tool_response>' }} {%- else -%} <|observation|>{% for tr in m.content %} <tool_response> {{ tr.output if tr.output is defined else tr }} </tool_response>{% endfor -%} {% endif -%} {%- elif m.role == 'system' -%} <|system|> {{ visible_text(m.content) }} {%- endif -%} {%- endfor -%} {%- if add_generation_prompt -%} <|assistant|> {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}} {%- endif -%} " />
|
| 714 |
+
<clean_up_tokenization_spaces />
|
| 715 |
+
<detokenizer_input_type value="i64" />
|
| 716 |
+
<eos_token_id value="59246" />
|
| 717 |
+
<handle_special_tokens_with_re />
|
| 718 |
+
<max_length />
|
| 719 |
+
<number_of_inputs value="1" />
|
| 720 |
+
<openvino_tokenizers_version value="2026.3.0.0-683-6d28e696dfa" />
|
| 721 |
+
<openvino_version value="2026.3.0-22067-7fe2854a671" />
|
| 722 |
+
<original_post_processor_template value="{"type": "Sequence", "processors": [{"type": "ByteLevel", "add_prefix_space": true, "trim_offsets": false, "use_regex": true}]}" />
|
| 723 |
+
<original_tokenizer_class value="<class 'transformers.tokenization_utils_tokenizers.TokenizersBackend'>" />
|
| 724 |
+
<pad_token_id value="59246" />
|
| 725 |
+
<processed_post_processor_template value="{"single": {"ids": [-1], "type_ids": [0]}, "pair": {"ids": [-1, -2], "type_ids": [0, 0]}}" />
|
| 726 |
+
<sentencepiece_version value="0.2.0" />
|
| 727 |
+
<skip_special_tokens value="True" />
|
| 728 |
+
<streaming_detokenizer value="False" />
|
| 729 |
+
<tiktoken_version value="0.12.0" />
|
| 730 |
+
<tokenizer_output_type value="i64" />
|
| 731 |
+
<tokenizers_version value="0.22.2" />
|
| 732 |
+
<transformers_version value="5.5.4" />
|
| 733 |
+
<use_max_padding value="False" />
|
| 734 |
+
<use_sentencepiece_backend value="False" />
|
| 735 |
+
<utf8_replace_mode value="replace" />
|
| 736 |
+
<with_detokenizer value="True" />
|
| 737 |
+
</rt_info>
|
| 738 |
+
</net>
|
openvino_vision_embeddings_merger_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47c3c7bba980d1be5a3cab63490a1df45501223025029e0fb3950af957542ef3
|
| 3 |
+
size 434074868
|
openvino_vision_embeddings_merger_model.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openvino_vision_embeddings_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37cd2e2f3c439922a6bedc8a7cc76063b73833ab8e09c841029fbcbf36d9eea0
|
| 3 |
+
size 1210424
|
openvino_vision_embeddings_model.xml
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="Model3" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="hidden_states" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="?,?" element_type="f32" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="FP32" names="hidden_states">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
<dim>-1</dim>
|
| 10 |
+
</port>
|
| 11 |
+
</output>
|
| 12 |
+
</layer>
|
| 13 |
+
<layer id="1" name="Constant_84086" type="Const" version="opset1">
|
| 14 |
+
<data element_type="i64" shape="5" offset="0" size="40" />
|
| 15 |
+
<output>
|
| 16 |
+
<port id="0" precision="I64">
|
| 17 |
+
<dim>5</dim>
|
| 18 |
+
</port>
|
| 19 |
+
</output>
|
| 20 |
+
</layer>
|
| 21 |
+
<layer id="2" name="aten::view/Reshape" type="Reshape" version="opset1">
|
| 22 |
+
<data special_zero="false" />
|
| 23 |
+
<input>
|
| 24 |
+
<port id="0" precision="FP32">
|
| 25 |
+
<dim>-1</dim>
|
| 26 |
+
<dim>-1</dim>
|
| 27 |
+
</port>
|
| 28 |
+
<port id="1" precision="I64">
|
| 29 |
+
<dim>5</dim>
|
| 30 |
+
</port>
|
| 31 |
+
</input>
|
| 32 |
+
<output>
|
| 33 |
+
<port id="2" precision="FP32" names="14,9,hidden_states_1,input">
|
| 34 |
+
<dim>-1</dim>
|
| 35 |
+
<dim>3</dim>
|
| 36 |
+
<dim>2</dim>
|
| 37 |
+
<dim>14</dim>
|
| 38 |
+
<dim>14</dim>
|
| 39 |
+
</port>
|
| 40 |
+
</output>
|
| 41 |
+
</layer>
|
| 42 |
+
<layer id="3" name="self.proj.weight" type="Const" version="opset1">
|
| 43 |
+
<data element_type="i8" shape="1024, 3, 2, 14, 14" offset="40" size="1204224" />
|
| 44 |
+
<output>
|
| 45 |
+
<port id="0" precision="I8">
|
| 46 |
+
<dim>1024</dim>
|
| 47 |
+
<dim>3</dim>
|
| 48 |
+
<dim>2</dim>
|
| 49 |
+
<dim>14</dim>
|
| 50 |
+
<dim>14</dim>
|
| 51 |
+
</port>
|
| 52 |
+
</output>
|
| 53 |
+
</layer>
|
| 54 |
+
<layer id="4" name="Convert_664579" type="Convert" version="opset1">
|
| 55 |
+
<data destination_type="f16" />
|
| 56 |
+
<input>
|
| 57 |
+
<port id="0" precision="I8">
|
| 58 |
+
<dim>1024</dim>
|
| 59 |
+
<dim>3</dim>
|
| 60 |
+
<dim>2</dim>
|
| 61 |
+
<dim>14</dim>
|
| 62 |
+
<dim>14</dim>
|
| 63 |
+
</port>
|
| 64 |
+
</input>
|
| 65 |
+
<output>
|
| 66 |
+
<port id="1" precision="FP16">
|
| 67 |
+
<dim>1024</dim>
|
| 68 |
+
<dim>3</dim>
|
| 69 |
+
<dim>2</dim>
|
| 70 |
+
<dim>14</dim>
|
| 71 |
+
<dim>14</dim>
|
| 72 |
+
</port>
|
| 73 |
+
</output>
|
| 74 |
+
</layer>
|
| 75 |
+
<layer id="5" name="self.proj.weight/scale" type="Const" version="opset1">
|
| 76 |
+
<data element_type="f16" shape="1024, 1, 1, 1, 1" offset="1204264" size="2048" />
|
| 77 |
+
<output>
|
| 78 |
+
<port id="0" precision="FP16">
|
| 79 |
+
<dim>1024</dim>
|
| 80 |
+
<dim>1</dim>
|
| 81 |
+
<dim>1</dim>
|
| 82 |
+
<dim>1</dim>
|
| 83 |
+
<dim>1</dim>
|
| 84 |
+
</port>
|
| 85 |
+
</output>
|
| 86 |
+
</layer>
|
| 87 |
+
<layer id="6" name="self.proj.weight/fq_weights_1" type="Multiply" version="opset1">
|
| 88 |
+
<data auto_broadcast="numpy" />
|
| 89 |
+
<input>
|
| 90 |
+
<port id="0" precision="FP16">
|
| 91 |
+
<dim>1024</dim>
|
| 92 |
+
<dim>3</dim>
|
| 93 |
+
<dim>2</dim>
|
| 94 |
+
<dim>14</dim>
|
| 95 |
+
<dim>14</dim>
|
| 96 |
+
</port>
|
| 97 |
+
<port id="1" precision="FP16">
|
| 98 |
+
<dim>1024</dim>
|
| 99 |
+
<dim>1</dim>
|
| 100 |
+
<dim>1</dim>
|
| 101 |
+
<dim>1</dim>
|
| 102 |
+
<dim>1</dim>
|
| 103 |
+
</port>
|
| 104 |
+
</input>
|
| 105 |
+
<output>
|
| 106 |
+
<port id="2" precision="FP16">
|
| 107 |
+
<dim>1024</dim>
|
| 108 |
+
<dim>3</dim>
|
| 109 |
+
<dim>2</dim>
|
| 110 |
+
<dim>14</dim>
|
| 111 |
+
<dim>14</dim>
|
| 112 |
+
</port>
|
| 113 |
+
</output>
|
| 114 |
+
</layer>
|
| 115 |
+
<layer id="7" name="self.proj.weight/fq_weights_1/convert" type="Convert" version="opset1">
|
| 116 |
+
<data destination_type="f32" />
|
| 117 |
+
<input>
|
| 118 |
+
<port id="0" precision="FP16">
|
| 119 |
+
<dim>1024</dim>
|
| 120 |
+
<dim>3</dim>
|
| 121 |
+
<dim>2</dim>
|
| 122 |
+
<dim>14</dim>
|
| 123 |
+
<dim>14</dim>
|
| 124 |
+
</port>
|
| 125 |
+
</input>
|
| 126 |
+
<output>
|
| 127 |
+
<port id="1" precision="FP32">
|
| 128 |
+
<dim>1024</dim>
|
| 129 |
+
<dim>3</dim>
|
| 130 |
+
<dim>2</dim>
|
| 131 |
+
<dim>14</dim>
|
| 132 |
+
<dim>14</dim>
|
| 133 |
+
</port>
|
| 134 |
+
</output>
|
| 135 |
+
</layer>
|
| 136 |
+
<layer id="8" name="__module.proj/aten::_convolution/Convolution" type="Convolution" version="opset1">
|
| 137 |
+
<data strides="2, 14, 14" dilations="1, 1, 1" pads_begin="0, 0, 0" pads_end="0, 0, 0" auto_pad="explicit" />
|
| 138 |
+
<input>
|
| 139 |
+
<port id="0" precision="FP32">
|
| 140 |
+
<dim>-1</dim>
|
| 141 |
+
<dim>3</dim>
|
| 142 |
+
<dim>2</dim>
|
| 143 |
+
<dim>14</dim>
|
| 144 |
+
<dim>14</dim>
|
| 145 |
+
</port>
|
| 146 |
+
<port id="1" precision="FP32">
|
| 147 |
+
<dim>1024</dim>
|
| 148 |
+
<dim>3</dim>
|
| 149 |
+
<dim>2</dim>
|
| 150 |
+
<dim>14</dim>
|
| 151 |
+
<dim>14</dim>
|
| 152 |
+
</port>
|
| 153 |
+
</input>
|
| 154 |
+
<output>
|
| 155 |
+
<port id="2" precision="FP32">
|
| 156 |
+
<dim>-1</dim>
|
| 157 |
+
<dim>1024</dim>
|
| 158 |
+
<dim>1</dim>
|
| 159 |
+
<dim>1</dim>
|
| 160 |
+
<dim>1</dim>
|
| 161 |
+
</port>
|
| 162 |
+
</output>
|
| 163 |
+
</layer>
|
| 164 |
+
<layer id="9" name="__module.proj/aten::_convolution/Reshape" type="Const" version="opset1">
|
| 165 |
+
<data element_type="f32" shape="1, 1024, 1, 1, 1" offset="1206312" size="4096" />
|
| 166 |
+
<output>
|
| 167 |
+
<port id="0" precision="FP32">
|
| 168 |
+
<dim>1</dim>
|
| 169 |
+
<dim>1024</dim>
|
| 170 |
+
<dim>1</dim>
|
| 171 |
+
<dim>1</dim>
|
| 172 |
+
<dim>1</dim>
|
| 173 |
+
</port>
|
| 174 |
+
</output>
|
| 175 |
+
</layer>
|
| 176 |
+
<layer id="10" name="__module.proj/aten::_convolution/Add" type="Add" version="opset1">
|
| 177 |
+
<data auto_broadcast="numpy" />
|
| 178 |
+
<input>
|
| 179 |
+
<port id="0" precision="FP32">
|
| 180 |
+
<dim>-1</dim>
|
| 181 |
+
<dim>1024</dim>
|
| 182 |
+
<dim>1</dim>
|
| 183 |
+
<dim>1</dim>
|
| 184 |
+
<dim>1</dim>
|
| 185 |
+
</port>
|
| 186 |
+
<port id="1" precision="FP32">
|
| 187 |
+
<dim>1</dim>
|
| 188 |
+
<dim>1024</dim>
|
| 189 |
+
<dim>1</dim>
|
| 190 |
+
<dim>1</dim>
|
| 191 |
+
<dim>1</dim>
|
| 192 |
+
</port>
|
| 193 |
+
</input>
|
| 194 |
+
<output>
|
| 195 |
+
<port id="2" precision="FP32" names="33">
|
| 196 |
+
<dim>-1</dim>
|
| 197 |
+
<dim>1024</dim>
|
| 198 |
+
<dim>1</dim>
|
| 199 |
+
<dim>1</dim>
|
| 200 |
+
<dim>1</dim>
|
| 201 |
+
</port>
|
| 202 |
+
</output>
|
| 203 |
+
</layer>
|
| 204 |
+
<layer id="11" name="Constant_84159" type="Const" version="opset1">
|
| 205 |
+
<data element_type="i64" shape="2" offset="1210408" size="16" />
|
| 206 |
+
<output>
|
| 207 |
+
<port id="0" precision="I64">
|
| 208 |
+
<dim>2</dim>
|
| 209 |
+
</port>
|
| 210 |
+
</output>
|
| 211 |
+
</layer>
|
| 212 |
+
<layer id="12" name="aten::view/Reshape_1" type="Reshape" version="opset1">
|
| 213 |
+
<data special_zero="false" />
|
| 214 |
+
<input>
|
| 215 |
+
<port id="0" precision="FP32">
|
| 216 |
+
<dim>-1</dim>
|
| 217 |
+
<dim>1024</dim>
|
| 218 |
+
<dim>1</dim>
|
| 219 |
+
<dim>1</dim>
|
| 220 |
+
<dim>1</dim>
|
| 221 |
+
</port>
|
| 222 |
+
<port id="1" precision="I64">
|
| 223 |
+
<dim>2</dim>
|
| 224 |
+
</port>
|
| 225 |
+
</input>
|
| 226 |
+
<output>
|
| 227 |
+
<port id="2" precision="FP32" names="last_hidden_state">
|
| 228 |
+
<dim>-1</dim>
|
| 229 |
+
<dim>1024</dim>
|
| 230 |
+
</port>
|
| 231 |
+
</output>
|
| 232 |
+
</layer>
|
| 233 |
+
<layer id="13" name="Result_84187" type="Result" version="opset1" output_names="last_hidden_state">
|
| 234 |
+
<input>
|
| 235 |
+
<port id="0" precision="FP32">
|
| 236 |
+
<dim>-1</dim>
|
| 237 |
+
<dim>1024</dim>
|
| 238 |
+
</port>
|
| 239 |
+
</input>
|
| 240 |
+
</layer>
|
| 241 |
+
</layers>
|
| 242 |
+
<edges>
|
| 243 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
| 244 |
+
<edge from-layer="1" from-port="0" to-layer="2" to-port="1" />
|
| 245 |
+
<edge from-layer="2" from-port="2" to-layer="8" to-port="0" />
|
| 246 |
+
<edge from-layer="3" from-port="0" to-layer="4" to-port="0" />
|
| 247 |
+
<edge from-layer="4" from-port="1" to-layer="6" to-port="0" />
|
| 248 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="1" />
|
| 249 |
+
<edge from-layer="6" from-port="2" to-layer="7" to-port="0" />
|
| 250 |
+
<edge from-layer="7" from-port="1" to-layer="8" to-port="1" />
|
| 251 |
+
<edge from-layer="8" from-port="2" to-layer="10" to-port="0" />
|
| 252 |
+
<edge from-layer="9" from-port="0" to-layer="10" to-port="1" />
|
| 253 |
+
<edge from-layer="10" from-port="2" to-layer="12" to-port="0" />
|
| 254 |
+
<edge from-layer="11" from-port="0" to-layer="12" to-port="1" />
|
| 255 |
+
<edge from-layer="12" from-port="2" to-layer="13" to-port="0" />
|
| 256 |
+
</edges>
|
| 257 |
+
<rt_info>
|
| 258 |
+
<info name="OpenVINO Runtime" value="2026.3.0-22067-7fe2854a671" />
|
| 259 |
+
<Runtime_version value="2026.3.0-22067-7fe2854a671" />
|
| 260 |
+
<conversion_parameters>
|
| 261 |
+
<framework value="pytorch" />
|
| 262 |
+
<is_python_object value="True" />
|
| 263 |
+
</conversion_parameters>
|
| 264 |
+
<nncf>
|
| 265 |
+
<friendly_names_were_updated value="True" />
|
| 266 |
+
<version value="3.2.0" />
|
| 267 |
+
<weight_compression>
|
| 268 |
+
<advanced_parameters value="{'statistics_path': None, 'lora_adapter_rank': 256, 'group_size_fallback_mode': 'error', 'min_adjusted_group_size': 32, 'awq_params': {'subset_size': 32, 'percent_to_apply': 0.002, 'alpha_min': 0.0, 'alpha_max': 1.0, 'steps': 100, 'prefer_data_aware_scaling': True}, 'scale_estimation_params': {'subset_size': 64, 'initial_steps': 5, 'scale_steps': 5, 'weight_penalty': -1.0}, 'gptq_params': {'damp_percent': 0.1, 'block_size': 128, 'subset_size': 128}, 'lora_correction_params': {'adapter_rank': 8, 'num_iterations': 3, 'apply_regularization': True, 'subset_size': 128, 'use_int8_adapters': True}, 'backend_params': {}, 'codebook': None, 'adaptive_codebook_params': {'value_type': 'f8e4m3', 'across_blocks': False, 'num_elements': 16}}" />
|
| 269 |
+
<all_layers value="False" />
|
| 270 |
+
<awq value="False" />
|
| 271 |
+
<backup_mode value="int8_asym" />
|
| 272 |
+
<compression_format value="dequantize" />
|
| 273 |
+
<gptq value="False" />
|
| 274 |
+
<group_size value="-1" />
|
| 275 |
+
<ignored_scope value="[]" />
|
| 276 |
+
<lora_correction value="False" />
|
| 277 |
+
<mode value="int8_sym" />
|
| 278 |
+
<ratio value="1.0" />
|
| 279 |
+
<scale_estimation value="False" />
|
| 280 |
+
<sensitivity_metric value="weight_quantization_error" />
|
| 281 |
+
</weight_compression>
|
| 282 |
+
</nncf>
|
| 283 |
+
<optimum>
|
| 284 |
+
<nncf_version value="3.2.0" />
|
| 285 |
+
<optimum_intel_version value="1.27.0.dev0+ffc9fd3" />
|
| 286 |
+
<optimum_version value="2.4.0.dev0" />
|
| 287 |
+
<pytorch_version value="2.10.0+cu130" />
|
| 288 |
+
<transformers_version value="5.5.4" />
|
| 289 |
+
</optimum>
|
| 290 |
+
</rt_info>
|
| 291 |
+
</net>
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "Glm46VImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.26862954,
|
| 14 |
+
0.26130258,
|
| 15 |
+
0.27577711
|
| 16 |
+
],
|
| 17 |
+
"merge_size": 2,
|
| 18 |
+
"patch_size": 14,
|
| 19 |
+
"resample": 3,
|
| 20 |
+
"rescale_factor": 0.00392156862745098,
|
| 21 |
+
"size": {
|
| 22 |
+
"longest_edge": 9633792,
|
| 23 |
+
"shortest_edge": 12544
|
| 24 |
+
},
|
| 25 |
+
"temporal_patch_size": 2
|
| 26 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.48145466,
|
| 9 |
+
0.4578275,
|
| 10 |
+
0.40821073
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Glm46VImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.26862954,
|
| 15 |
+
0.26130258,
|
| 16 |
+
0.27577711
|
| 17 |
+
],
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"patch_size": 14,
|
| 20 |
+
"resample": 3,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 9633792,
|
| 24 |
+
"shortest_edge": 12544
|
| 25 |
+
},
|
| 26 |
+
"temporal_patch_size": 2
|
| 27 |
+
},
|
| 28 |
+
"processor_class": "Glm46VProcessor",
|
| 29 |
+
"video_processor": {
|
| 30 |
+
"do_convert_rgb": true,
|
| 31 |
+
"do_normalize": true,
|
| 32 |
+
"do_rescale": true,
|
| 33 |
+
"do_resize": true,
|
| 34 |
+
"do_sample_frames": true,
|
| 35 |
+
"fps": 2,
|
| 36 |
+
"image_mean": [
|
| 37 |
+
0.48145466,
|
| 38 |
+
0.4578275,
|
| 39 |
+
0.40821073
|
| 40 |
+
],
|
| 41 |
+
"image_std": [
|
| 42 |
+
0.26862954,
|
| 43 |
+
0.26130258,
|
| 44 |
+
0.27577711
|
| 45 |
+
],
|
| 46 |
+
"max_duration": 300,
|
| 47 |
+
"max_image_size": {
|
| 48 |
+
"longest_edge": 47040000
|
| 49 |
+
},
|
| 50 |
+
"merge_size": 2,
|
| 51 |
+
"num_frames": 16,
|
| 52 |
+
"patch_size": 14,
|
| 53 |
+
"resample": 3,
|
| 54 |
+
"rescale_factor": 0.00392156862745098,
|
| 55 |
+
"return_metadata": false,
|
| 56 |
+
"size": {
|
| 57 |
+
"longest_edge": 9633792,
|
| 58 |
+
"shortest_edge": 12544
|
| 59 |
+
},
|
| 60 |
+
"temporal_patch_size": 2,
|
| 61 |
+
"video_processor_type": "Glm46VVideoProcessor"
|
| 62 |
+
}
|
| 63 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"clean_up_tokenization_spaces": false,
|
| 4 |
+
"eos_token": "<|endoftext|>",
|
| 5 |
+
"extra_special_tokens": [
|
| 6 |
+
"<|endoftext|>",
|
| 7 |
+
"[MASK]",
|
| 8 |
+
"[gMASK]",
|
| 9 |
+
"[sMASK]",
|
| 10 |
+
"<sop>",
|
| 11 |
+
"<eop>",
|
| 12 |
+
"<|system|>",
|
| 13 |
+
"<|user|>",
|
| 14 |
+
"<|assistant|>",
|
| 15 |
+
"<|observation|>",
|
| 16 |
+
"<|begin_of_image|>",
|
| 17 |
+
"<|end_of_image|>",
|
| 18 |
+
"<|begin_of_video|>",
|
| 19 |
+
"<|end_of_video|>",
|
| 20 |
+
"<|begin_of_audio|>",
|
| 21 |
+
"<|end_of_audio|>",
|
| 22 |
+
"<|begin_of_transcription|>",
|
| 23 |
+
"<|end_of_transcription|>",
|
| 24 |
+
"<|code_prefix|>",
|
| 25 |
+
"<|code_middle|>",
|
| 26 |
+
"<|code_suffix|>",
|
| 27 |
+
"<think>",
|
| 28 |
+
"</think>",
|
| 29 |
+
"<tool_call>",
|
| 30 |
+
"</tool_call>",
|
| 31 |
+
"<tool_response>",
|
| 32 |
+
"</tool_response>",
|
| 33 |
+
"<arg_key>",
|
| 34 |
+
"</arg_key>",
|
| 35 |
+
"<arg_value>",
|
| 36 |
+
"</arg_value>",
|
| 37 |
+
"/nothink",
|
| 38 |
+
"<|begin_of_box|>",
|
| 39 |
+
"<|end_of_box|>",
|
| 40 |
+
"<|image|>",
|
| 41 |
+
"<|video|>"
|
| 42 |
+
],
|
| 43 |
+
"is_local": true,
|
| 44 |
+
"model_max_length": 655380,
|
| 45 |
+
"pad_token": "<|endoftext|>",
|
| 46 |
+
"padding_side": "left",
|
| 47 |
+
"processor_class": "Glm46VProcessor",
|
| 48 |
+
"tokenizer_class": "TokenizersBackend"
|
| 49 |
+
}
|