|
<?xml version="1.0"?> |
|
<net name="tokenizer" version="11"> |
|
<layers> |
|
<layer id="0" name="string_input" type="Parameter" version="opset1"> |
|
<data shape="?" element_type="string" /> |
|
<output> |
|
<port id="0" precision="STRING" names="string_input"> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="1" name="Constant_429437" 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_429379" type="Const" version="opset1"> |
|
<data element_type="u8" shape="1018544" offset="4" size="1018544" /> |
|
<output> |
|
<port id="0" precision="U8"> |
|
<dim>1018544</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="3" name="Constant_429383" type="Const" version="opset1"> |
|
<data element_type="u8" shape="143" offset="1018548" size="143" /> |
|
<output> |
|
<port id="0" precision="U8"> |
|
<dim>143</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="4" name="StringTensorUnpack_429384" type="StringTensorUnpack" version="extension"> |
|
<data mode="begins_ends" /> |
|
<input> |
|
<port id="0" precision="U8"> |
|
<dim>143</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="5" name="Constant_429385" type="Const" version="opset1"> |
|
<data element_type="i32" shape="12" offset="1018691" size="48" /> |
|
<output> |
|
<port id="0" precision="I32"> |
|
<dim>12</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="6" name="SentencepieceTokenizer_429386" type="SentencepieceTokenizer" version="extension"> |
|
<data nbest_size="0" alpha="0" add_bos="false" add_eos="false" reverse="true" /> |
|
<input> |
|
<port id="0" precision="U8"> |
|
<dim>1018544</dim> |
|
</port> |
|
<port id="1" precision="STRING"> |
|
<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>12</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="6" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="7" precision="I32"> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="8" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="7" name="Constant_429395" type="Const" version="opset1"> |
|
<data element_type="i64" shape="2" offset="1018739" size="16" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="8" name="Convert_429396" type="Convert" version="opset1"> |
|
<data destination_type="i64" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="9" name="Add_429397" type="Add" version="opset1"> |
|
<data auto_broadcast="numpy" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="10" name="Constant_429402" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="11" name="Constant_429403" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018763" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="12" name="Constant_429404" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018763" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="13" name="Constant_429406" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="14" name="Slice_429405" type="Slice" version="opset8"> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="2" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="3" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="4" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="5" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="15" name="Constant_429438" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018771" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="16" name="Concat_429439" type="Concat" version="opset1"> |
|
<data axis="0" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="17" name="Broadcast_429440" type="Broadcast" version="opset3"> |
|
<data mode="numpy" /> |
|
<input> |
|
<port id="0" precision="I32" /> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="18" name="Constant_429387" type="Const" version="opset1"> |
|
<data element_type="i32" shape="" offset="1018779" size="4" /> |
|
<output> |
|
<port id="0" precision="I32" /> |
|
</output> |
|
</layer> |
|
<layer id="19" name="Broadcast_429388" type="Broadcast" version="opset3"> |
|
<data mode="numpy" /> |
|
<input> |
|
<port id="0" precision="I32" /> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="20" name="Constant_429389" type="Const" version="opset1"> |
|
<data element_type="i32" shape="" offset="0" size="4" /> |
|
<output> |
|
<port id="0" precision="I32" /> |
|
</output> |
|
</layer> |
|
<layer id="21" name="ShapeOf_429390" 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="22" name="Broadcast_429391" type="Broadcast" version="opset3"> |
|
<data mode="numpy" /> |
|
<input> |
|
<port id="0" precision="I32" /> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="23" name="ScatterNDUpdate_429394" type="ScatterNDUpdate" version="opset4"> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="3" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="24" name="Concat_429441" type="Concat" version="opset1"> |
|
<data axis="1" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="25" name="Constant_429445" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018783" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="26" name="Reverse_429446" type="Reverse" version="opset1"> |
|
<data mode="index" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="27" name="Reverse_429446" 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="29" name="Constant_429442" type="Const" version="opset1"> |
|
<data element_type="i32" shape="" offset="1018779" size="4" /> |
|
<output> |
|
<port id="0" precision="I32" /> |
|
</output> |
|
</layer> |
|
<layer id="30" name="Broadcast_429443" type="Broadcast" version="opset3"> |
|
<data mode="bidirectional" /> |
|
<input> |
|
<port id="0" precision="I32" /> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="31" name="Constant_429417" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="32" name="Constant_429399" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="33" name="Constant_429400" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="34" name="Gather_429401" type="Gather" version="opset8"> |
|
<data batch_dims="0" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64" /> |
|
<port id="2" precision="I64" /> |
|
</input> |
|
<output> |
|
<port id="3" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="35" name="Constant_429418" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018763" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="36" name="Range_429419" type="Range" version="opset4"> |
|
<data output_type="i64" /> |
|
<input> |
|
<port id="0" precision="I64" /> |
|
<port id="1" precision="I64" /> |
|
<port id="2" precision="I64" /> |
|
</input> |
|
<output> |
|
<port id="3" precision="I64"> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="37" name="Constant_429420" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018771" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="38" name="Concat_429421" type="Concat" version="opset1"> |
|
<data axis="0" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="39" name="Broadcast_429422" type="Broadcast" version="opset3"> |
|
<data mode="bidirectional" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>2</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="40" name="Constant_429423" type="Const" version="opset1"> |
|
<data element_type="i64" shape="2" offset="1018791" size="16" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="41" name="Transpose_429424" type="Transpose" version="opset1"> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="42" name="Constant_429425" type="Const" version="opset1"> |
|
<data element_type="i64" shape="2" offset="1018807" size="16" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="43" name="Reshape_429426" type="Reshape" version="opset1"> |
|
<data special_zero="false" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="44" name="Constant_429427" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018783" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="45" name="ReduceSum_429428" type="ReduceSum" version="opset1"> |
|
<data keep_dims="true" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64" /> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="46" name="Convert_429429" 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"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="47" name="Constant_429413" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018755" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="48" name="Constant_429414" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018771" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="49" name="Constant_429415" type="Const" version="opset1"> |
|
<data element_type="i64" shape="" offset="1018763" size="8" /> |
|
<output> |
|
<port id="0" precision="I64" /> |
|
</output> |
|
</layer> |
|
<layer id="50" name="Range_429416" type="Range" version="opset4"> |
|
<data output_type="i64" /> |
|
<input> |
|
<port id="0" precision="I64" /> |
|
<port id="1" precision="I64" /> |
|
<port id="2" precision="I64" /> |
|
</input> |
|
<output> |
|
<port id="3" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="51" name="Constant_429430" type="Const" version="opset1"> |
|
<data element_type="i64" shape="2" offset="1018823" size="16" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="52" name="Reshape_429431" type="Reshape" version="opset1"> |
|
<data special_zero="false" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="53" name="Add_429432" type="Add" version="opset1"> |
|
<data auto_broadcast="numpy" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="54" name="Constant_429433" type="Const" version="opset1"> |
|
<data element_type="i64" shape="2" offset="1018807" size="16" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="55" name="Reshape_429434" type="Reshape" version="opset1"> |
|
<data special_zero="false" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="56" name="Concat_429435" type="Concat" version="opset1"> |
|
<data axis="1" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="57" name="Concat_429436" type="Concat" version="opset1"> |
|
<data axis="0" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="58" name="Constant_429398" type="Const" version="opset1"> |
|
<data element_type="i32" shape="1, 2" offset="1018839" size="8" /> |
|
<output> |
|
<port id="0" precision="I32"> |
|
<dim>1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="59" name="Constant_429407" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018771" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="60" name="Concat_429408" type="Concat" version="opset1"> |
|
<data axis="0" /> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="61" name="Broadcast_429409" type="Broadcast" version="opset3"> |
|
<data mode="bidirectional" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>2</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="62" name="Constant_429410" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018783" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="63" name="Reshape_429411" type="Reshape" version="opset1"> |
|
<data special_zero="false" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="64" name="Concat_429412" type="Concat" version="opset1"> |
|
<data axis="0" /> |
|
<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="65" name="ScatterNDUpdate_429444" type="ScatterNDUpdate" version="opset4"> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>2</dim> |
|
</port> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="3" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="66" name="Constant_429447" type="Const" version="opset1"> |
|
<data element_type="i64" shape="1" offset="1018783" size="8" /> |
|
<output> |
|
<port id="0" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="67" name="Reverse_429448" type="Reverse" version="opset1"> |
|
<data mode="index" /> |
|
<input> |
|
<port id="0" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
<port id="1" precision="I64"> |
|
<dim>1</dim> |
|
</port> |
|
</input> |
|
<output> |
|
<port id="2" precision="I32"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</output> |
|
</layer> |
|
<layer id="68" name="Reverse_429448" 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="69" name="Result_429449" type="Result" version="opset1"> |
|
<input> |
|
<port id="0" precision="I64"> |
|
<dim>-1</dim> |
|
<dim>-1</dim> |
|
</port> |
|
</input> |
|
</layer> |
|
<layer id="28" name="Result_429450" 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="6" to-port="1" /> |
|
<edge from-layer="1" from-port="0" to-layer="17" to-port="0" /> |
|
<edge from-layer="2" from-port="0" to-layer="6" to-port="0" /> |
|
<edge from-layer="3" from-port="0" to-layer="4" to-port="0" /> |
|
<edge from-layer="4" from-port="1" to-layer="6" to-port="2" /> |
|
<edge from-layer="4" from-port="2" to-layer="6" to-port="3" /> |
|
<edge from-layer="4" from-port="3" to-layer="6" to-port="4" /> |
|
<edge from-layer="5" from-port="0" to-layer="6" to-port="5" /> |
|
<edge from-layer="6" from-port="8" to-layer="9" to-port="0" /> |
|
<edge from-layer="6" from-port="7" to-layer="64" to-port="0" /> |
|
<edge from-layer="6" from-port="6" to-layer="23" to-port="1" /> |
|
<edge from-layer="6" from-port="6" to-layer="57" to-port="0" /> |
|
<edge from-layer="6" from-port="7" to-layer="21" to-port="0" /> |
|
<edge from-layer="6" from-port="8" to-layer="19" to-port="1" /> |
|
<edge from-layer="7" from-port="0" to-layer="8" to-port="0" /> |
|
<edge from-layer="8" from-port="1" to-layer="9" to-port="1" /> |
|
<edge from-layer="9" from-port="2" to-layer="34" to-port="0" /> |
|
<edge from-layer="9" from-port="2" to-layer="30" to-port="1" /> |
|
<edge from-layer="9" from-port="2" to-layer="14" to-port="0" /> |
|
<edge from-layer="10" from-port="0" to-layer="14" to-port="1" /> |
|
<edge from-layer="11" from-port="0" to-layer="14" to-port="2" /> |
|
<edge from-layer="12" from-port="0" to-layer="14" to-port="3" /> |
|
<edge from-layer="13" from-port="0" to-layer="14" to-port="4" /> |
|
<edge from-layer="14" from-port="5" to-layer="16" to-port="0" /> |
|
<edge from-layer="14" from-port="5" to-layer="60" to-port="0" /> |
|
<edge from-layer="14" from-port="5" to-layer="38" to-port="1" /> |
|
<edge from-layer="15" from-port="0" to-layer="16" to-port="1" /> |
|
<edge from-layer="16" from-port="2" to-layer="17" to-port="1" /> |
|
<edge from-layer="17" from-port="2" to-layer="24" to-port="0" /> |
|
<edge from-layer="18" from-port="0" to-layer="19" to-port="0" /> |
|
<edge from-layer="19" from-port="2" to-layer="23" to-port="0" /> |
|
<edge from-layer="20" from-port="0" to-layer="22" to-port="0" /> |
|
<edge from-layer="21" from-port="1" to-layer="22" to-port="1" /> |
|
<edge from-layer="22" from-port="2" to-layer="23" to-port="2" /> |
|
<edge from-layer="23" from-port="3" to-layer="24" to-port="1" /> |
|
<edge from-layer="23" from-port="3" to-layer="45" to-port="0" /> |
|
<edge from-layer="24" from-port="2" to-layer="26" to-port="0" /> |
|
<edge from-layer="25" from-port="0" to-layer="26" to-port="1" /> |
|
<edge from-layer="26" from-port="2" to-layer="27" to-port="0" /> |
|
<edge from-layer="27" from-port="1" to-layer="28" to-port="0" /> |
|
<edge from-layer="29" from-port="0" to-layer="30" to-port="0" /> |
|
<edge from-layer="30" from-port="2" to-layer="65" to-port="0" /> |
|
<edge from-layer="31" from-port="0" to-layer="36" to-port="0" /> |
|
<edge from-layer="32" from-port="0" to-layer="34" to-port="1" /> |
|
<edge from-layer="33" from-port="0" to-layer="34" to-port="2" /> |
|
<edge from-layer="34" from-port="3" to-layer="36" to-port="1" /> |
|
<edge from-layer="35" from-port="0" to-layer="36" to-port="2" /> |
|
<edge from-layer="36" from-port="3" to-layer="39" to-port="0" /> |
|
<edge from-layer="37" from-port="0" to-layer="38" to-port="0" /> |
|
<edge from-layer="38" from-port="2" to-layer="39" to-port="1" /> |
|
<edge from-layer="39" from-port="2" to-layer="41" to-port="0" /> |
|
<edge from-layer="40" from-port="0" to-layer="41" to-port="1" /> |
|
<edge from-layer="41" from-port="2" to-layer="43" to-port="0" /> |
|
<edge from-layer="42" from-port="0" to-layer="43" to-port="1" /> |
|
<edge from-layer="43" from-port="2" to-layer="56" to-port="0" /> |
|
<edge from-layer="44" from-port="0" to-layer="45" to-port="1" /> |
|
<edge from-layer="45" from-port="2" to-layer="46" to-port="0" /> |
|
<edge from-layer="46" from-port="1" to-layer="53" to-port="0" /> |
|
<edge from-layer="47" from-port="0" to-layer="50" to-port="0" /> |
|
<edge from-layer="48" from-port="0" to-layer="50" to-port="1" /> |
|
<edge from-layer="49" from-port="0" to-layer="50" to-port="2" /> |
|
<edge from-layer="50" from-port="3" to-layer="52" to-port="0" /> |
|
<edge from-layer="51" from-port="0" to-layer="52" to-port="1" /> |
|
<edge from-layer="52" from-port="2" to-layer="53" to-port="1" /> |
|
<edge from-layer="53" from-port="2" to-layer="55" to-port="0" /> |
|
<edge from-layer="54" from-port="0" to-layer="55" to-port="1" /> |
|
<edge from-layer="55" from-port="2" to-layer="56" to-port="1" /> |
|
<edge from-layer="56" from-port="2" to-layer="57" to-port="1" /> |
|
<edge from-layer="57" from-port="2" to-layer="65" to-port="1" /> |
|
<edge from-layer="58" from-port="0" to-layer="61" to-port="0" /> |
|
<edge from-layer="59" from-port="0" to-layer="60" to-port="1" /> |
|
<edge from-layer="60" from-port="2" to-layer="61" to-port="1" /> |
|
<edge from-layer="61" from-port="2" to-layer="63" to-port="0" /> |
|
<edge from-layer="62" from-port="0" to-layer="63" to-port="1" /> |
|
<edge from-layer="63" from-port="2" to-layer="64" to-port="1" /> |
|
<edge from-layer="64" from-port="2" to-layer="65" to-port="2" /> |
|
<edge from-layer="65" from-port="3" to-layer="67" to-port="0" /> |
|
<edge from-layer="66" from-port="0" to-layer="67" to-port="1" /> |
|
<edge from-layer="67" from-port="2" to-layer="68" to-port="0" /> |
|
<edge from-layer="68" from-port="1" to-layer="69" to-port="0" /> |
|
</edges> |
|
<rt_info> |
|
<add_attention_mask value="True" /> |
|
<add_prefix_space /> |
|
<add_special_tokens value="True" /> |
|
<chat_template value="{% for message in messages %}{% if loop.first %}[gMASK]sop<|{{ message['role'] }}|> {{ message['content'] }}{% else %}<|{{ message['role'] }}|> {{ message['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>{% endif %}" /> |
|
<clean_up_tokenization_spaces value="False" /> |
|
<detokenizer_input_type value="i64" /> |
|
<eos_token_id value="2" /> |
|
<handle_special_tokens_with_re value="True" /> |
|
<number_of_inputs value="1" /> |
|
<openvino_tokenizers_version value="2024.5.0.0.dev20241030" /> |
|
<openvino_version value="2024.5.0.dev20241030" /> |
|
<original_tokenizer_class value="<class 'transformers_modules.THUDM.chatglm3-6b.67d005d386a01d4825649743f41e90f83edd6094.tokenization_chatglm.ChatGLMTokenizer'>" /> |
|
<pad_token_id value="0" /> |
|
<sentencepiece_version value="0.2.0" /> |
|
<skip_special_tokens value="True" /> |
|
<streaming_detokenizer value="False" /> |
|
<tiktoken_version value="0.8.0" /> |
|
<tokenizer_output_type value="i64" /> |
|
<tokenizers_version value="0.20.1" /> |
|
<transformers_version value="4.45.2" /> |
|
<use_max_padding value="False" /> |
|
<use_sentencepiece_backend value="False" /> |
|
<utf8_replace_mode /> |
|
<with_detokenizer value="True" /> |
|
</rt_info> |
|
</net> |
|
|