katuni4ka commited on
Commit
2837b96
1 Parent(s): c043253

add ov tokenizer

Browse files
openvino_detokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64ff598e7e6ef1eb2dd44e1fa0cbd92c8deb8fcb6ef558fa09a335bcbff0214b
3
+ size 541520
openvino_detokenizer.xml ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="detokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_103" type="Parameter" version="opset1">
5
+ <data shape="?,?" element_type="i64" />
6
+ <output>
7
+ <port id="0" precision="I64" names="Parameter_103">
8
+ <dim>-1</dim>
9
+ <dim>-1</dim>
10
+ </port>
11
+ </output>
12
+ </layer>
13
+ <layer id="1" name="Convert_119" type="Convert" version="opset1">
14
+ <data destination_type="i32" />
15
+ <input>
16
+ <port id="0" precision="I64">
17
+ <dim>-1</dim>
18
+ <dim>-1</dim>
19
+ </port>
20
+ </input>
21
+ <output>
22
+ <port id="1" precision="I32">
23
+ <dim>-1</dim>
24
+ <dim>-1</dim>
25
+ </port>
26
+ </output>
27
+ </layer>
28
+ <layer id="2" name="Constant_85" type="Const" version="opset1">
29
+ <data element_type="u8" shape="541471" offset="0" size="541471" />
30
+ <output>
31
+ <port id="0" precision="U8">
32
+ <dim>541471</dim>
33
+ </port>
34
+ </output>
35
+ </layer>
36
+ <layer id="3" name="StringTensorUnpack_86" type="StringTensorUnpack" version="extension">
37
+ <data mode="begins_ends" />
38
+ <input>
39
+ <port id="0" precision="U8">
40
+ <dim>541471</dim>
41
+ </port>
42
+ </input>
43
+ <output>
44
+ <port id="1" precision="I32">
45
+ <dim>-1</dim>
46
+ </port>
47
+ <port id="2" precision="I32">
48
+ <dim>-1</dim>
49
+ </port>
50
+ <port id="3" precision="U8">
51
+ <dim>-1</dim>
52
+ </port>
53
+ </output>
54
+ </layer>
55
+ <layer id="4" name="VocabDecoder_104" type="VocabDecoder" version="extension">
56
+ <data skip_tokens="0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37" />
57
+ <input>
58
+ <port id="0" precision="I32">
59
+ <dim>-1</dim>
60
+ <dim>-1</dim>
61
+ </port>
62
+ <port id="1" precision="I32">
63
+ <dim>-1</dim>
64
+ </port>
65
+ <port id="2" precision="I32">
66
+ <dim>-1</dim>
67
+ </port>
68
+ <port id="3" precision="U8">
69
+ <dim>-1</dim>
70
+ </port>
71
+ </input>
72
+ <output>
73
+ <port id="4" precision="I32">
74
+ <dim>-1</dim>
75
+ </port>
76
+ <port id="5" precision="I32">
77
+ <dim>-1</dim>
78
+ </port>
79
+ <port id="6" precision="I32">
80
+ <dim>-1</dim>
81
+ </port>
82
+ <port id="7" precision="I32">
83
+ <dim>-1</dim>
84
+ </port>
85
+ <port id="8" precision="U8">
86
+ <dim>-1</dim>
87
+ </port>
88
+ </output>
89
+ </layer>
90
+ <layer id="5" name="CharsToBytes_105" type="CharsToBytes" version="extension">
91
+ <input>
92
+ <port id="0" precision="I32">
93
+ <dim>-1</dim>
94
+ </port>
95
+ <port id="1" precision="I32">
96
+ <dim>-1</dim>
97
+ </port>
98
+ <port id="2" precision="I32">
99
+ <dim>-1</dim>
100
+ </port>
101
+ <port id="3" precision="I32">
102
+ <dim>-1</dim>
103
+ </port>
104
+ <port id="4" precision="U8">
105
+ <dim>-1</dim>
106
+ </port>
107
+ </input>
108
+ <output>
109
+ <port id="5" precision="I32">
110
+ <dim>-1</dim>
111
+ </port>
112
+ <port id="6" precision="I32">
113
+ <dim>-1</dim>
114
+ </port>
115
+ <port id="7" precision="U8">
116
+ <dim>-1</dim>
117
+ </port>
118
+ </output>
119
+ </layer>
120
+ <layer id="6" name="Constant_107" type="Const" version="opset1">
121
+ <data element_type="u8" shape="47" offset="541471" size="47" />
122
+ <output>
123
+ <port id="0" precision="U8">
124
+ <dim>47</dim>
125
+ </port>
126
+ </output>
127
+ </layer>
128
+ <layer id="7" name="Constant_109" type="Const" version="opset1">
129
+ <data element_type="u8" shape="2" offset="541518" size="2" />
130
+ <output>
131
+ <port id="0" precision="U8">
132
+ <dim>2</dim>
133
+ </port>
134
+ </output>
135
+ </layer>
136
+ <layer id="8" name="RegexNormalization_110" type="RegexNormalization" version="extension">
137
+ <data global_replace="true" />
138
+ <input>
139
+ <port id="0" precision="I32">
140
+ <dim>-1</dim>
141
+ </port>
142
+ <port id="1" precision="I32">
143
+ <dim>-1</dim>
144
+ </port>
145
+ <port id="2" precision="U8">
146
+ <dim>-1</dim>
147
+ </port>
148
+ <port id="3" precision="U8">
149
+ <dim>47</dim>
150
+ </port>
151
+ <port id="4" precision="U8">
152
+ <dim>2</dim>
153
+ </port>
154
+ </input>
155
+ <output>
156
+ <port id="5" precision="I32">
157
+ <dim>-1</dim>
158
+ </port>
159
+ <port id="6" precision="I32">
160
+ <dim>-1</dim>
161
+ </port>
162
+ <port id="7" precision="U8">
163
+ <dim>-1</dim>
164
+ </port>
165
+ </output>
166
+ </layer>
167
+ <layer id="9" name="StringTensorPack_111" type="StringTensorPack" version="extension">
168
+ <data mode="begins_ends" />
169
+ <input>
170
+ <port id="0" precision="I32">
171
+ <dim>-1</dim>
172
+ </port>
173
+ <port id="1" precision="I32">
174
+ <dim>-1</dim>
175
+ </port>
176
+ <port id="2" precision="U8">
177
+ <dim>-1</dim>
178
+ </port>
179
+ </input>
180
+ <output>
181
+ <port id="3" precision="STRING" names="string_output">
182
+ <dim>-1</dim>
183
+ </port>
184
+ </output>
185
+ </layer>
186
+ <layer id="10" name="Result_112" type="Result" version="opset1">
187
+ <input>
188
+ <port id="0" precision="STRING">
189
+ <dim>-1</dim>
190
+ </port>
191
+ </input>
192
+ </layer>
193
+ </layers>
194
+ <edges>
195
+ <edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
196
+ <edge from-layer="1" from-port="1" to-layer="4" to-port="0" />
197
+ <edge from-layer="2" from-port="0" to-layer="3" to-port="0" />
198
+ <edge from-layer="3" from-port="1" to-layer="4" to-port="1" />
199
+ <edge from-layer="3" from-port="2" to-layer="4" to-port="2" />
200
+ <edge from-layer="3" from-port="3" to-layer="4" to-port="3" />
201
+ <edge from-layer="4" from-port="8" to-layer="5" to-port="4" />
202
+ <edge from-layer="4" from-port="7" to-layer="5" to-port="3" />
203
+ <edge from-layer="4" from-port="6" to-layer="5" to-port="2" />
204
+ <edge from-layer="4" from-port="5" to-layer="5" to-port="1" />
205
+ <edge from-layer="4" from-port="4" to-layer="5" to-port="0" />
206
+ <edge from-layer="5" from-port="5" to-layer="8" to-port="0" />
207
+ <edge from-layer="5" from-port="6" to-layer="8" to-port="1" />
208
+ <edge from-layer="5" from-port="7" to-layer="8" to-port="2" />
209
+ <edge from-layer="6" from-port="0" to-layer="8" to-port="3" />
210
+ <edge from-layer="7" from-port="0" to-layer="8" to-port="4" />
211
+ <edge from-layer="8" from-port="5" to-layer="9" to-port="0" />
212
+ <edge from-layer="8" from-port="6" to-layer="9" to-port="1" />
213
+ <edge from-layer="8" from-port="7" to-layer="9" to-port="2" />
214
+ <edge from-layer="9" from-port="3" to-layer="10" to-port="0" />
215
+ </edges>
216
+ <rt_info>
217
+ <eos_token_id value="0" />
218
+ </rt_info>
219
+ </net>
openvino_tokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebea60b6f66dc3acaef6f18267676d85ef85d56c059190c146561072de340a73
3
+ size 1129894
openvino_tokenizer.xml ADDED
@@ -0,0 +1,618 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="tokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_1" type="Parameter" version="opset1">
5
+ <data shape="?" element_type="string" />
6
+ <output>
7
+ <port id="0" precision="STRING" names="Parameter_1">
8
+ <dim>-1</dim>
9
+ </port>
10
+ </output>
11
+ </layer>
12
+ <layer id="1" name="Constant_7" type="Const" version="opset1">
13
+ <data element_type="i64" shape="" offset="0" size="8" />
14
+ <output>
15
+ <port id="0" precision="I64" />
16
+ </output>
17
+ </layer>
18
+ <layer id="2" name="StringTensorUnpack_2" type="StringTensorUnpack" version="extension">
19
+ <data mode="begins_ends" />
20
+ <input>
21
+ <port id="0" precision="STRING">
22
+ <dim>-1</dim>
23
+ </port>
24
+ </input>
25
+ <output>
26
+ <port id="1" precision="I32">
27
+ <dim>-1</dim>
28
+ </port>
29
+ <port id="2" precision="I32">
30
+ <dim>-1</dim>
31
+ </port>
32
+ <port id="3" precision="U8">
33
+ <dim>-1</dim>
34
+ </port>
35
+ </output>
36
+ </layer>
37
+ <layer id="3" name="ShapeOf_3" type="ShapeOf" version="opset3">
38
+ <data output_type="i64" />
39
+ <input>
40
+ <port id="0" precision="I32">
41
+ <dim>-1</dim>
42
+ </port>
43
+ </input>
44
+ <output>
45
+ <port id="1" precision="I64">
46
+ <dim>1</dim>
47
+ </port>
48
+ </output>
49
+ </layer>
50
+ <layer id="4" name="Constant_4" type="Const" version="opset1">
51
+ <data element_type="i64" shape="" offset="0" size="8" />
52
+ <output>
53
+ <port id="0" precision="I64" />
54
+ </output>
55
+ </layer>
56
+ <layer id="5" name="Constant_5" type="Const" version="opset1">
57
+ <data element_type="i64" shape="" offset="0" size="8" />
58
+ <output>
59
+ <port id="0" precision="I64" />
60
+ </output>
61
+ </layer>
62
+ <layer id="6" name="Gather_6" type="Gather" version="opset8">
63
+ <data batch_dims="0" />
64
+ <input>
65
+ <port id="0" precision="I64">
66
+ <dim>1</dim>
67
+ </port>
68
+ <port id="1" precision="I64" />
69
+ <port id="2" precision="I64" />
70
+ </input>
71
+ <output>
72
+ <port id="3" precision="I64" />
73
+ </output>
74
+ </layer>
75
+ <layer id="7" name="Constant_8" type="Const" version="opset1">
76
+ <data element_type="i64" shape="" offset="8" size="8" />
77
+ <output>
78
+ <port id="0" precision="I64" />
79
+ </output>
80
+ </layer>
81
+ <layer id="8" name="Range_9" type="Range" version="opset4">
82
+ <data output_type="i32" />
83
+ <input>
84
+ <port id="0" precision="I64" />
85
+ <port id="1" precision="I64" />
86
+ <port id="2" precision="I64" />
87
+ </input>
88
+ <output>
89
+ <port id="3" precision="I32">
90
+ <dim>-1</dim>
91
+ </port>
92
+ </output>
93
+ </layer>
94
+ <layer id="9" name="Constant_11" type="Const" version="opset1">
95
+ <data element_type="i64" shape="" offset="8" size="8" />
96
+ <output>
97
+ <port id="0" precision="I64" />
98
+ </output>
99
+ </layer>
100
+ <layer id="10" name="Constant_12" type="Const" version="opset1">
101
+ <data element_type="i64" shape="" offset="8" size="8" />
102
+ <output>
103
+ <port id="0" precision="I64" />
104
+ </output>
105
+ </layer>
106
+ <layer id="11" name="Add_13" type="Add" version="opset1">
107
+ <data auto_broadcast="numpy" />
108
+ <input>
109
+ <port id="0" precision="I64" />
110
+ <port id="1" precision="I64" />
111
+ </input>
112
+ <output>
113
+ <port id="2" precision="I64" />
114
+ </output>
115
+ </layer>
116
+ <layer id="12" name="Constant_14" type="Const" version="opset1">
117
+ <data element_type="i64" shape="" offset="8" size="8" />
118
+ <output>
119
+ <port id="0" precision="I64" />
120
+ </output>
121
+ </layer>
122
+ <layer id="13" name="Range_15" type="Range" version="opset4">
123
+ <data output_type="i32" />
124
+ <input>
125
+ <port id="0" precision="I64" />
126
+ <port id="1" precision="I64" />
127
+ <port id="2" precision="I64" />
128
+ </input>
129
+ <output>
130
+ <port id="3" precision="I32">
131
+ <dim>-1</dim>
132
+ </port>
133
+ </output>
134
+ </layer>
135
+ <layer id="14" name="Constant_78" type="Const" version="opset1">
136
+ <data element_type="u8" shape="20" offset="16" size="20" />
137
+ <output>
138
+ <port id="0" precision="U8">
139
+ <dim>20</dim>
140
+ </port>
141
+ </output>
142
+ </layer>
143
+ <layer id="15" name="RegexSplit_79" type="RegexSplit" version="extension">
144
+ <data behaviour="isolate" invert="false" max_splits="-1" />
145
+ <input>
146
+ <port id="0" precision="I32">
147
+ <dim>-1</dim>
148
+ </port>
149
+ <port id="1" precision="I32">
150
+ <dim>-1</dim>
151
+ </port>
152
+ <port id="2" precision="I32">
153
+ <dim>-1</dim>
154
+ </port>
155
+ <port id="3" precision="I32">
156
+ <dim>-1</dim>
157
+ </port>
158
+ <port id="4" precision="U8">
159
+ <dim>-1</dim>
160
+ </port>
161
+ <port id="5" precision="U8">
162
+ <dim>20</dim>
163
+ </port>
164
+ </input>
165
+ <output>
166
+ <port id="6" precision="I32">
167
+ <dim>-1</dim>
168
+ </port>
169
+ <port id="7" precision="I32">
170
+ <dim>-1</dim>
171
+ </port>
172
+ <port id="8" precision="I32">
173
+ <dim>-1</dim>
174
+ </port>
175
+ <port id="9" precision="I32">
176
+ <dim>-1</dim>
177
+ </port>
178
+ <port id="10" precision="U8">
179
+ <dim>-1</dim>
180
+ </port>
181
+ </output>
182
+ </layer>
183
+ <layer id="16" name="Constant_81" type="Const" version="opset1">
184
+ <data element_type="u8" shape="64" offset="36" size="64" />
185
+ <output>
186
+ <port id="0" precision="U8">
187
+ <dim>64</dim>
188
+ </port>
189
+ </output>
190
+ </layer>
191
+ <layer id="17" name="RegexSplit_82" type="RegexSplit" version="extension">
192
+ <data behaviour="isolate" invert="false" max_splits="-1" />
193
+ <input>
194
+ <port id="0" precision="I32">
195
+ <dim>-1</dim>
196
+ </port>
197
+ <port id="1" precision="I32">
198
+ <dim>-1</dim>
199
+ </port>
200
+ <port id="2" precision="I32">
201
+ <dim>-1</dim>
202
+ </port>
203
+ <port id="3" precision="I32">
204
+ <dim>-1</dim>
205
+ </port>
206
+ <port id="4" precision="U8">
207
+ <dim>-1</dim>
208
+ </port>
209
+ <port id="5" precision="U8">
210
+ <dim>64</dim>
211
+ </port>
212
+ </input>
213
+ <output>
214
+ <port id="6" precision="I32">
215
+ <dim>-1</dim>
216
+ </port>
217
+ <port id="7" precision="I32">
218
+ <dim>-1</dim>
219
+ </port>
220
+ <port id="8" precision="I32">
221
+ <dim>-1</dim>
222
+ </port>
223
+ <port id="9" precision="I32">
224
+ <dim>-1</dim>
225
+ </port>
226
+ <port id="10" precision="U8">
227
+ <dim>-1</dim>
228
+ </port>
229
+ </output>
230
+ </layer>
231
+ <layer id="18" name="BytesToChars_83" type="BytesToChars" version="extension">
232
+ <input>
233
+ <port id="0" precision="I32">
234
+ <dim>-1</dim>
235
+ </port>
236
+ <port id="1" precision="I32">
237
+ <dim>-1</dim>
238
+ </port>
239
+ <port id="2" precision="I32">
240
+ <dim>-1</dim>
241
+ </port>
242
+ <port id="3" precision="I32">
243
+ <dim>-1</dim>
244
+ </port>
245
+ <port id="4" precision="U8">
246
+ <dim>-1</dim>
247
+ </port>
248
+ </input>
249
+ <output>
250
+ <port id="5" precision="I32">
251
+ <dim>-1</dim>
252
+ </port>
253
+ <port id="6" precision="I32">
254
+ <dim>-1</dim>
255
+ </port>
256
+ <port id="7" precision="I32">
257
+ <dim>-1</dim>
258
+ </port>
259
+ <port id="8" precision="I32">
260
+ <dim>-1</dim>
261
+ </port>
262
+ <port id="9" precision="U8">
263
+ <dim>-1</dim>
264
+ </port>
265
+ </output>
266
+ </layer>
267
+ <layer id="19" name="Constant_85" type="Const" version="opset1">
268
+ <data element_type="u8" shape="541471" offset="100" size="541471" />
269
+ <output>
270
+ <port id="0" precision="U8">
271
+ <dim>541471</dim>
272
+ </port>
273
+ </output>
274
+ </layer>
275
+ <layer id="20" name="StringTensorUnpack_86" type="StringTensorUnpack" version="extension">
276
+ <data mode="begins_ends" />
277
+ <input>
278
+ <port id="0" precision="U8">
279
+ <dim>541471</dim>
280
+ </port>
281
+ </input>
282
+ <output>
283
+ <port id="1" precision="I32">
284
+ <dim>-1</dim>
285
+ </port>
286
+ <port id="2" precision="I32">
287
+ <dim>-1</dim>
288
+ </port>
289
+ <port id="3" precision="U8">
290
+ <dim>-1</dim>
291
+ </port>
292
+ </output>
293
+ </layer>
294
+ <layer id="21" name="Constant_88" type="Const" version="opset1">
295
+ <data element_type="u8" shape="588315" offset="541571" size="588315" />
296
+ <output>
297
+ <port id="0" precision="U8">
298
+ <dim>588315</dim>
299
+ </port>
300
+ </output>
301
+ </layer>
302
+ <layer id="22" name="StringTensorUnpack_89" type="StringTensorUnpack" version="extension">
303
+ <data mode="begins_ends" />
304
+ <input>
305
+ <port id="0" precision="U8">
306
+ <dim>588315</dim>
307
+ </port>
308
+ </input>
309
+ <output>
310
+ <port id="1" precision="I32">
311
+ <dim>-1</dim>
312
+ </port>
313
+ <port id="2" precision="I32">
314
+ <dim>-1</dim>
315
+ </port>
316
+ <port id="3" precision="U8">
317
+ <dim>-1</dim>
318
+ </port>
319
+ </output>
320
+ </layer>
321
+ <layer id="23" name="BPETokenizer_90" type="BPETokenizer" version="extension">
322
+ <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" />
323
+ <input>
324
+ <port id="0" precision="I32">
325
+ <dim>-1</dim>
326
+ </port>
327
+ <port id="1" precision="I32">
328
+ <dim>-1</dim>
329
+ </port>
330
+ <port id="2" precision="I32">
331
+ <dim>-1</dim>
332
+ </port>
333
+ <port id="3" precision="I32">
334
+ <dim>-1</dim>
335
+ </port>
336
+ <port id="4" precision="U8">
337
+ <dim>-1</dim>
338
+ </port>
339
+ <port id="5" precision="I32">
340
+ <dim>-1</dim>
341
+ </port>
342
+ <port id="6" precision="I32">
343
+ <dim>-1</dim>
344
+ </port>
345
+ <port id="7" precision="U8">
346
+ <dim>-1</dim>
347
+ </port>
348
+ <port id="8" precision="I32">
349
+ <dim>-1</dim>
350
+ </port>
351
+ <port id="9" precision="I32">
352
+ <dim>-1</dim>
353
+ </port>
354
+ <port id="10" precision="U8">
355
+ <dim>-1</dim>
356
+ </port>
357
+ </input>
358
+ <output>
359
+ <port id="11" precision="I32">
360
+ <dim>-1</dim>
361
+ </port>
362
+ <port id="12" precision="I32">
363
+ <dim>-1</dim>
364
+ </port>
365
+ <port id="13" precision="I32">
366
+ <dim>-1</dim>
367
+ </port>
368
+ </output>
369
+ </layer>
370
+ <layer id="24" name="Subtract_91" type="Subtract" version="opset1">
371
+ <data auto_broadcast="numpy" />
372
+ <input>
373
+ <port id="0" precision="I32">
374
+ <dim>-1</dim>
375
+ </port>
376
+ <port id="1" precision="I32">
377
+ <dim>-1</dim>
378
+ </port>
379
+ </input>
380
+ <output>
381
+ <port id="2" precision="I32">
382
+ <dim>-1</dim>
383
+ </port>
384
+ </output>
385
+ </layer>
386
+ <layer id="25" name="Constant_92" type="Const" version="opset1">
387
+ <data element_type="i32" shape="" offset="1129886" size="4" />
388
+ <output>
389
+ <port id="0" precision="I32" />
390
+ </output>
391
+ </layer>
392
+ <layer id="26" name="Minimum_93" type="Minimum" version="opset1">
393
+ <data auto_broadcast="numpy" />
394
+ <input>
395
+ <port id="0" precision="I32">
396
+ <dim>-1</dim>
397
+ </port>
398
+ <port id="1" precision="I32" />
399
+ </input>
400
+ <output>
401
+ <port id="2" precision="I32">
402
+ <dim>-1</dim>
403
+ </port>
404
+ </output>
405
+ </layer>
406
+ <layer id="27" name="Add_94" type="Add" version="opset1">
407
+ <data auto_broadcast="numpy" />
408
+ <input>
409
+ <port id="0" precision="I32">
410
+ <dim>-1</dim>
411
+ </port>
412
+ <port id="1" precision="I32">
413
+ <dim>-1</dim>
414
+ </port>
415
+ </input>
416
+ <output>
417
+ <port id="2" precision="I32">
418
+ <dim>-1</dim>
419
+ </port>
420
+ </output>
421
+ </layer>
422
+ <layer id="28" name="Subtract_95" type="Subtract" version="opset1">
423
+ <data auto_broadcast="numpy" />
424
+ <input>
425
+ <port id="0" precision="I32">
426
+ <dim>-1</dim>
427
+ </port>
428
+ <port id="1" precision="I32">
429
+ <dim>-1</dim>
430
+ </port>
431
+ </input>
432
+ <output>
433
+ <port id="2" precision="I32">
434
+ <dim>-1</dim>
435
+ </port>
436
+ </output>
437
+ </layer>
438
+ <layer id="29" name="Constant_96" type="Const" version="opset1">
439
+ <data element_type="i32" shape="" offset="1129890" size="4" />
440
+ <output>
441
+ <port id="0" precision="I32" />
442
+ </output>
443
+ </layer>
444
+ <layer id="30" name="ReduceMax_97" type="ReduceMax" version="opset1">
445
+ <data keep_dims="false" />
446
+ <input>
447
+ <port id="0" precision="I32">
448
+ <dim>-1</dim>
449
+ </port>
450
+ <port id="1" precision="I32" />
451
+ </input>
452
+ <output>
453
+ <port id="2" precision="I32" />
454
+ </output>
455
+ </layer>
456
+ <layer id="31" name="Constant_98" type="Const" version="opset1">
457
+ <data element_type="i32" shape="" offset="1129890" size="4" />
458
+ <output>
459
+ <port id="0" precision="I32" />
460
+ </output>
461
+ </layer>
462
+ <layer id="32" name="RaggedToDense_99" type="RaggedToDense" version="extension">
463
+ <data pad_right="true" />
464
+ <input>
465
+ <port id="0" precision="I32">
466
+ <dim>-1</dim>
467
+ </port>
468
+ <port id="1" precision="I32">
469
+ <dim>-1</dim>
470
+ </port>
471
+ <port id="2" precision="I32">
472
+ <dim>-1</dim>
473
+ </port>
474
+ <port id="3" precision="I32" />
475
+ <port id="4" precision="I32" />
476
+ </input>
477
+ <output>
478
+ <port id="5" precision="I32">
479
+ <dim>-1</dim>
480
+ <dim>-1</dim>
481
+ </port>
482
+ <port id="6" precision="BOOL">
483
+ <dim>-1</dim>
484
+ <dim>-1</dim>
485
+ </port>
486
+ </output>
487
+ </layer>
488
+ <layer id="33" name="Convert_100" type="Convert" version="opset1">
489
+ <data destination_type="i32" />
490
+ <input>
491
+ <port id="0" precision="BOOL">
492
+ <dim>-1</dim>
493
+ <dim>-1</dim>
494
+ </port>
495
+ </input>
496
+ <output>
497
+ <port id="1" precision="I32">
498
+ <dim>-1</dim>
499
+ <dim>-1</dim>
500
+ </port>
501
+ </output>
502
+ </layer>
503
+ <layer id="34" name="Convert_100" type="Convert" version="opset1">
504
+ <data destination_type="i64" />
505
+ <input>
506
+ <port id="0" precision="I32">
507
+ <dim>-1</dim>
508
+ <dim>-1</dim>
509
+ </port>
510
+ </input>
511
+ <output>
512
+ <port id="1" precision="I64" names="attention_mask">
513
+ <dim>-1</dim>
514
+ <dim>-1</dim>
515
+ </port>
516
+ </output>
517
+ </layer>
518
+ <layer id="36" name="RaggedToDense_99.0" type="Convert" version="opset1">
519
+ <data destination_type="i64" />
520
+ <input>
521
+ <port id="0" precision="I32">
522
+ <dim>-1</dim>
523
+ <dim>-1</dim>
524
+ </port>
525
+ </input>
526
+ <output>
527
+ <port id="1" precision="I64" names="input_ids">
528
+ <dim>-1</dim>
529
+ <dim>-1</dim>
530
+ </port>
531
+ </output>
532
+ </layer>
533
+ <layer id="37" name="Result_101" type="Result" version="opset1">
534
+ <input>
535
+ <port id="0" precision="I64">
536
+ <dim>-1</dim>
537
+ <dim>-1</dim>
538
+ </port>
539
+ </input>
540
+ </layer>
541
+ <layer id="35" name="Result_102" type="Result" version="opset1">
542
+ <input>
543
+ <port id="0" precision="I64">
544
+ <dim>-1</dim>
545
+ <dim>-1</dim>
546
+ </port>
547
+ </input>
548
+ </layer>
549
+ </layers>
550
+ <edges>
551
+ <edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
552
+ <edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
553
+ <edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
554
+ <edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
555
+ <edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
556
+ <edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
557
+ <edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
558
+ <edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
559
+ <edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
560
+ <edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
561
+ <edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
562
+ <edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
563
+ <edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
564
+ <edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
565
+ <edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
566
+ <edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
567
+ <edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
568
+ <edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
569
+ <edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
570
+ <edge from-layer="15" from-port="7" to-layer="17" to-port="1" />
571
+ <edge from-layer="15" from-port="10" to-layer="17" to-port="4" />
572
+ <edge from-layer="15" from-port="9" to-layer="17" to-port="3" />
573
+ <edge from-layer="15" from-port="8" to-layer="17" to-port="2" />
574
+ <edge from-layer="15" from-port="6" to-layer="17" to-port="0" />
575
+ <edge from-layer="16" from-port="0" to-layer="17" to-port="5" />
576
+ <edge from-layer="17" from-port="6" to-layer="18" to-port="0" />
577
+ <edge from-layer="17" from-port="7" to-layer="18" to-port="1" />
578
+ <edge from-layer="17" from-port="8" to-layer="18" to-port="2" />
579
+ <edge from-layer="17" from-port="9" to-layer="18" to-port="3" />
580
+ <edge from-layer="17" from-port="10" to-layer="18" to-port="4" />
581
+ <edge from-layer="18" from-port="5" to-layer="23" to-port="0" />
582
+ <edge from-layer="18" from-port="6" to-layer="23" to-port="1" />
583
+ <edge from-layer="18" from-port="7" to-layer="23" to-port="2" />
584
+ <edge from-layer="18" from-port="8" to-layer="23" to-port="3" />
585
+ <edge from-layer="18" from-port="9" to-layer="23" to-port="4" />
586
+ <edge from-layer="19" from-port="0" to-layer="20" to-port="0" />
587
+ <edge from-layer="20" from-port="3" to-layer="23" to-port="7" />
588
+ <edge from-layer="20" from-port="2" to-layer="23" to-port="6" />
589
+ <edge from-layer="20" from-port="1" to-layer="23" to-port="5" />
590
+ <edge from-layer="21" from-port="0" to-layer="22" to-port="0" />
591
+ <edge from-layer="22" from-port="2" to-layer="23" to-port="9" />
592
+ <edge from-layer="22" from-port="3" to-layer="23" to-port="10" />
593
+ <edge from-layer="22" from-port="1" to-layer="23" to-port="8" />
594
+ <edge from-layer="23" from-port="12" to-layer="24" to-port="0" />
595
+ <edge from-layer="23" from-port="11" to-layer="24" to-port="1" />
596
+ <edge from-layer="23" from-port="11" to-layer="27" to-port="0" />
597
+ <edge from-layer="23" from-port="11" to-layer="28" to-port="1" />
598
+ <edge from-layer="23" from-port="13" to-layer="32" to-port="2" />
599
+ <edge from-layer="23" from-port="11" to-layer="32" to-port="0" />
600
+ <edge from-layer="24" from-port="2" to-layer="26" to-port="0" />
601
+ <edge from-layer="25" from-port="0" to-layer="26" to-port="1" />
602
+ <edge from-layer="26" from-port="2" to-layer="27" to-port="1" />
603
+ <edge from-layer="27" from-port="2" to-layer="28" to-port="0" />
604
+ <edge from-layer="27" from-port="2" to-layer="32" to-port="1" />
605
+ <edge from-layer="28" from-port="2" to-layer="30" to-port="0" />
606
+ <edge from-layer="29" from-port="0" to-layer="30" to-port="1" />
607
+ <edge from-layer="30" from-port="2" to-layer="32" to-port="3" />
608
+ <edge from-layer="31" from-port="0" to-layer="32" to-port="4" />
609
+ <edge from-layer="32" from-port="6" to-layer="33" to-port="0" />
610
+ <edge from-layer="32" from-port="5" to-layer="36" to-port="0" />
611
+ <edge from-layer="33" from-port="1" to-layer="34" to-port="0" />
612
+ <edge from-layer="34" from-port="1" to-layer="35" to-port="0" />
613
+ <edge from-layer="36" from-port="1" to-layer="37" to-port="0" />
614
+ </edges>
615
+ <rt_info>
616
+ <eos_token_id value="0" />
617
+ </rt_info>
618
+ </net>