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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<net name="tokenizer" version="11">
|
3 |
+
<layers>
|
4 |
+
<layer id="0" name="Parameter_160951" type="Parameter" version="opset1">
|
5 |
+
<data shape="?" element_type="string" />
|
6 |
+
<output>
|
7 |
+
<port id="0" precision="STRING" names="Parameter_160951">
|
8 |
+
<dim>-1</dim>
|
9 |
+
</port>
|
10 |
+
</output>
|
11 |
+
</layer>
|
12 |
+
<layer id="1" name="Constant_160957" 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_160952" 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_160953" 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_160954" 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_160955" 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_160956" 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_160958" 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_160959" 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_160960" 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_160961" 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_160962" 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_160963" 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_160964" 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_161026" type="Const" version="opset1">
|
136 |
+
<data element_type="u8" shape="328" offset="16" size="328" />
|
137 |
+
<output>
|
138 |
+
<port id="0" precision="U8">
|
139 |
+
<dim>328</dim>
|
140 |
+
</port>
|
141 |
+
</output>
|
142 |
+
</layer>
|
143 |
+
<layer id="15" name="SpecialTokensSplit_161027" type="SpecialTokensSplit" version="extension">
|
144 |
+
<input>
|
145 |
+
<port id="0" precision="I32">
|
146 |
+
<dim>-1</dim>
|
147 |
+
</port>
|
148 |
+
<port id="1" precision="I32">
|
149 |
+
<dim>-1</dim>
|
150 |
+
</port>
|
151 |
+
<port id="2" precision="I32">
|
152 |
+
<dim>-1</dim>
|
153 |
+
</port>
|
154 |
+
<port id="3" precision="I32">
|
155 |
+
<dim>-1</dim>
|
156 |
+
</port>
|
157 |
+
<port id="4" precision="U8">
|
158 |
+
<dim>-1</dim>
|
159 |
+
</port>
|
160 |
+
<port id="5" precision="U8">
|
161 |
+
<dim>328</dim>
|
162 |
+
</port>
|
163 |
+
</input>
|
164 |
+
<output>
|
165 |
+
<port id="6" precision="I32">
|
166 |
+
<dim>-1</dim>
|
167 |
+
</port>
|
168 |
+
<port id="7" precision="I32">
|
169 |
+
<dim>-1</dim>
|
170 |
+
</port>
|
171 |
+
<port id="8" precision="I32">
|
172 |
+
<dim>-1</dim>
|
173 |
+
</port>
|
174 |
+
<port id="9" precision="I32">
|
175 |
+
<dim>-1</dim>
|
176 |
+
</port>
|
177 |
+
<port id="10" precision="U8">
|
178 |
+
<dim>-1</dim>
|
179 |
+
</port>
|
180 |
+
<port id="11" precision="BOOL">
|
181 |
+
<dim>-1</dim>
|
182 |
+
</port>
|
183 |
+
</output>
|
184 |
+
</layer>
|
185 |
+
<layer id="16" name="Constant_161029" type="Const" version="opset1">
|
186 |
+
<data element_type="u8" shape="7" offset="344" size="7" />
|
187 |
+
<output>
|
188 |
+
<port id="0" precision="U8">
|
189 |
+
<dim>7</dim>
|
190 |
+
</port>
|
191 |
+
</output>
|
192 |
+
</layer>
|
193 |
+
<layer id="17" name="Constant_161031" type="Const" version="opset1">
|
194 |
+
<data element_type="u8" shape="5" offset="351" size="5" />
|
195 |
+
<output>
|
196 |
+
<port id="0" precision="U8">
|
197 |
+
<dim>5</dim>
|
198 |
+
</port>
|
199 |
+
</output>
|
200 |
+
</layer>
|
201 |
+
<layer id="18" name="RegexNormalization_161032" type="RegexNormalization" version="extension">
|
202 |
+
<data global_replace="true" />
|
203 |
+
<input>
|
204 |
+
<port id="0" precision="I32">
|
205 |
+
<dim>-1</dim>
|
206 |
+
</port>
|
207 |
+
<port id="1" precision="I32">
|
208 |
+
<dim>-1</dim>
|
209 |
+
</port>
|
210 |
+
<port id="2" precision="U8">
|
211 |
+
<dim>-1</dim>
|
212 |
+
</port>
|
213 |
+
<port id="3" precision="BOOL">
|
214 |
+
<dim>-1</dim>
|
215 |
+
</port>
|
216 |
+
<port id="4" precision="U8">
|
217 |
+
<dim>7</dim>
|
218 |
+
</port>
|
219 |
+
<port id="5" precision="U8">
|
220 |
+
<dim>5</dim>
|
221 |
+
</port>
|
222 |
+
</input>
|
223 |
+
<output>
|
224 |
+
<port id="6" precision="I32">
|
225 |
+
<dim>-1</dim>
|
226 |
+
</port>
|
227 |
+
<port id="7" precision="I32">
|
228 |
+
<dim>-1</dim>
|
229 |
+
</port>
|
230 |
+
<port id="8" precision="U8">
|
231 |
+
<dim>-1</dim>
|
232 |
+
</port>
|
233 |
+
<port id="9" precision="BOOL">
|
234 |
+
<dim>-1</dim>
|
235 |
+
</port>
|
236 |
+
</output>
|
237 |
+
</layer>
|
238 |
+
<layer id="19" name="Constant_161034" type="Const" version="opset1">
|
239 |
+
<data element_type="u8" shape="1" offset="356" size="1" />
|
240 |
+
<output>
|
241 |
+
<port id="0" precision="U8">
|
242 |
+
<dim>1</dim>
|
243 |
+
</port>
|
244 |
+
</output>
|
245 |
+
</layer>
|
246 |
+
<layer id="20" name="Constant_161036" type="Const" version="opset1">
|
247 |
+
<data element_type="u8" shape="3" offset="357" size="3" />
|
248 |
+
<output>
|
249 |
+
<port id="0" precision="U8">
|
250 |
+
<dim>3</dim>
|
251 |
+
</port>
|
252 |
+
</output>
|
253 |
+
</layer>
|
254 |
+
<layer id="21" name="RegexNormalization_161037" type="RegexNormalization" version="extension">
|
255 |
+
<data global_replace="true" />
|
256 |
+
<input>
|
257 |
+
<port id="0" precision="I32">
|
258 |
+
<dim>-1</dim>
|
259 |
+
</port>
|
260 |
+
<port id="1" precision="I32">
|
261 |
+
<dim>-1</dim>
|
262 |
+
</port>
|
263 |
+
<port id="2" precision="U8">
|
264 |
+
<dim>-1</dim>
|
265 |
+
</port>
|
266 |
+
<port id="3" precision="BOOL">
|
267 |
+
<dim>-1</dim>
|
268 |
+
</port>
|
269 |
+
<port id="4" precision="U8">
|
270 |
+
<dim>1</dim>
|
271 |
+
</port>
|
272 |
+
<port id="5" precision="U8">
|
273 |
+
<dim>3</dim>
|
274 |
+
</port>
|
275 |
+
</input>
|
276 |
+
<output>
|
277 |
+
<port id="6" precision="I32">
|
278 |
+
<dim>-1</dim>
|
279 |
+
</port>
|
280 |
+
<port id="7" precision="I32">
|
281 |
+
<dim>-1</dim>
|
282 |
+
</port>
|
283 |
+
<port id="8" precision="U8">
|
284 |
+
<dim>-1</dim>
|
285 |
+
</port>
|
286 |
+
<port id="9" precision="BOOL">
|
287 |
+
<dim>-1</dim>
|
288 |
+
</port>
|
289 |
+
</output>
|
290 |
+
</layer>
|
291 |
+
<layer id="22" name="Constant_161039" type="Const" version="opset1">
|
292 |
+
<data element_type="u8" shape="339140" offset="360" size="339140" />
|
293 |
+
<output>
|
294 |
+
<port id="0" precision="U8">
|
295 |
+
<dim>339140</dim>
|
296 |
+
</port>
|
297 |
+
</output>
|
298 |
+
</layer>
|
299 |
+
<layer id="23" name="StringTensorUnpack_161040" type="StringTensorUnpack" version="extension">
|
300 |
+
<data mode="begins_ends" />
|
301 |
+
<input>
|
302 |
+
<port id="0" precision="U8">
|
303 |
+
<dim>339140</dim>
|
304 |
+
</port>
|
305 |
+
</input>
|
306 |
+
<output>
|
307 |
+
<port id="1" precision="I32">
|
308 |
+
<dim>-1</dim>
|
309 |
+
</port>
|
310 |
+
<port id="2" precision="I32">
|
311 |
+
<dim>-1</dim>
|
312 |
+
</port>
|
313 |
+
<port id="3" precision="U8">
|
314 |
+
<dim>-1</dim>
|
315 |
+
</port>
|
316 |
+
</output>
|
317 |
+
</layer>
|
318 |
+
<layer id="24" name="Constant_161045" type="Const" version="opset1">
|
319 |
+
<data element_type="u8" shape="499127" offset="339500" size="499127" />
|
320 |
+
<output>
|
321 |
+
<port id="0" precision="U8">
|
322 |
+
<dim>499127</dim>
|
323 |
+
</port>
|
324 |
+
</output>
|
325 |
+
</layer>
|
326 |
+
<layer id="25" name="StringTensorUnpack_161046" type="StringTensorUnpack" version="extension">
|
327 |
+
<data mode="begins_ends" />
|
328 |
+
<input>
|
329 |
+
<port id="0" precision="U8">
|
330 |
+
<dim>499127</dim>
|
331 |
+
</port>
|
332 |
+
</input>
|
333 |
+
<output>
|
334 |
+
<port id="1" precision="I32">
|
335 |
+
<dim>-1</dim>
|
336 |
+
</port>
|
337 |
+
<port id="2" precision="I32">
|
338 |
+
<dim>-1</dim>
|
339 |
+
</port>
|
340 |
+
<port id="3" precision="U8">
|
341 |
+
<dim>-1</dim>
|
342 |
+
</port>
|
343 |
+
</output>
|
344 |
+
</layer>
|
345 |
+
<layer id="26" name="Constant_161048" type="Const" version="opset1">
|
346 |
+
<data element_type="u8" shape="412810" offset="838627" size="412810" />
|
347 |
+
<output>
|
348 |
+
<port id="0" precision="U8">
|
349 |
+
<dim>412810</dim>
|
350 |
+
</port>
|
351 |
+
</output>
|
352 |
+
</layer>
|
353 |
+
<layer id="27" name="StringTensorUnpack_161049" type="StringTensorUnpack" version="extension">
|
354 |
+
<data mode="begins_ends" />
|
355 |
+
<input>
|
356 |
+
<port id="0" precision="U8">
|
357 |
+
<dim>412810</dim>
|
358 |
+
</port>
|
359 |
+
</input>
|
360 |
+
<output>
|
361 |
+
<port id="1" precision="I32">
|
362 |
+
<dim>-1</dim>
|
363 |
+
</port>
|
364 |
+
<port id="2" precision="I32">
|
365 |
+
<dim>-1</dim>
|
366 |
+
</port>
|
367 |
+
<port id="3" precision="U8">
|
368 |
+
<dim>-1</dim>
|
369 |
+
</port>
|
370 |
+
</output>
|
371 |
+
</layer>
|
372 |
+
<layer id="28" name="Constant_161042" type="Const" version="opset1">
|
373 |
+
<data element_type="u8" shape="8716" offset="1251437" size="8716" />
|
374 |
+
<output>
|
375 |
+
<port id="0" precision="U8">
|
376 |
+
<dim>8716</dim>
|
377 |
+
</port>
|
378 |
+
</output>
|
379 |
+
</layer>
|
380 |
+
<layer id="29" name="StringTensorUnpack_161043" type="StringTensorUnpack" version="extension">
|
381 |
+
<data mode="begins_ends" />
|
382 |
+
<input>
|
383 |
+
<port id="0" precision="U8">
|
384 |
+
<dim>8716</dim>
|
385 |
+
</port>
|
386 |
+
</input>
|
387 |
+
<output>
|
388 |
+
<port id="1" precision="I32">
|
389 |
+
<dim>-1</dim>
|
390 |
+
</port>
|
391 |
+
<port id="2" precision="I32">
|
392 |
+
<dim>-1</dim>
|
393 |
+
</port>
|
394 |
+
<port id="3" precision="U8">
|
395 |
+
<dim>-1</dim>
|
396 |
+
</port>
|
397 |
+
</output>
|
398 |
+
</layer>
|
399 |
+
<layer id="30" name="Constant_161050" type="Const" version="opset1">
|
400 |
+
<data element_type="i32" shape="475" offset="1260153" size="1900" />
|
401 |
+
<output>
|
402 |
+
<port id="0" precision="I32">
|
403 |
+
<dim>475</dim>
|
404 |
+
</port>
|
405 |
+
</output>
|
406 |
+
</layer>
|
407 |
+
<layer id="31" name="BPETokenizer_161051" type="BPETokenizer" version="extension">
|
408 |
+
<data unk_token="<unk>" fuse_unk="true" suffix_indicator="" end_suffix="" byte_fallback="true" cache_capacity="20000" />
|
409 |
+
<input>
|
410 |
+
<port id="0" precision="I32">
|
411 |
+
<dim>-1</dim>
|
412 |
+
</port>
|
413 |
+
<port id="1" precision="I32">
|
414 |
+
<dim>-1</dim>
|
415 |
+
</port>
|
416 |
+
<port id="2" precision="I32">
|
417 |
+
<dim>-1</dim>
|
418 |
+
</port>
|
419 |
+
<port id="3" precision="I32">
|
420 |
+
<dim>-1</dim>
|
421 |
+
</port>
|
422 |
+
<port id="4" precision="U8">
|
423 |
+
<dim>-1</dim>
|
424 |
+
</port>
|
425 |
+
<port id="5" precision="I32">
|
426 |
+
<dim>-1</dim>
|
427 |
+
</port>
|
428 |
+
<port id="6" precision="I32">
|
429 |
+
<dim>-1</dim>
|
430 |
+
</port>
|
431 |
+
<port id="7" precision="U8">
|
432 |
+
<dim>-1</dim>
|
433 |
+
</port>
|
434 |
+
<port id="8" precision="I32">
|
435 |
+
<dim>-1</dim>
|
436 |
+
</port>
|
437 |
+
<port id="9" precision="I32">
|
438 |
+
<dim>-1</dim>
|
439 |
+
</port>
|
440 |
+
<port id="10" precision="U8">
|
441 |
+
<dim>-1</dim>
|
442 |
+
</port>
|
443 |
+
<port id="11" precision="I32">
|
444 |
+
<dim>-1</dim>
|
445 |
+
</port>
|
446 |
+
<port id="12" precision="I32">
|
447 |
+
<dim>-1</dim>
|
448 |
+
</port>
|
449 |
+
<port id="13" precision="U8">
|
450 |
+
<dim>-1</dim>
|
451 |
+
</port>
|
452 |
+
<port id="14" precision="I32">
|
453 |
+
<dim>-1</dim>
|
454 |
+
</port>
|
455 |
+
<port id="15" precision="I32">
|
456 |
+
<dim>-1</dim>
|
457 |
+
</port>
|
458 |
+
<port id="16" precision="U8">
|
459 |
+
<dim>-1</dim>
|
460 |
+
</port>
|
461 |
+
<port id="17" precision="I32">
|
462 |
+
<dim>475</dim>
|
463 |
+
</port>
|
464 |
+
</input>
|
465 |
+
<output>
|
466 |
+
<port id="18" precision="I32">
|
467 |
+
<dim>-1</dim>
|
468 |
+
</port>
|
469 |
+
<port id="19" precision="I32">
|
470 |
+
<dim>-1</dim>
|
471 |
+
</port>
|
472 |
+
<port id="20" precision="I32">
|
473 |
+
<dim>-1</dim>
|
474 |
+
</port>
|
475 |
+
</output>
|
476 |
+
</layer>
|
477 |
+
<layer id="32" name="Subtract_161052" type="Subtract" version="opset1">
|
478 |
+
<data auto_broadcast="numpy" />
|
479 |
+
<input>
|
480 |
+
<port id="0" precision="I32">
|
481 |
+
<dim>-1</dim>
|
482 |
+
</port>
|
483 |
+
<port id="1" precision="I32">
|
484 |
+
<dim>-1</dim>
|
485 |
+
</port>
|
486 |
+
</input>
|
487 |
+
<output>
|
488 |
+
<port id="2" precision="I32">
|
489 |
+
<dim>-1</dim>
|
490 |
+
</port>
|
491 |
+
</output>
|
492 |
+
</layer>
|
493 |
+
<layer id="33" name="Constant_161053" type="Const" version="opset1">
|
494 |
+
<data element_type="i32" shape="" offset="1262053" size="4" />
|
495 |
+
<output>
|
496 |
+
<port id="0" precision="I32" />
|
497 |
+
</output>
|
498 |
+
</layer>
|
499 |
+
<layer id="34" name="Minimum_161054" type="Minimum" version="opset1">
|
500 |
+
<data auto_broadcast="numpy" />
|
501 |
+
<input>
|
502 |
+
<port id="0" precision="I32">
|
503 |
+
<dim>-1</dim>
|
504 |
+
</port>
|
505 |
+
<port id="1" precision="I32" />
|
506 |
+
</input>
|
507 |
+
<output>
|
508 |
+
<port id="2" precision="I32">
|
509 |
+
<dim>-1</dim>
|
510 |
+
</port>
|
511 |
+
</output>
|
512 |
+
</layer>
|
513 |
+
<layer id="35" name="Add_161055" type="Add" version="opset1">
|
514 |
+
<data auto_broadcast="numpy" />
|
515 |
+
<input>
|
516 |
+
<port id="0" precision="I32">
|
517 |
+
<dim>-1</dim>
|
518 |
+
</port>
|
519 |
+
<port id="1" precision="I32">
|
520 |
+
<dim>-1</dim>
|
521 |
+
</port>
|
522 |
+
</input>
|
523 |
+
<output>
|
524 |
+
<port id="2" precision="I32">
|
525 |
+
<dim>-1</dim>
|
526 |
+
</port>
|
527 |
+
</output>
|
528 |
+
</layer>
|
529 |
+
<layer id="36" name="Constant_161056" type="Const" version="opset1">
|
530 |
+
<data element_type="i32" shape="1" offset="1262057" size="4" />
|
531 |
+
<output>
|
532 |
+
<port id="0" precision="I32">
|
533 |
+
<dim>1</dim>
|
534 |
+
</port>
|
535 |
+
</output>
|
536 |
+
</layer>
|
537 |
+
<layer id="37" name="CombineSegments_161057" type="CombineSegments" version="extension">
|
538 |
+
<input>
|
539 |
+
<port id="0" precision="I32">
|
540 |
+
<dim>-1</dim>
|
541 |
+
</port>
|
542 |
+
<port id="1" precision="I32">
|
543 |
+
<dim>-1</dim>
|
544 |
+
</port>
|
545 |
+
<port id="2" precision="I32">
|
546 |
+
<dim>-1</dim>
|
547 |
+
</port>
|
548 |
+
<port id="3" precision="I32">
|
549 |
+
<dim>1</dim>
|
550 |
+
</port>
|
551 |
+
</input>
|
552 |
+
<output>
|
553 |
+
<port id="4" precision="I32">
|
554 |
+
<dim>-1</dim>
|
555 |
+
</port>
|
556 |
+
<port id="5" precision="I32">
|
557 |
+
<dim>-1</dim>
|
558 |
+
</port>
|
559 |
+
<port id="6" precision="I32">
|
560 |
+
<dim>-1</dim>
|
561 |
+
</port>
|
562 |
+
<port id="7" precision="I32">
|
563 |
+
<dim>-1</dim>
|
564 |
+
</port>
|
565 |
+
<port id="8" precision="I32">
|
566 |
+
<dim>-1</dim>
|
567 |
+
</port>
|
568 |
+
<port id="9" precision="I32">
|
569 |
+
<dim>-1</dim>
|
570 |
+
</port>
|
571 |
+
</output>
|
572 |
+
</layer>
|
573 |
+
<layer id="38" name="Subtract_161058" type="Subtract" version="opset1">
|
574 |
+
<data auto_broadcast="numpy" />
|
575 |
+
<input>
|
576 |
+
<port id="0" precision="I32">
|
577 |
+
<dim>-1</dim>
|
578 |
+
</port>
|
579 |
+
<port id="1" precision="I32">
|
580 |
+
<dim>-1</dim>
|
581 |
+
</port>
|
582 |
+
</input>
|
583 |
+
<output>
|
584 |
+
<port id="2" precision="I32">
|
585 |
+
<dim>-1</dim>
|
586 |
+
</port>
|
587 |
+
</output>
|
588 |
+
</layer>
|
589 |
+
<layer id="39" name="Constant_161059" type="Const" version="opset1">
|
590 |
+
<data element_type="i32" shape="" offset="1262057" size="4" />
|
591 |
+
<output>
|
592 |
+
<port id="0" precision="I32" />
|
593 |
+
</output>
|
594 |
+
</layer>
|
595 |
+
<layer id="40" name="ReduceMax_161060" type="ReduceMax" version="opset1">
|
596 |
+
<data keep_dims="false" />
|
597 |
+
<input>
|
598 |
+
<port id="0" precision="I32">
|
599 |
+
<dim>-1</dim>
|
600 |
+
</port>
|
601 |
+
<port id="1" precision="I32" />
|
602 |
+
</input>
|
603 |
+
<output>
|
604 |
+
<port id="2" precision="I32" />
|
605 |
+
</output>
|
606 |
+
</layer>
|
607 |
+
<layer id="41" name="Constant_161061" type="Const" version="opset1">
|
608 |
+
<data element_type="i32" shape="" offset="1262061" size="4" />
|
609 |
+
<output>
|
610 |
+
<port id="0" precision="I32" />
|
611 |
+
</output>
|
612 |
+
</layer>
|
613 |
+
<layer id="42" name="RaggedToDense_161062" type="RaggedToDense" version="extension">
|
614 |
+
<data pad_right="false" />
|
615 |
+
<input>
|
616 |
+
<port id="0" precision="I32">
|
617 |
+
<dim>-1</dim>
|
618 |
+
</port>
|
619 |
+
<port id="1" precision="I32">
|
620 |
+
<dim>-1</dim>
|
621 |
+
</port>
|
622 |
+
<port id="2" precision="I32">
|
623 |
+
<dim>-1</dim>
|
624 |
+
</port>
|
625 |
+
<port id="3" precision="I32" />
|
626 |
+
<port id="4" precision="I32" />
|
627 |
+
</input>
|
628 |
+
<output>
|
629 |
+
<port id="5" precision="I32">
|
630 |
+
<dim>-1</dim>
|
631 |
+
<dim>-1</dim>
|
632 |
+
</port>
|
633 |
+
<port id="6" precision="BOOL">
|
634 |
+
<dim>-1</dim>
|
635 |
+
<dim>-1</dim>
|
636 |
+
</port>
|
637 |
+
</output>
|
638 |
+
</layer>
|
639 |
+
<layer id="43" name="Convert_161063" type="Convert" version="opset1">
|
640 |
+
<data destination_type="i32" />
|
641 |
+
<input>
|
642 |
+
<port id="0" precision="BOOL">
|
643 |
+
<dim>-1</dim>
|
644 |
+
<dim>-1</dim>
|
645 |
+
</port>
|
646 |
+
</input>
|
647 |
+
<output>
|
648 |
+
<port id="1" precision="I32">
|
649 |
+
<dim>-1</dim>
|
650 |
+
<dim>-1</dim>
|
651 |
+
</port>
|
652 |
+
</output>
|
653 |
+
</layer>
|
654 |
+
<layer id="44" name="Convert_161063" type="Convert" version="opset1">
|
655 |
+
<data destination_type="i64" />
|
656 |
+
<input>
|
657 |
+
<port id="0" precision="I32">
|
658 |
+
<dim>-1</dim>
|
659 |
+
<dim>-1</dim>
|
660 |
+
</port>
|
661 |
+
</input>
|
662 |
+
<output>
|
663 |
+
<port id="1" precision="I64" names="attention_mask">
|
664 |
+
<dim>-1</dim>
|
665 |
+
<dim>-1</dim>
|
666 |
+
</port>
|
667 |
+
</output>
|
668 |
+
</layer>
|
669 |
+
<layer id="46" name="RaggedToDense_161062.0" type="Convert" version="opset1">
|
670 |
+
<data destination_type="i64" />
|
671 |
+
<input>
|
672 |
+
<port id="0" precision="I32">
|
673 |
+
<dim>-1</dim>
|
674 |
+
<dim>-1</dim>
|
675 |
+
</port>
|
676 |
+
</input>
|
677 |
+
<output>
|
678 |
+
<port id="1" precision="I64" names="input_ids">
|
679 |
+
<dim>-1</dim>
|
680 |
+
<dim>-1</dim>
|
681 |
+
</port>
|
682 |
+
</output>
|
683 |
+
</layer>
|
684 |
+
<layer id="47" name="Result_161066" type="Result" version="opset1">
|
685 |
+
<input>
|
686 |
+
<port id="0" precision="I64">
|
687 |
+
<dim>-1</dim>
|
688 |
+
<dim>-1</dim>
|
689 |
+
</port>
|
690 |
+
</input>
|
691 |
+
</layer>
|
692 |
+
<layer id="45" name="Result_161068" type="Result" version="opset1">
|
693 |
+
<input>
|
694 |
+
<port id="0" precision="I64">
|
695 |
+
<dim>-1</dim>
|
696 |
+
<dim>-1</dim>
|
697 |
+
</port>
|
698 |
+
</input>
|
699 |
+
</layer>
|
700 |
+
</layers>
|
701 |
+
<edges>
|
702 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
703 |
+
<edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
|
704 |
+
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
|
705 |
+
<edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
|
706 |
+
<edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
|
707 |
+
<edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
|
708 |
+
<edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
|
709 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
|
710 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
|
711 |
+
<edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
|
712 |
+
<edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
|
713 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
|
714 |
+
<edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
|
715 |
+
<edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
|
716 |
+
<edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
|
717 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
|
718 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
|
719 |
+
<edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
|
720 |
+
<edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
|
721 |
+
<edge from-layer="15" from-port="9" to-layer="18" to-port="1" />
|
722 |
+
<edge from-layer="15" from-port="6" to-layer="31" to-port="0" />
|
723 |
+
<edge from-layer="15" from-port="7" to-layer="31" to-port="1" />
|
724 |
+
<edge from-layer="15" from-port="11" to-layer="18" to-port="3" />
|
725 |
+
<edge from-layer="15" from-port="10" to-layer="18" to-port="2" />
|
726 |
+
<edge from-layer="15" from-port="8" to-layer="18" to-port="0" />
|
727 |
+
<edge from-layer="16" from-port="0" to-layer="18" to-port="4" />
|
728 |
+
<edge from-layer="17" from-port="0" to-layer="18" to-port="5" />
|
729 |
+
<edge from-layer="18" from-port="6" to-layer="21" to-port="0" />
|
730 |
+
<edge from-layer="18" from-port="7" to-layer="21" to-port="1" />
|
731 |
+
<edge from-layer="18" from-port="8" to-layer="21" to-port="2" />
|
732 |
+
<edge from-layer="18" from-port="9" to-layer="21" to-port="3" />
|
733 |
+
<edge from-layer="19" from-port="0" to-layer="21" to-port="4" />
|
734 |
+
<edge from-layer="20" from-port="0" to-layer="21" to-port="5" />
|
735 |
+
<edge from-layer="21" from-port="8" to-layer="31" to-port="4" />
|
736 |
+
<edge from-layer="21" from-port="7" to-layer="31" to-port="3" />
|
737 |
+
<edge from-layer="21" from-port="6" to-layer="31" to-port="2" />
|
738 |
+
<edge from-layer="22" from-port="0" to-layer="23" to-port="0" />
|
739 |
+
<edge from-layer="23" from-port="1" to-layer="31" to-port="5" />
|
740 |
+
<edge from-layer="23" from-port="2" to-layer="31" to-port="6" />
|
741 |
+
<edge from-layer="23" from-port="3" to-layer="31" to-port="7" />
|
742 |
+
<edge from-layer="24" from-port="0" to-layer="25" to-port="0" />
|
743 |
+
<edge from-layer="25" from-port="1" to-layer="31" to-port="8" />
|
744 |
+
<edge from-layer="25" from-port="2" to-layer="31" to-port="9" />
|
745 |
+
<edge from-layer="25" from-port="3" to-layer="31" to-port="10" />
|
746 |
+
<edge from-layer="26" from-port="0" to-layer="27" to-port="0" />
|
747 |
+
<edge from-layer="27" from-port="3" to-layer="31" to-port="13" />
|
748 |
+
<edge from-layer="27" from-port="2" to-layer="31" to-port="12" />
|
749 |
+
<edge from-layer="27" from-port="1" to-layer="31" to-port="11" />
|
750 |
+
<edge from-layer="28" from-port="0" to-layer="29" to-port="0" />
|
751 |
+
<edge from-layer="29" from-port="1" to-layer="31" to-port="14" />
|
752 |
+
<edge from-layer="29" from-port="2" to-layer="31" to-port="15" />
|
753 |
+
<edge from-layer="29" from-port="3" to-layer="31" to-port="16" />
|
754 |
+
<edge from-layer="30" from-port="0" to-layer="31" to-port="17" />
|
755 |
+
<edge from-layer="31" from-port="19" to-layer="32" to-port="0" />
|
756 |
+
<edge from-layer="31" from-port="18" to-layer="32" to-port="1" />
|
757 |
+
<edge from-layer="31" from-port="18" to-layer="35" to-port="0" />
|
758 |
+
<edge from-layer="31" from-port="20" to-layer="37" to-port="2" />
|
759 |
+
<edge from-layer="31" from-port="18" to-layer="37" to-port="0" />
|
760 |
+
<edge from-layer="32" from-port="2" to-layer="34" to-port="0" />
|
761 |
+
<edge from-layer="33" from-port="0" to-layer="34" to-port="1" />
|
762 |
+
<edge from-layer="34" from-port="2" to-layer="35" to-port="1" />
|
763 |
+
<edge from-layer="35" from-port="2" to-layer="37" to-port="1" />
|
764 |
+
<edge from-layer="36" from-port="0" to-layer="37" to-port="3" />
|
765 |
+
<edge from-layer="37" from-port="5" to-layer="42" to-port="1" />
|
766 |
+
<edge from-layer="37" from-port="6" to-layer="42" to-port="2" />
|
767 |
+
<edge from-layer="37" from-port="4" to-layer="42" to-port="0" />
|
768 |
+
<edge from-layer="37" from-port="4" to-layer="38" to-port="1" />
|
769 |
+
<edge from-layer="37" from-port="5" to-layer="38" to-port="0" />
|
770 |
+
<edge from-layer="38" from-port="2" to-layer="40" to-port="0" />
|
771 |
+
<edge from-layer="39" from-port="0" to-layer="40" to-port="1" />
|
772 |
+
<edge from-layer="40" from-port="2" to-layer="42" to-port="3" />
|
773 |
+
<edge from-layer="41" from-port="0" to-layer="42" to-port="4" />
|
774 |
+
<edge from-layer="42" from-port="6" to-layer="43" to-port="0" />
|
775 |
+
<edge from-layer="42" from-port="5" to-layer="46" to-port="0" />
|
776 |
+
<edge from-layer="43" from-port="1" to-layer="44" to-port="0" />
|
777 |
+
<edge from-layer="44" from-port="1" to-layer="45" to-port="0" />
|
778 |
+
<edge from-layer="46" from-port="1" to-layer="47" to-port="0" />
|
779 |
+
</edges>
|
780 |
+
<rt_info>
|
781 |
+
<add_attention_mask value="True" />
|
782 |
+
<add_prefix_space />
|
783 |
+
<add_special_tokens value="True" />
|
784 |
+
<bos_token_id value="1" />
|
785 |
+
<chat_template value="{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|> ' + message['content'] + '<|end|> '}}{% elif message['role'] == 'user' %}{{'<|user|> ' + message['content'] + '<|end|> '}}{% elif message['role'] == 'assistant' %}{{'<|assistant|> ' + message['content'] + '<|end|> '}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|> ' }}{% else %}{{ eos_token }}{% endif %}" />
|
786 |
+
<clean_up_tokenization_spaces />
|
787 |
+
<detokenizer_input_type value="i64" />
|
788 |
+
<eos_token_id value="32000" />
|
789 |
+
<handle_special_tokens_with_re />
|
790 |
+
<number_of_inputs value="1" />
|
791 |
+
<openvino_tokenizers_version value="2024.5.0.0.dev20241030" />
|
792 |
+
<openvino_version value="2024.5.0.dev20241030" />
|
793 |
+
<original_tokenizer_class value="<class 'transformers.models.llama.tokenization_llama_fast.LlamaTokenizerFast'>" />
|
794 |
+
<pad_token_id value="32000" />
|
795 |
+
<sentencepiece_version value="0.2.0" />
|
796 |
+
<skip_special_tokens value="True" />
|
797 |
+
<streaming_detokenizer value="False" />
|
798 |
+
<tiktoken_version value="0.8.0" />
|
799 |
+
<tokenizer_output_type value="i64" />
|
800 |
+
<tokenizers_version value="0.20.1" />
|
801 |
+
<transformers_version value="4.45.2" />
|
802 |
+
<use_max_padding value="False" />
|
803 |
+
<use_sentencepiece_backend value="False" />
|
804 |
+
<utf8_replace_mode />
|
805 |
+
<with_detokenizer value="True" />
|
806 |
+
</rt_info>
|
807 |
+
</net>
|