codegen25-7b-multi-int8-ov / openvino_tokenizer.xml
openvino-ci's picture
Upload folder using huggingface_hub
847a051 verified
<?xml version="1.0"?>
<net name="tokenizer" version="11">
<layers>
<layer id="0" name="Parameter_62109" type="Parameter" version="opset1">
<data shape="?" element_type="string" />
<output>
<port id="0" precision="STRING" names="Parameter_62109">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="1" name="Constant_62115" 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_62110" 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="ShapeOf_62111" 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_62112" 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_62113" 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_62114" 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_62116" 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_62117" 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_62118" 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_62119" 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_62120" 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_62121" 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_62122" 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_62184" type="Const" version="opset1">
<data element_type="u8" shape="19" offset="16" size="19" />
<output>
<port id="0" precision="U8">
<dim>19</dim>
</port>
</output>
</layer>
<layer id="15" name="SpecialTokensSplit_62185" 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>19</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="NormalizeUnicode_62186" 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>
<port id="3" precision="BOOL">
<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="U8">
<dim>-1</dim>
</port>
<port id="7" precision="BOOL">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="17" name="Constant_62188" type="Const" version="opset1">
<data element_type="u8" shape="79" offset="35" size="79" />
<output>
<port id="0" precision="U8">
<dim>79</dim>
</port>
</output>
</layer>
<layer id="18" name="RegexSplit_62189" type="RegexSplit" version="extension">
<data behaviour="contiguous" 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>79</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="19" name="Constant_62191" type="Const" version="opset1">
<data element_type="u8" shape="535153" offset="114" size="535153" />
<output>
<port id="0" precision="U8">
<dim>535153</dim>
</port>
</output>
</layer>
<layer id="20" name="StringTensorUnpack_62192" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>535153</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="21" name="Constant_62197" type="Const" version="opset1">
<data element_type="u8" shape="367533" offset="535267" size="367533" />
<output>
<port id="0" precision="U8">
<dim>367533</dim>
</port>
</output>
</layer>
<layer id="22" name="StringTensorUnpack_62198" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>367533</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="23" name="Constant_62200" type="Const" version="opset1">
<data element_type="u8" shape="353061" offset="902800" size="353061" />
<output>
<port id="0" precision="U8">
<dim>353061</dim>
</port>
</output>
</layer>
<layer id="24" name="StringTensorUnpack_62201" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>353061</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="25" name="Constant_62194" type="Const" version="opset1">
<data element_type="u8" shape="13303" offset="1255861" size="13303" />
<output>
<port id="0" precision="U8">
<dim>13303</dim>
</port>
</output>
</layer>
<layer id="26" name="StringTensorUnpack_62195" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>13303</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="27" name="Constant_62202" type="Const" version="opset1">
<data element_type="i32" shape="942" offset="1269164" size="3768" />
<output>
<port id="0" precision="I32">
<dim>942</dim>
</port>
</output>
</layer>
<layer id="28" name="BPETokenizer_62203" 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>-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>
<port id="11" precision="I32">
<dim>-1</dim>
</port>
<port id="12" precision="I32">
<dim>-1</dim>
</port>
<port id="13" precision="U8">
<dim>-1</dim>
</port>
<port id="14" precision="I32">
<dim>-1</dim>
</port>
<port id="15" precision="I32">
<dim>-1</dim>
</port>
<port id="16" precision="U8">
<dim>-1</dim>
</port>
<port id="17" precision="I32">
<dim>942</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="29" name="Subtract_62204" 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="30" name="Constant_62205" type="Const" version="opset1">
<data element_type="i32" shape="" offset="1272932" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="31" name="Minimum_62206" 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="32" name="Subtract_62207" 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="33" name="Subtract_62208" 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="34" name="Constant_62209" type="Const" version="opset1">
<data element_type="i32" shape="" offset="1272936" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="35" name="ReduceMax_62210" 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="36" name="Constant_62211" type="Const" version="opset1">
<data element_type="i32" shape="" offset="1272936" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="37" name="RaggedToDense_62212" type="RaggedToDense" version="extension">
<data pad_right="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="38" name="Convert_62213" 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="39" name="Convert_62213" 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="41" name="RaggedToDense_62212.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="42" name="Result_62214" type="Result" version="opset1">
<input>
<port id="0" precision="I64">
<dim>-1</dim>
<dim>-1</dim>
</port>
</input>
</layer>
<layer id="40" name="Result_62215" 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="8" to-port="0" />
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
<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="2" from-port="1" to-layer="15" to-port="2" />
<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="11" to-port="0" />
<edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
<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="9" to-layer="16" to-port="1" />
<edge from-layer="15" from-port="7" to-layer="18" to-port="1" />
<edge from-layer="15" from-port="6" to-layer="18" to-port="0" />
<edge from-layer="15" from-port="11" to-layer="16" to-port="3" />
<edge from-layer="15" from-port="10" to-layer="16" to-port="2" />
<edge from-layer="15" from-port="8" to-layer="16" to-port="0" />
<edge from-layer="16" from-port="4" to-layer="18" to-port="2" />
<edge from-layer="16" from-port="5" to-layer="18" to-port="3" />
<edge from-layer="16" from-port="6" to-layer="18" to-port="4" />
<edge from-layer="16" from-port="7" to-layer="18" to-port="5" />
<edge from-layer="17" from-port="0" to-layer="18" to-port="6" />
<edge from-layer="18" from-port="11" to-layer="28" to-port="4" />
<edge from-layer="18" from-port="10" to-layer="28" to-port="3" />
<edge from-layer="18" from-port="9" to-layer="28" to-port="2" />
<edge from-layer="18" from-port="8" to-layer="28" to-port="1" />
<edge from-layer="18" from-port="7" to-layer="28" to-port="0" />
<edge from-layer="19" from-port="0" to-layer="20" to-port="0" />
<edge from-layer="20" from-port="1" to-layer="28" to-port="5" />
<edge from-layer="20" from-port="2" to-layer="28" to-port="6" />
<edge from-layer="20" from-port="3" to-layer="28" to-port="7" />
<edge from-layer="21" from-port="0" to-layer="22" to-port="0" />
<edge from-layer="22" from-port="1" to-layer="28" to-port="8" />
<edge from-layer="22" from-port="2" to-layer="28" to-port="9" />
<edge from-layer="22" from-port="3" to-layer="28" to-port="10" />
<edge from-layer="23" from-port="0" to-layer="24" to-port="0" />
<edge from-layer="24" from-port="1" to-layer="28" to-port="11" />
<edge from-layer="24" from-port="2" to-layer="28" to-port="12" />
<edge from-layer="24" from-port="3" to-layer="28" to-port="13" />
<edge from-layer="25" from-port="0" to-layer="26" to-port="0" />
<edge from-layer="26" from-port="1" to-layer="28" to-port="14" />
<edge from-layer="26" from-port="2" to-layer="28" to-port="15" />
<edge from-layer="26" from-port="3" to-layer="28" to-port="16" />
<edge from-layer="27" from-port="0" to-layer="28" to-port="17" />
<edge from-layer="28" from-port="20" to-layer="37" to-port="2" />
<edge from-layer="28" from-port="18" to-layer="29" to-port="1" />
<edge from-layer="28" from-port="19" to-layer="37" to-port="1" />
<edge from-layer="28" from-port="19" to-layer="33" to-port="0" />
<edge from-layer="28" from-port="19" to-layer="32" to-port="0" />
<edge from-layer="28" from-port="19" to-layer="29" to-port="0" />
<edge from-layer="29" from-port="2" to-layer="31" to-port="0" />
<edge from-layer="30" from-port="0" to-layer="31" to-port="1" />
<edge from-layer="31" from-port="2" to-layer="32" to-port="1" />
<edge from-layer="32" from-port="2" to-layer="33" to-port="1" />
<edge from-layer="32" from-port="2" to-layer="37" to-port="0" />
<edge from-layer="33" from-port="2" to-layer="35" to-port="0" />
<edge from-layer="34" from-port="0" to-layer="35" to-port="1" />
<edge from-layer="35" from-port="2" to-layer="37" to-port="3" />
<edge from-layer="36" from-port="0" to-layer="37" to-port="4" />
<edge from-layer="37" from-port="6" to-layer="38" to-port="0" />
<edge from-layer="37" from-port="5" to-layer="41" to-port="0" />
<edge from-layer="38" from-port="1" to-layer="39" to-port="0" />
<edge from-layer="39" from-port="1" to-layer="40" to-port="0" />
<edge from-layer="41" from-port="1" to-layer="42" to-port="0" />
</edges>
<rt_info>
<eos_token_id value="50256" />
<original_tokenizer_class value="&lt;class 'transformers_modules.pytorch.tokenization_codegen25.CodeGen25Tokenizer'>" />
</rt_info>
</net>