Qwen1.5-0.5B-Chat-IntelOptimum / openvino_tokenizer.xml
Anthonyfhd's picture
Upload 14 files
92d5d2c verified
<?xml version="1.0"?>
<net name="tokenizer" version="11">
<layers>
<layer id="0" name="Parameter_311177" type="Parameter" version="opset1">
<data shape="?" element_type="string" />
<output>
<port id="0" precision="STRING" names="Parameter_311177">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="1" name="Constant_311184" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="2" name="StringTensorUnpack_311178" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<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="NormalizeUnicode_311179" type="NormalizeUnicode" version="extension">
<data normalization_form="NFC" />
<input>
<port id="0" precision="I32">
<dim>-1</dim>
</port>
<port id="1" precision="I32">
<dim>-1</dim>
</port>
<port id="2" precision="U8">
<dim>-1</dim>
</port>
</input>
<output>
<port id="3" precision="I32">
<dim>-1</dim>
</port>
<port id="4" precision="I32">
<dim>-1</dim>
</port>
<port id="5" precision="U8">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="4" name="ShapeOf_311180" 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="5" name="Constant_311181" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="6" name="Constant_311182" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="7" name="Gather_311183" type="Gather" version="opset8">
<data batch_dims="0" />
<input>
<port id="0" precision="I64">
<dim>1</dim>
</port>
<port id="1" precision="I32" />
<port id="2" precision="I32" />
</input>
<output>
<port id="3" precision="I64" />
</output>
</layer>
<layer id="8" name="Constant_311185" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="9" name="Range_311186" type="Range" version="opset4">
<data output_type="i32" />
<input>
<port id="0" precision="I32" />
<port id="1" precision="I64" />
<port id="2" precision="I32" />
</input>
<output>
<port id="3" precision="I32">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="10" name="Constant_311188" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="11" name="Constant_311189" type="Const" version="opset1">
<data element_type="i64" shape="" offset="8" size="8" />
<output>
<port id="0" precision="I64" />
</output>
</layer>
<layer id="12" name="Add_311190" 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="13" name="Constant_311191" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="14" name="Range_311192" type="Range" version="opset4">
<data output_type="i32" />
<input>
<port id="0" precision="I32" />
<port id="1" precision="I64" />
<port id="2" precision="I32" />
</input>
<output>
<port id="3" precision="I32">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="15" name="Constant_311255" type="Const" version="opset1">
<data element_type="u8" shape="115" offset="16" size="115" />
<output>
<port id="0" precision="U8">
<dim>115</dim>
</port>
</output>
</layer>
<layer id="16" name="RegexSplit_311256" 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="U8">
<dim>115</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>
</output>
</layer>
<layer id="17" name="BytesToChars_311257" type="BytesToChars" 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>
</input>
<output>
<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="U8">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="18" name="Constant_311259" type="Const" version="opset1">
<data element_type="u8" shape="1976110" offset="131" size="1976110" />
<output>
<port id="0" precision="U8">
<dim>1976110</dim>
</port>
</output>
</layer>
<layer id="19" name="StringTensorUnpack_311260" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>1976110</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="20" name="Constant_311262" type="Const" version="opset1">
<data element_type="u8" shape="2126008" offset="1976241" size="2126008" />
<output>
<port id="0" precision="U8">
<dim>2126008</dim>
</port>
</output>
</layer>
<layer id="21" name="StringTensorUnpack_311263" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>2126008</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="22" name="BPETokenizer_311264" type="BPETokenizer" version="extension">
<data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="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">
<dim>-1</dim>
</port>
<port id="4" precision="U8">
<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="U8">
<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>
</input>
<output>
<port id="11" precision="I32">
<dim>-1</dim>
</port>
<port id="12" precision="I32">
<dim>-1</dim>
</port>
<port id="13" precision="I32">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="23" name="Subtract_311265" 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="24" name="Constant_311266" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4102249" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="25" name="Minimum_311267" type="Minimum" version="opset1">
<data auto_broadcast="numpy" />
<input>
<port id="0" precision="I32">
<dim>-1</dim>
</port>
<port id="1" precision="I32" />
</input>
<output>
<port id="2" precision="I32">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="26" name="Add_311268" type="Add" 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="27" name="Subtract_311269" 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="28" name="Constant_311270" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="29" name="ReduceMax_311271" 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="30" name="Constant_311272" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4102253" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="31" name="RaggedToDense_311273" type="RaggedToDense" 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" />
<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="32" name="Convert_311274" 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="33" name="Convert_311274" 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="35" name="RaggedToDense_311273.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="36" name="Result_311275" type="Result" version="opset1">
<input>
<port id="0" precision="I64">
<dim>-1</dim>
<dim>-1</dim>
</port>
</input>
</layer>
<layer id="34" name="Result_311276" type="Result" version="opset1">
<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="9" to-port="0" />
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
<edge from-layer="2" from-port="2" to-layer="3" to-port="1" />
<edge from-layer="2" from-port="3" to-layer="3" to-port="2" />
<edge from-layer="3" from-port="3" to-layer="4" to-port="0" />
<edge from-layer="3" from-port="3" to-layer="16" to-port="2" />
<edge from-layer="3" from-port="4" to-layer="16" to-port="3" />
<edge from-layer="3" from-port="5" to-layer="16" to-port="4" />
<edge from-layer="4" from-port="1" to-layer="7" to-port="0" />
<edge from-layer="5" from-port="0" to-layer="7" to-port="1" />
<edge from-layer="6" from-port="0" to-layer="7" to-port="2" />
<edge from-layer="7" from-port="3" to-layer="9" to-port="1" />
<edge from-layer="7" from-port="3" to-layer="12" to-port="0" />
<edge from-layer="8" from-port="0" to-layer="9" to-port="2" />
<edge from-layer="9" from-port="3" to-layer="16" to-port="0" />
<edge from-layer="10" from-port="0" to-layer="14" to-port="0" />
<edge from-layer="11" from-port="0" to-layer="12" to-port="1" />
<edge from-layer="12" from-port="2" to-layer="14" to-port="1" />
<edge from-layer="13" from-port="0" to-layer="14" to-port="2" />
<edge from-layer="14" from-port="3" to-layer="16" to-port="1" />
<edge from-layer="15" from-port="0" to-layer="16" to-port="5" />
<edge from-layer="16" from-port="6" to-layer="17" to-port="0" />
<edge from-layer="16" from-port="7" to-layer="17" to-port="1" />
<edge from-layer="16" from-port="8" to-layer="17" to-port="2" />
<edge from-layer="16" from-port="9" to-layer="17" to-port="3" />
<edge from-layer="16" from-port="10" to-layer="17" to-port="4" />
<edge from-layer="17" from-port="8" to-layer="22" to-port="3" />
<edge from-layer="17" from-port="9" to-layer="22" to-port="4" />
<edge from-layer="17" from-port="5" to-layer="22" to-port="0" />
<edge from-layer="17" from-port="6" to-layer="22" to-port="1" />
<edge from-layer="17" from-port="7" to-layer="22" to-port="2" />
<edge from-layer="18" from-port="0" to-layer="19" to-port="0" />
<edge from-layer="19" from-port="1" to-layer="22" to-port="5" />
<edge from-layer="19" from-port="2" to-layer="22" to-port="6" />
<edge from-layer="19" from-port="3" to-layer="22" to-port="7" />
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
<edge from-layer="21" from-port="1" to-layer="22" to-port="8" />
<edge from-layer="21" from-port="2" to-layer="22" to-port="9" />
<edge from-layer="21" from-port="3" to-layer="22" to-port="10" />
<edge from-layer="22" from-port="12" to-layer="23" to-port="0" />
<edge from-layer="22" from-port="11" to-layer="23" to-port="1" />
<edge from-layer="22" from-port="11" to-layer="26" to-port="0" />
<edge from-layer="22" from-port="13" to-layer="31" to-port="2" />
<edge from-layer="22" from-port="11" to-layer="27" to-port="1" />
<edge from-layer="22" from-port="11" to-layer="31" to-port="0" />
<edge from-layer="23" from-port="2" to-layer="25" to-port="0" />
<edge from-layer="24" from-port="0" to-layer="25" to-port="1" />
<edge from-layer="25" from-port="2" to-layer="26" to-port="1" />
<edge from-layer="26" from-port="2" to-layer="27" to-port="0" />
<edge from-layer="26" from-port="2" to-layer="31" to-port="1" />
<edge from-layer="27" from-port="2" to-layer="29" to-port="0" />
<edge from-layer="28" from-port="0" to-layer="29" to-port="1" />
<edge from-layer="29" from-port="2" to-layer="31" to-port="3" />
<edge from-layer="30" from-port="0" to-layer="31" to-port="4" />
<edge from-layer="31" from-port="6" to-layer="32" to-port="0" />
<edge from-layer="31" from-port="5" to-layer="35" to-port="0" />
<edge from-layer="32" from-port="1" to-layer="33" to-port="0" />
<edge from-layer="33" from-port="1" to-layer="34" to-port="0" />
<edge from-layer="35" from-port="1" to-layer="36" to-port="0" />
</edges>
<rt_info>
<eos_token_id value="151645" />
</rt_info>
</net>