valurank-bias-ov / openvino_tokenizer.xml
doberst's picture
Upload 12 files
f17b793 verified
<?xml version="1.0"?>
<net name="tokenizer" version="11">
<layers>
<layer id="0" name="Parameter_6410" type="Parameter" version="opset1">
<data shape="?" element_type="string" />
<output>
<port id="0" precision="STRING" names="Parameter_6410">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="1" name="Constant_6501" 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="Constant_6502" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="3" name="Constant_6503" type="Const" version="opset1">
<data element_type="i32" shape="1" offset="0" size="4" />
<output>
<port id="0" precision="I32">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="4" name="Constant_6416" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="5" name="StringTensorUnpack_6411" 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="6" name="ShapeOf_6412" 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="7" name="Constant_6413" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="8" name="Constant_6414" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="9" name="Gather_6415" 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="10" name="Constant_6417" 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="Range_6418" 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="12" name="Constant_6420" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="13" name="Constant_6421" type="Const" version="opset1">
<data element_type="i64" shape="" offset="8" size="8" />
<output>
<port id="0" precision="I64" />
</output>
</layer>
<layer id="14" name="Add_6422" 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="15" name="Constant_6423" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="16" name="Range_6424" 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="17" name="Constant_6487" type="Const" version="opset1">
<data element_type="u8" shape="64" offset="16" size="64" />
<output>
<port id="0" precision="U8">
<dim>64</dim>
</port>
</output>
</layer>
<layer id="18" name="RegexSplit_6488" 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>64</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="19" name="BytesToChars_6489" 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="20" name="Constant_6491" type="Const" version="opset1">
<data element_type="u8" shape="557868" offset="80" size="557868" />
<output>
<port id="0" precision="U8">
<dim>557868</dim>
</port>
</output>
</layer>
<layer id="21" name="StringTensorUnpack_6492" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>557868</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="Constant_6494" type="Const" version="opset1">
<data element_type="u8" shape="606312" offset="557948" size="606312" />
<output>
<port id="0" precision="U8">
<dim>606312</dim>
</port>
</output>
</layer>
<layer id="23" name="StringTensorUnpack_6495" type="StringTensorUnpack" version="extension">
<data mode="begins_ends" />
<input>
<port id="0" precision="U8">
<dim>606312</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="24" name="BPETokenizer_6496" 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="25" name="Subtract_6497" 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="26" name="Constant_6498" type="Const" version="opset1">
<data element_type="i32" shape="" offset="1164260" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="27" name="Minimum_6499" 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="28" name="Add_6500" 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="29" name="Constant_6504" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="30" name="Constant_6505" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="31" name="Constant_6506" type="Const" version="opset1">
<data element_type="i32" shape="1" offset="1164264" size="4" />
<output>
<port id="0" precision="I32">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="32" name="Constant_6507" type="Const" version="opset1">
<data element_type="i32" shape="3" offset="1164268" size="12" />
<output>
<port id="0" precision="I32">
<dim>3</dim>
</port>
</output>
</layer>
<layer id="33" name="CombineSegments_6508" type="CombineSegments" version="extension">
<input>
<port id="0" precision="I32" />
<port id="1" precision="I32" />
<port id="2" precision="I32">
<dim>1</dim>
</port>
<port id="3" precision="I32">
<dim>-1</dim>
</port>
<port id="4" precision="I32">
<dim>-1</dim>
</port>
<port id="5" precision="I32">
<dim>-1</dim>
</port>
<port id="6" precision="I32" />
<port id="7" precision="I32" />
<port id="8" precision="I32">
<dim>1</dim>
</port>
<port id="9" precision="I32">
<dim>3</dim>
</port>
</input>
<output>
<port id="10" precision="I32">
<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="I32">
<dim>-1</dim>
</port>
<port id="14" precision="I32">
<dim>-1</dim>
</port>
<port id="15" precision="I32">
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="34" name="Subtract_6509" 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="35" name="Constant_6510" type="Const" version="opset1">
<data element_type="i32" shape="" offset="0" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="36" name="ReduceMax_6511" 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="37" name="Constant_6512" type="Const" version="opset1">
<data element_type="i32" shape="" offset="4" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="38" name="RaggedToDense_6513" type="RaggedToDense" version="extension">
<data pad_right="true" />
<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="39" name="Convert_6514" 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="40" name="Convert_6514" 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="42" name="RaggedToDense_6513.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="43" name="Result_6517" type="Result" version="opset1">
<input>
<port id="0" precision="I64">
<dim>-1</dim>
<dim>-1</dim>
</port>
</input>
</layer>
<layer id="41" name="Result_6519" 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="5" to-port="0" />
<edge from-layer="1" from-port="0" to-layer="33" to-port="0" />
<edge from-layer="2" from-port="0" to-layer="33" to-port="1" />
<edge from-layer="3" from-port="0" to-layer="33" to-port="2" />
<edge from-layer="4" from-port="0" to-layer="11" to-port="0" />
<edge from-layer="5" from-port="1" to-layer="6" to-port="0" />
<edge from-layer="5" from-port="2" to-layer="18" to-port="3" />
<edge from-layer="5" from-port="1" to-layer="18" to-port="2" />
<edge from-layer="5" from-port="3" to-layer="18" to-port="4" />
<edge from-layer="6" from-port="1" to-layer="9" to-port="0" />
<edge from-layer="7" from-port="0" to-layer="9" to-port="1" />
<edge from-layer="8" from-port="0" to-layer="9" to-port="2" />
<edge from-layer="9" from-port="3" to-layer="11" to-port="1" />
<edge from-layer="9" from-port="3" to-layer="14" to-port="0" />
<edge from-layer="10" from-port="0" to-layer="11" to-port="2" />
<edge from-layer="11" from-port="3" to-layer="18" to-port="0" />
<edge from-layer="12" from-port="0" to-layer="16" to-port="0" />
<edge from-layer="13" from-port="0" to-layer="14" to-port="1" />
<edge from-layer="14" from-port="2" to-layer="16" to-port="1" />
<edge from-layer="15" from-port="0" to-layer="16" to-port="2" />
<edge from-layer="16" from-port="3" to-layer="18" to-port="1" />
<edge from-layer="17" from-port="0" to-layer="18" to-port="5" />
<edge from-layer="18" from-port="6" to-layer="19" to-port="0" />
<edge from-layer="18" from-port="7" to-layer="19" to-port="1" />
<edge from-layer="18" from-port="8" to-layer="19" to-port="2" />
<edge from-layer="18" from-port="9" to-layer="19" to-port="3" />
<edge from-layer="18" from-port="10" to-layer="19" to-port="4" />
<edge from-layer="19" from-port="5" to-layer="24" to-port="0" />
<edge from-layer="19" from-port="6" to-layer="24" to-port="1" />
<edge from-layer="19" from-port="7" to-layer="24" to-port="2" />
<edge from-layer="19" from-port="8" to-layer="24" to-port="3" />
<edge from-layer="19" from-port="9" to-layer="24" to-port="4" />
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
<edge from-layer="21" from-port="3" to-layer="24" to-port="7" />
<edge from-layer="21" from-port="1" to-layer="24" to-port="5" />
<edge from-layer="21" from-port="2" to-layer="24" to-port="6" />
<edge from-layer="22" from-port="0" to-layer="23" to-port="0" />
<edge from-layer="23" from-port="1" to-layer="24" to-port="8" />
<edge from-layer="23" from-port="2" to-layer="24" to-port="9" />
<edge from-layer="23" from-port="3" to-layer="24" to-port="10" />
<edge from-layer="24" from-port="12" to-layer="25" to-port="0" />
<edge from-layer="24" from-port="11" to-layer="25" to-port="1" />
<edge from-layer="24" from-port="11" to-layer="28" to-port="0" />
<edge from-layer="24" from-port="11" to-layer="33" to-port="3" />
<edge from-layer="24" from-port="13" to-layer="33" to-port="5" />
<edge from-layer="25" from-port="2" to-layer="27" to-port="0" />
<edge from-layer="26" from-port="0" to-layer="27" to-port="1" />
<edge from-layer="27" from-port="2" to-layer="28" to-port="1" />
<edge from-layer="28" from-port="2" to-layer="33" to-port="4" />
<edge from-layer="29" from-port="0" to-layer="33" to-port="6" />
<edge from-layer="30" from-port="0" to-layer="33" to-port="7" />
<edge from-layer="31" from-port="0" to-layer="33" to-port="8" />
<edge from-layer="32" from-port="0" to-layer="33" to-port="9" />
<edge from-layer="33" from-port="11" to-layer="34" to-port="0" />
<edge from-layer="33" from-port="10" to-layer="34" to-port="1" />
<edge from-layer="33" from-port="10" to-layer="38" to-port="0" />
<edge from-layer="33" from-port="11" to-layer="38" to-port="1" />
<edge from-layer="33" from-port="12" to-layer="38" to-port="2" />
<edge from-layer="34" from-port="2" to-layer="36" to-port="0" />
<edge from-layer="35" from-port="0" to-layer="36" to-port="1" />
<edge from-layer="36" from-port="2" to-layer="38" to-port="3" />
<edge from-layer="37" from-port="0" to-layer="38" to-port="4" />
<edge from-layer="38" from-port="6" to-layer="39" to-port="0" />
<edge from-layer="38" from-port="5" to-layer="42" to-port="0" />
<edge from-layer="39" from-port="1" to-layer="40" to-port="0" />
<edge from-layer="40" from-port="1" to-layer="41" to-port="0" />
<edge from-layer="42" from-port="1" to-layer="43" to-port="0" />
</edges>
<rt_info>
<eos_token_id value="2" />
</rt_info>
</net>