Download openvino_tokenizer.xml from rushi82/GLM_OCR_INT8: direct link, hf CLI and curl.
- Browser
- Download file 29 kB
-
https://huggingface.co/rushi82/GLM_OCR_INT8/resolve/main/openvino_tokenizer.xml
- Command line
-
hf download hf://rushi82/GLM_OCR_INT8/openvino_tokenizer.xml
-
curl -L -o openvino_tokenizer.xml https://huggingface.co/rushi82/GLM_OCR_INT8/resolve/main/openvino_tokenizer.xml
29 kB
| <net name="tokenizer" version="11"> | |
| <layers> | |
| <layer id="0" name="Parameter_129479" type="Parameter" version="opset1"> | |
| <data shape="?" element_type="string" /> | |
| <output> | |
| <port id="0" precision="STRING" names="Parameter_129479"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="1" name="Constant_129485" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="0" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="2" name="StringTensorUnpack_129480" type="StringTensorUnpack" version="opset15"> | |
| <input> | |
| <port id="0" precision="STRING"> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="3" name="ShapeOf_129481" type="ShapeOf" version="opset3"> | |
| <data output_type="i64" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="1" precision="I64"> | |
| <dim>1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="4" name="Constant_129482" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="0" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="5" name="Constant_129483" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="0" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="6" name="Gather_129484" type="Gather" version="opset8"> | |
| <data batch_dims="0" /> | |
| <input> | |
| <port id="0" precision="I64"> | |
| <dim>1</dim> | |
| </port> | |
| <port id="1" precision="I64" /> | |
| <port id="2" precision="I64" /> | |
| </input> | |
| <output> | |
| <port id="3" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="7" name="Constant_129486" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="8" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="8" name="Range_129487" type="Range" version="opset4"> | |
| <data output_type="i32" /> | |
| <input> | |
| <port id="0" precision="I64" /> | |
| <port id="1" precision="I64" /> | |
| <port id="2" precision="I64" /> | |
| </input> | |
| <output> | |
| <port id="3" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="9" name="Constant_129488" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="8" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="10" name="Constant_129489" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="8" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="11" name="Add_129490" type="Add" version="opset1"> | |
| <data auto_broadcast="numpy" /> | |
| <input> | |
| <port id="0" precision="I64" /> | |
| <port id="1" precision="I64" /> | |
| </input> | |
| <output> | |
| <port id="2" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="12" name="Constant_129491" type="Const" version="opset1"> | |
| <data element_type="i64" shape="" offset="8" size="8" /> | |
| <output> | |
| <port id="0" precision="I64" /> | |
| </output> | |
| </layer> | |
| <layer id="13" name="Range_129492" type="Range" version="opset4"> | |
| <data output_type="i32" /> | |
| <input> | |
| <port id="0" precision="I64" /> | |
| <port id="1" precision="I64" /> | |
| <port id="2" precision="I64" /> | |
| </input> | |
| <output> | |
| <port id="3" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="14" name="Constant_129556" type="Const" version="opset1"> | |
| <data element_type="u8" shape="606" offset="16" size="606" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>606</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="15" name="SpecialTokensSplit_129557" type="SpecialTokensSplit" version="extension"> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="4" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="5" precision="U8"> | |
| <dim>606</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="6" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="7" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="8" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="9" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="10" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="11" precision="BOOL"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="16" name="Constant_129559" type="Const" version="opset1"> | |
| <data element_type="u8" shape="115" offset="622" size="115" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>115</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="17" name="RegexSplit_129560" type="RegexSplit" version="extension"> | |
| <data behaviour="isolate" invert="false" max_splits="-1" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="4" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="5" precision="BOOL"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="6" precision="U8"> | |
| <dim>115</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="7" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="8" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="9" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="10" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="11" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="12" precision="BOOL"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="18" name="Constant_129562" type="Const" version="opset1"> | |
| <data element_type="i32" shape="59282" offset="737" size="237128" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>59282</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="19" name="Constant_129564" type="Const" version="opset1"> | |
| <data element_type="i32" shape="59282" offset="237865" size="237128" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>59282</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="20" name="Constant_129566" type="Const" version="opset1"> | |
| <data element_type="u8" shape="354465" offset="474993" size="354465" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>354465</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="21" name="Constant_129574" type="Const" version="opset1"> | |
| <data element_type="i32" shape="106026" offset="829458" size="424104" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="22" name="Constant_129576" type="Const" version="opset1"> | |
| <data element_type="i32" shape="106026" offset="1253562" size="424104" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="23" name="Constant_129578" type="Const" version="opset1"> | |
| <data element_type="u8" shape="361704" offset="1677666" size="361704" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>361704</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="24" name="Constant_129580" type="Const" version="opset1"> | |
| <data element_type="i32" shape="106026" offset="2039370" size="424104" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="25" name="Constant_129582" type="Const" version="opset1"> | |
| <data element_type="i32" shape="106026" offset="2463474" size="424104" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="26" name="Constant_129584" type="Const" version="opset1"> | |
| <data element_type="u8" shape="346609" offset="2887578" size="346609" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>346609</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="27" name="Constant_129568" type="Const" version="opset1"> | |
| <data element_type="i32" shape="36" offset="3234187" size="144" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="28" name="Constant_129570" type="Const" version="opset1"> | |
| <data element_type="i32" shape="36" offset="3234331" size="144" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="29" name="Constant_129572" type="Const" version="opset1"> | |
| <data element_type="u8" shape="453" offset="3234475" size="453" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>453</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="30" name="Constant_129585" type="Const" version="opset1"> | |
| <data element_type="i32" shape="36" offset="3234928" size="144" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="31" name="BPETokenizer_129586" type="BPETokenizer" version="extension"> | |
| <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="20000" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="4" precision="U8"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="5" precision="I32"> | |
| <dim>59282</dim> | |
| </port> | |
| <port id="6" precision="I32"> | |
| <dim>59282</dim> | |
| </port> | |
| <port id="7" precision="U8"> | |
| <dim>354465</dim> | |
| </port> | |
| <port id="8" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| <port id="9" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| <port id="10" precision="U8"> | |
| <dim>361704</dim> | |
| </port> | |
| <port id="11" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| <port id="12" precision="I32"> | |
| <dim>106026</dim> | |
| </port> | |
| <port id="13" precision="U8"> | |
| <dim>346609</dim> | |
| </port> | |
| <port id="14" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| <port id="15" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| <port id="16" precision="U8"> | |
| <dim>453</dim> | |
| </port> | |
| <port id="17" precision="I32"> | |
| <dim>36</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="18" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="19" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="20" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="32" name="Constant_129587" type="Const" version="opset1"> | |
| <data element_type="i32" shape="" offset="3235072" size="4" /> | |
| <output> | |
| <port id="0" precision="I32" /> | |
| </output> | |
| </layer> | |
| <layer id="33" name="Constant_129589" type="Const" version="opset1"> | |
| <data element_type="u8" shape="4" offset="3235076" size="4" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>4</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="34" name="Constant_129591" type="Const" version="opset1"> | |
| <data element_type="u8" shape="13" offset="3235080" size="13" /> | |
| <output> | |
| <port id="0" precision="U8"> | |
| <dim>13</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="35" name="Truncate_129592" type="Truncate" version="extension"> | |
| <data m_num_inputs="1" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32" /> | |
| <port id="4" precision="U8"> | |
| <dim>4</dim> | |
| </port> | |
| <port id="5" precision="U8"> | |
| <dim>13</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="6" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="7" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="8" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="36" name="Constant_129593" type="Const" version="opset1"> | |
| <data element_type="i32" shape="1" offset="3235093" size="4" /> | |
| <output> | |
| <port id="0" precision="I32"> | |
| <dim>1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="37" name="CombineSegments_129594" type="CombineSegments" version="extension"> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32"> | |
| <dim>1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="4" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="5" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="6" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="7" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="8" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="9" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="38" name="Subtract_129595" type="Subtract" version="opset1"> | |
| <data auto_broadcast="numpy" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="39" name="Constant_129596" type="Const" version="opset1"> | |
| <data element_type="i32" shape="" offset="3235093" size="4" /> | |
| <output> | |
| <port id="0" precision="I32" /> | |
| </output> | |
| </layer> | |
| <layer id="40" name="ReduceMax_129597" type="ReduceMax" version="opset1"> | |
| <data keep_dims="false" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32" /> | |
| </input> | |
| <output> | |
| <port id="2" precision="I32" /> | |
| </output> | |
| </layer> | |
| <layer id="41" name="Constant_129598" type="Const" version="opset1"> | |
| <data element_type="i32" shape="" offset="3235097" size="4" /> | |
| <output> | |
| <port id="0" precision="I32" /> | |
| </output> | |
| </layer> | |
| <layer id="42" name="RaggedToDense_129599" type="RaggedToDense" version="extension"> | |
| <data pad_right="false" m_pad_max_length="false" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="2" precision="I32"> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="3" precision="I32" /> | |
| <port id="4" precision="I32" /> | |
| </input> | |
| <output> | |
| <port id="5" precision="I32"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| <port id="6" precision="BOOL"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="43" name="Convert_129600" type="Convert" version="opset1"> | |
| <data destination_type="i32" /> | |
| <input> | |
| <port id="0" precision="BOOL"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="1" precision="I32"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="44" name="Convert_129600.0" type="Convert" version="opset1"> | |
| <data destination_type="i64" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="1" precision="I64" names="attention_mask"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="45" name="RaggedToDense_129599.0" type="Convert" version="opset1"> | |
| <data destination_type="i64" /> | |
| <input> | |
| <port id="0" precision="I32"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| <output> | |
| <port id="1" precision="I64" names="input_ids"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </output> | |
| </layer> | |
| <layer id="46" name="Result_129603" type="Result" version="opset1" output_names="input_ids"> | |
| <input> | |
| <port id="0" precision="I64"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| </layer> | |
| <layer id="47" name="Result_129605" type="Result" version="opset1" output_names="attention_mask"> | |
| <input> | |
| <port id="0" precision="I64"> | |
| <dim>-1</dim> | |
| <dim>-1</dim> | |
| </port> | |
| </input> | |
| </layer> | |
| </layers> | |
| <edges> | |
| <edge from-layer="0" from-port="0" to-layer="2" to-port="0" /> | |
| <edge from-layer="1" from-port="0" to-layer="8" to-port="0" /> | |
| <edge from-layer="2" from-port="1" to-layer="3" to-port="0" /> | |
| <edge from-layer="2" from-port="1" to-layer="15" to-port="2" /> | |
| <edge from-layer="2" from-port="3" to-layer="15" to-port="4" /> | |
| <edge from-layer="2" from-port="2" to-layer="15" to-port="3" /> | |
| <edge from-layer="3" from-port="1" to-layer="6" to-port="0" /> | |
| <edge from-layer="4" from-port="0" to-layer="6" to-port="1" /> | |
| <edge from-layer="5" from-port="0" to-layer="6" to-port="2" /> | |
| <edge from-layer="6" from-port="3" to-layer="8" to-port="1" /> | |
| <edge from-layer="6" from-port="3" to-layer="11" to-port="0" /> | |
| <edge from-layer="7" from-port="0" to-layer="8" to-port="2" /> | |
| <edge from-layer="8" from-port="3" to-layer="15" to-port="0" /> | |
| <edge from-layer="9" from-port="0" to-layer="13" to-port="0" /> | |
| <edge from-layer="10" from-port="0" to-layer="11" to-port="1" /> | |
| <edge from-layer="11" from-port="2" to-layer="13" to-port="1" /> | |
| <edge from-layer="12" from-port="0" to-layer="13" to-port="2" /> | |
| <edge from-layer="13" from-port="3" to-layer="15" to-port="1" /> | |
| <edge from-layer="14" from-port="0" to-layer="15" to-port="5" /> | |
| <edge from-layer="15" from-port="6" to-layer="17" to-port="0" /> | |
| <edge from-layer="15" from-port="7" to-layer="17" to-port="1" /> | |
| <edge from-layer="15" from-port="8" to-layer="17" to-port="2" /> | |
| <edge from-layer="15" from-port="9" to-layer="17" to-port="3" /> | |
| <edge from-layer="15" from-port="10" to-layer="17" to-port="4" /> | |
| <edge from-layer="15" from-port="11" to-layer="17" to-port="5" /> | |
| <edge from-layer="16" from-port="0" to-layer="17" to-port="6" /> | |
| <edge from-layer="17" from-port="7" to-layer="31" to-port="0" /> | |
| <edge from-layer="17" from-port="8" to-layer="31" to-port="1" /> | |
| <edge from-layer="17" from-port="9" to-layer="31" to-port="2" /> | |
| <edge from-layer="17" from-port="10" to-layer="31" to-port="3" /> | |
| <edge from-layer="17" from-port="11" to-layer="31" to-port="4" /> | |
| <edge from-layer="18" from-port="0" to-layer="31" to-port="5" /> | |
| <edge from-layer="19" from-port="0" to-layer="31" to-port="6" /> | |
| <edge from-layer="20" from-port="0" to-layer="31" to-port="7" /> | |
| <edge from-layer="21" from-port="0" to-layer="31" to-port="8" /> | |
| <edge from-layer="22" from-port="0" to-layer="31" to-port="9" /> | |
| <edge from-layer="23" from-port="0" to-layer="31" to-port="10" /> | |
| <edge from-layer="24" from-port="0" to-layer="31" to-port="11" /> | |
| <edge from-layer="25" from-port="0" to-layer="31" to-port="12" /> | |
| <edge from-layer="26" from-port="0" to-layer="31" to-port="13" /> | |
| <edge from-layer="27" from-port="0" to-layer="31" to-port="14" /> | |
| <edge from-layer="28" from-port="0" to-layer="31" to-port="15" /> | |
| <edge from-layer="29" from-port="0" to-layer="31" to-port="16" /> | |
| <edge from-layer="30" from-port="0" to-layer="31" to-port="17" /> | |
| <edge from-layer="31" from-port="18" to-layer="35" to-port="0" /> | |
| <edge from-layer="31" from-port="19" to-layer="35" to-port="1" /> | |
| <edge from-layer="31" from-port="20" to-layer="35" to-port="2" /> | |
| <edge from-layer="32" from-port="0" to-layer="35" to-port="3" /> | |
| <edge from-layer="33" from-port="0" to-layer="35" to-port="4" /> | |
| <edge from-layer="34" from-port="0" to-layer="35" to-port="5" /> | |
| <edge from-layer="35" from-port="6" to-layer="37" to-port="0" /> | |
| <edge from-layer="35" from-port="7" to-layer="37" to-port="1" /> | |
| <edge from-layer="35" from-port="8" to-layer="37" to-port="2" /> | |
| <edge from-layer="36" from-port="0" to-layer="37" to-port="3" /> | |
| <edge from-layer="37" from-port="5" to-layer="38" to-port="0" /> | |
| <edge from-layer="37" from-port="4" to-layer="38" to-port="1" /> | |
| <edge from-layer="37" from-port="4" to-layer="42" to-port="0" /> | |
| <edge from-layer="37" from-port="5" to-layer="42" to-port="1" /> | |
| <edge from-layer="37" from-port="6" to-layer="42" to-port="2" /> | |
| <edge from-layer="38" from-port="2" to-layer="40" to-port="0" /> | |
| <edge from-layer="39" from-port="0" to-layer="40" to-port="1" /> | |
| <edge from-layer="40" from-port="2" to-layer="42" to-port="3" /> | |
| <edge from-layer="41" from-port="0" to-layer="42" to-port="4" /> | |
| <edge from-layer="42" from-port="6" to-layer="43" to-port="0" /> | |
| <edge from-layer="42" from-port="5" to-layer="45" to-port="0" /> | |
| <edge from-layer="43" from-port="1" to-layer="44" to-port="0" /> | |
| <edge from-layer="44" from-port="1" to-layer="47" to-port="0" /> | |
| <edge from-layer="45" from-port="1" to-layer="46" to-port="0" /> | |
| </edges> | |
| <rt_info> | |
| <info name="OpenVINO Runtime" value="2026.3.0-22067-7fe2854a671" /> | |
| <add_attention_mask value="True" /> | |
| <add_prefix_space /> | |
| <add_special_tokens value="True" /> | |
| <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 -%} " /> | |
| <clean_up_tokenization_spaces /> | |
| <detokenizer_input_type value="i64" /> | |
| <eos_token_id value="59246" /> | |
| <handle_special_tokens_with_re /> | |
| <max_length /> | |
| <number_of_inputs value="1" /> | |
| <openvino_tokenizers_version value="2026.3.0.0-683-6d28e696dfa" /> | |
| <openvino_version value="2026.3.0-22067-7fe2854a671" /> | |
| <original_post_processor_template value="{"type": "Sequence", "processors": [{"type": "ByteLevel", "add_prefix_space": true, "trim_offsets": false, "use_regex": true}]}" /> | |
| <original_tokenizer_class value="<class 'transformers.tokenization_utils_tokenizers.TokenizersBackend'>" /> | |
| <pad_token_id value="59246" /> | |
| <processed_post_processor_template value="{"single": {"ids": [-1], "type_ids": [0]}, "pair": {"ids": [-1, -2], "type_ids": [0, 0]}}" /> | |
| <sentencepiece_version value="0.2.0" /> | |
| <skip_special_tokens value="True" /> | |
| <streaming_detokenizer value="False" /> | |
| <tiktoken_version value="0.12.0" /> | |
| <tokenizer_output_type value="i64" /> | |
| <tokenizers_version value="0.22.2" /> | |
| <transformers_version value="5.5.4" /> | |
| <use_max_padding value="False" /> | |
| <use_sentencepiece_backend value="False" /> | |
| <utf8_replace_mode value="replace" /> | |
| <with_detokenizer value="True" /> | |
| </rt_info> | |
| </net> | |