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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<net name="tokenizer" version="11">
|
3 |
+
<layers>
|
4 |
+
<layer id="0" name="Parameter_579099" type="Parameter" version="opset1">
|
5 |
+
<data shape="?" element_type="string" />
|
6 |
+
<output>
|
7 |
+
<port id="0" precision="STRING" names="Parameter_579099">
|
8 |
+
<dim>-1</dim>
|
9 |
+
</port>
|
10 |
+
</output>
|
11 |
+
</layer>
|
12 |
+
<layer id="1" name="Constant_579105" 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_579100" 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_579101" 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_579102" 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_579103" 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_579104" 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_579106" 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_579107" 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_579108" 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_579109" 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_579110" 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_579111" 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_579112" 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_579174" type="Const" version="opset1">
|
136 |
+
<data element_type="u8" shape="3163" offset="16" size="3163" />
|
137 |
+
<output>
|
138 |
+
<port id="0" precision="U8">
|
139 |
+
<dim>3163</dim>
|
140 |
+
</port>
|
141 |
+
</output>
|
142 |
+
</layer>
|
143 |
+
<layer id="15" name="SpecialTokensSplit_579175" 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>3163</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_579177" type="Const" version="opset1">
|
186 |
+
<data element_type="u8" shape="115" offset="3179" size="115" />
|
187 |
+
<output>
|
188 |
+
<port id="0" precision="U8">
|
189 |
+
<dim>115</dim>
|
190 |
+
</port>
|
191 |
+
</output>
|
192 |
+
</layer>
|
193 |
+
<layer id="17" name="RegexSplit_579178" type="RegexSplit" version="extension">
|
194 |
+
<data behaviour="remove" invert="true" max_splits="-1" />
|
195 |
+
<input>
|
196 |
+
<port id="0" precision="I32">
|
197 |
+
<dim>-1</dim>
|
198 |
+
</port>
|
199 |
+
<port id="1" precision="I32">
|
200 |
+
<dim>-1</dim>
|
201 |
+
</port>
|
202 |
+
<port id="2" precision="I32">
|
203 |
+
<dim>-1</dim>
|
204 |
+
</port>
|
205 |
+
<port id="3" precision="I32">
|
206 |
+
<dim>-1</dim>
|
207 |
+
</port>
|
208 |
+
<port id="4" precision="U8">
|
209 |
+
<dim>-1</dim>
|
210 |
+
</port>
|
211 |
+
<port id="5" precision="BOOL">
|
212 |
+
<dim>-1</dim>
|
213 |
+
</port>
|
214 |
+
<port id="6" precision="U8">
|
215 |
+
<dim>115</dim>
|
216 |
+
</port>
|
217 |
+
</input>
|
218 |
+
<output>
|
219 |
+
<port id="7" precision="I32">
|
220 |
+
<dim>-1</dim>
|
221 |
+
</port>
|
222 |
+
<port id="8" precision="I32">
|
223 |
+
<dim>-1</dim>
|
224 |
+
</port>
|
225 |
+
<port id="9" precision="I32">
|
226 |
+
<dim>-1</dim>
|
227 |
+
</port>
|
228 |
+
<port id="10" precision="I32">
|
229 |
+
<dim>-1</dim>
|
230 |
+
</port>
|
231 |
+
<port id="11" precision="U8">
|
232 |
+
<dim>-1</dim>
|
233 |
+
</port>
|
234 |
+
<port id="12" precision="BOOL">
|
235 |
+
<dim>-1</dim>
|
236 |
+
</port>
|
237 |
+
</output>
|
238 |
+
</layer>
|
239 |
+
<layer id="18" name="Constant_579180" type="Const" version="opset1">
|
240 |
+
<data element_type="u8" shape="1046586" offset="3294" size="1046586" />
|
241 |
+
<output>
|
242 |
+
<port id="0" precision="U8">
|
243 |
+
<dim>1046586</dim>
|
244 |
+
</port>
|
245 |
+
</output>
|
246 |
+
</layer>
|
247 |
+
<layer id="19" name="StringTensorUnpack_579181" type="StringTensorUnpack" version="extension">
|
248 |
+
<data mode="begins_ends" />
|
249 |
+
<input>
|
250 |
+
<port id="0" precision="U8">
|
251 |
+
<dim>1046586</dim>
|
252 |
+
</port>
|
253 |
+
</input>
|
254 |
+
<output>
|
255 |
+
<port id="1" precision="I32">
|
256 |
+
<dim>-1</dim>
|
257 |
+
</port>
|
258 |
+
<port id="2" precision="I32">
|
259 |
+
<dim>-1</dim>
|
260 |
+
</port>
|
261 |
+
<port id="3" precision="U8">
|
262 |
+
<dim>-1</dim>
|
263 |
+
</port>
|
264 |
+
</output>
|
265 |
+
</layer>
|
266 |
+
<layer id="20" name="Constant_579186" type="Const" version="opset1">
|
267 |
+
<data element_type="u8" shape="709852" offset="1049880" size="709852" />
|
268 |
+
<output>
|
269 |
+
<port id="0" precision="U8">
|
270 |
+
<dim>709852</dim>
|
271 |
+
</port>
|
272 |
+
</output>
|
273 |
+
</layer>
|
274 |
+
<layer id="21" name="StringTensorUnpack_579187" type="StringTensorUnpack" version="extension">
|
275 |
+
<data mode="begins_ends" />
|
276 |
+
<input>
|
277 |
+
<port id="0" precision="U8">
|
278 |
+
<dim>709852</dim>
|
279 |
+
</port>
|
280 |
+
</input>
|
281 |
+
<output>
|
282 |
+
<port id="1" precision="I32">
|
283 |
+
<dim>-1</dim>
|
284 |
+
</port>
|
285 |
+
<port id="2" precision="I32">
|
286 |
+
<dim>-1</dim>
|
287 |
+
</port>
|
288 |
+
<port id="3" precision="U8">
|
289 |
+
<dim>-1</dim>
|
290 |
+
</port>
|
291 |
+
</output>
|
292 |
+
</layer>
|
293 |
+
<layer id="22" name="Constant_579189" type="Const" version="opset1">
|
294 |
+
<data element_type="u8" shape="733738" offset="1759732" size="733738" />
|
295 |
+
<output>
|
296 |
+
<port id="0" precision="U8">
|
297 |
+
<dim>733738</dim>
|
298 |
+
</port>
|
299 |
+
</output>
|
300 |
+
</layer>
|
301 |
+
<layer id="23" name="StringTensorUnpack_579190" type="StringTensorUnpack" version="extension">
|
302 |
+
<data mode="begins_ends" />
|
303 |
+
<input>
|
304 |
+
<port id="0" precision="U8">
|
305 |
+
<dim>733738</dim>
|
306 |
+
</port>
|
307 |
+
</input>
|
308 |
+
<output>
|
309 |
+
<port id="1" precision="I32">
|
310 |
+
<dim>-1</dim>
|
311 |
+
</port>
|
312 |
+
<port id="2" precision="I32">
|
313 |
+
<dim>-1</dim>
|
314 |
+
</port>
|
315 |
+
<port id="3" precision="U8">
|
316 |
+
<dim>-1</dim>
|
317 |
+
</port>
|
318 |
+
</output>
|
319 |
+
</layer>
|
320 |
+
<layer id="24" name="Constant_579183" type="Const" version="opset1">
|
321 |
+
<data element_type="u8" shape="73372" offset="2493470" size="73372" />
|
322 |
+
<output>
|
323 |
+
<port id="0" precision="U8">
|
324 |
+
<dim>73372</dim>
|
325 |
+
</port>
|
326 |
+
</output>
|
327 |
+
</layer>
|
328 |
+
<layer id="25" name="StringTensorUnpack_579184" type="StringTensorUnpack" version="extension">
|
329 |
+
<data mode="begins_ends" />
|
330 |
+
<input>
|
331 |
+
<port id="0" precision="U8">
|
332 |
+
<dim>73372</dim>
|
333 |
+
</port>
|
334 |
+
</input>
|
335 |
+
<output>
|
336 |
+
<port id="1" precision="I32">
|
337 |
+
<dim>-1</dim>
|
338 |
+
</port>
|
339 |
+
<port id="2" precision="I32">
|
340 |
+
<dim>-1</dim>
|
341 |
+
</port>
|
342 |
+
<port id="3" precision="U8">
|
343 |
+
<dim>-1</dim>
|
344 |
+
</port>
|
345 |
+
</output>
|
346 |
+
</layer>
|
347 |
+
<layer id="26" name="Constant_579191" type="Const" version="opset1">
|
348 |
+
<data element_type="i32" shape="4128" offset="2566842" size="16512" />
|
349 |
+
<output>
|
350 |
+
<port id="0" precision="I32">
|
351 |
+
<dim>4128</dim>
|
352 |
+
</port>
|
353 |
+
</output>
|
354 |
+
</layer>
|
355 |
+
<layer id="27" name="BPETokenizer_579192" type="BPETokenizer" version="extension">
|
356 |
+
<data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="20070" />
|
357 |
+
<input>
|
358 |
+
<port id="0" precision="I32">
|
359 |
+
<dim>-1</dim>
|
360 |
+
</port>
|
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="I32">
|
368 |
+
<dim>-1</dim>
|
369 |
+
</port>
|
370 |
+
<port id="4" precision="U8">
|
371 |
+
<dim>-1</dim>
|
372 |
+
</port>
|
373 |
+
<port id="5" precision="I32">
|
374 |
+
<dim>-1</dim>
|
375 |
+
</port>
|
376 |
+
<port id="6" precision="I32">
|
377 |
+
<dim>-1</dim>
|
378 |
+
</port>
|
379 |
+
<port id="7" precision="U8">
|
380 |
+
<dim>-1</dim>
|
381 |
+
</port>
|
382 |
+
<port id="8" precision="I32">
|
383 |
+
<dim>-1</dim>
|
384 |
+
</port>
|
385 |
+
<port id="9" precision="I32">
|
386 |
+
<dim>-1</dim>
|
387 |
+
</port>
|
388 |
+
<port id="10" precision="U8">
|
389 |
+
<dim>-1</dim>
|
390 |
+
</port>
|
391 |
+
<port id="11" precision="I32">
|
392 |
+
<dim>-1</dim>
|
393 |
+
</port>
|
394 |
+
<port id="12" precision="I32">
|
395 |
+
<dim>-1</dim>
|
396 |
+
</port>
|
397 |
+
<port id="13" precision="U8">
|
398 |
+
<dim>-1</dim>
|
399 |
+
</port>
|
400 |
+
<port id="14" precision="I32">
|
401 |
+
<dim>-1</dim>
|
402 |
+
</port>
|
403 |
+
<port id="15" precision="I32">
|
404 |
+
<dim>-1</dim>
|
405 |
+
</port>
|
406 |
+
<port id="16" precision="U8">
|
407 |
+
<dim>-1</dim>
|
408 |
+
</port>
|
409 |
+
<port id="17" precision="I32">
|
410 |
+
<dim>4128</dim>
|
411 |
+
</port>
|
412 |
+
</input>
|
413 |
+
<output>
|
414 |
+
<port id="18" precision="I32">
|
415 |
+
<dim>-1</dim>
|
416 |
+
</port>
|
417 |
+
<port id="19" precision="I32">
|
418 |
+
<dim>-1</dim>
|
419 |
+
</port>
|
420 |
+
<port id="20" precision="I32">
|
421 |
+
<dim>-1</dim>
|
422 |
+
</port>
|
423 |
+
</output>
|
424 |
+
</layer>
|
425 |
+
<layer id="28" name="Subtract_579193" type="Subtract" version="opset1">
|
426 |
+
<data auto_broadcast="numpy" />
|
427 |
+
<input>
|
428 |
+
<port id="0" precision="I32">
|
429 |
+
<dim>-1</dim>
|
430 |
+
</port>
|
431 |
+
<port id="1" precision="I32">
|
432 |
+
<dim>-1</dim>
|
433 |
+
</port>
|
434 |
+
</input>
|
435 |
+
<output>
|
436 |
+
<port id="2" precision="I32">
|
437 |
+
<dim>-1</dim>
|
438 |
+
</port>
|
439 |
+
</output>
|
440 |
+
</layer>
|
441 |
+
<layer id="29" name="Constant_579194" type="Const" version="opset1">
|
442 |
+
<data element_type="i32" shape="" offset="2583354" size="4" />
|
443 |
+
<output>
|
444 |
+
<port id="0" precision="I32" />
|
445 |
+
</output>
|
446 |
+
</layer>
|
447 |
+
<layer id="30" name="Minimum_579195" type="Minimum" version="opset1">
|
448 |
+
<data auto_broadcast="numpy" />
|
449 |
+
<input>
|
450 |
+
<port id="0" precision="I32">
|
451 |
+
<dim>-1</dim>
|
452 |
+
</port>
|
453 |
+
<port id="1" precision="I32" />
|
454 |
+
</input>
|
455 |
+
<output>
|
456 |
+
<port id="2" precision="I32">
|
457 |
+
<dim>-1</dim>
|
458 |
+
</port>
|
459 |
+
</output>
|
460 |
+
</layer>
|
461 |
+
<layer id="31" name="Add_579196" type="Add" version="opset1">
|
462 |
+
<data auto_broadcast="numpy" />
|
463 |
+
<input>
|
464 |
+
<port id="0" precision="I32">
|
465 |
+
<dim>-1</dim>
|
466 |
+
</port>
|
467 |
+
<port id="1" precision="I32">
|
468 |
+
<dim>-1</dim>
|
469 |
+
</port>
|
470 |
+
</input>
|
471 |
+
<output>
|
472 |
+
<port id="2" precision="I32">
|
473 |
+
<dim>-1</dim>
|
474 |
+
</port>
|
475 |
+
</output>
|
476 |
+
</layer>
|
477 |
+
<layer id="32" name="Subtract_579197" 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_579198" type="Const" version="opset1">
|
494 |
+
<data element_type="i32" shape="" offset="2583358" size="4" />
|
495 |
+
<output>
|
496 |
+
<port id="0" precision="I32" />
|
497 |
+
</output>
|
498 |
+
</layer>
|
499 |
+
<layer id="34" name="ReduceMax_579199" type="ReduceMax" version="opset1">
|
500 |
+
<data keep_dims="false" />
|
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 |
+
</output>
|
510 |
+
</layer>
|
511 |
+
<layer id="35" name="Constant_579200" type="Const" version="opset1">
|
512 |
+
<data element_type="i32" shape="" offset="2583362" size="4" />
|
513 |
+
<output>
|
514 |
+
<port id="0" precision="I32" />
|
515 |
+
</output>
|
516 |
+
</layer>
|
517 |
+
<layer id="36" name="RaggedToDense_579201" type="RaggedToDense" version="extension">
|
518 |
+
<data pad_right="true" />
|
519 |
+
<input>
|
520 |
+
<port id="0" precision="I32">
|
521 |
+
<dim>-1</dim>
|
522 |
+
</port>
|
523 |
+
<port id="1" precision="I32">
|
524 |
+
<dim>-1</dim>
|
525 |
+
</port>
|
526 |
+
<port id="2" precision="I32">
|
527 |
+
<dim>-1</dim>
|
528 |
+
</port>
|
529 |
+
<port id="3" precision="I32" />
|
530 |
+
<port id="4" precision="I32" />
|
531 |
+
</input>
|
532 |
+
<output>
|
533 |
+
<port id="5" precision="I32">
|
534 |
+
<dim>-1</dim>
|
535 |
+
<dim>-1</dim>
|
536 |
+
</port>
|
537 |
+
<port id="6" precision="BOOL">
|
538 |
+
<dim>-1</dim>
|
539 |
+
<dim>-1</dim>
|
540 |
+
</port>
|
541 |
+
</output>
|
542 |
+
</layer>
|
543 |
+
<layer id="37" name="Convert_579202" type="Convert" version="opset1">
|
544 |
+
<data destination_type="i32" />
|
545 |
+
<input>
|
546 |
+
<port id="0" precision="BOOL">
|
547 |
+
<dim>-1</dim>
|
548 |
+
<dim>-1</dim>
|
549 |
+
</port>
|
550 |
+
</input>
|
551 |
+
<output>
|
552 |
+
<port id="1" precision="I32">
|
553 |
+
<dim>-1</dim>
|
554 |
+
<dim>-1</dim>
|
555 |
+
</port>
|
556 |
+
</output>
|
557 |
+
</layer>
|
558 |
+
<layer id="38" name="Convert_579202.0" type="Convert" version="opset1">
|
559 |
+
<data destination_type="i64" />
|
560 |
+
<input>
|
561 |
+
<port id="0" precision="I32">
|
562 |
+
<dim>-1</dim>
|
563 |
+
<dim>-1</dim>
|
564 |
+
</port>
|
565 |
+
</input>
|
566 |
+
<output>
|
567 |
+
<port id="1" precision="I64" names="attention_mask">
|
568 |
+
<dim>-1</dim>
|
569 |
+
<dim>-1</dim>
|
570 |
+
</port>
|
571 |
+
</output>
|
572 |
+
</layer>
|
573 |
+
<layer id="40" name="RaggedToDense_579201.0" type="Convert" version="opset1">
|
574 |
+
<data destination_type="i64" />
|
575 |
+
<input>
|
576 |
+
<port id="0" precision="I32">
|
577 |
+
<dim>-1</dim>
|
578 |
+
<dim>-1</dim>
|
579 |
+
</port>
|
580 |
+
</input>
|
581 |
+
<output>
|
582 |
+
<port id="1" precision="I64" names="input_ids">
|
583 |
+
<dim>-1</dim>
|
584 |
+
<dim>-1</dim>
|
585 |
+
</port>
|
586 |
+
</output>
|
587 |
+
</layer>
|
588 |
+
<layer id="41" name="Result_579203" type="Result" version="opset1">
|
589 |
+
<input>
|
590 |
+
<port id="0" precision="I64">
|
591 |
+
<dim>-1</dim>
|
592 |
+
<dim>-1</dim>
|
593 |
+
</port>
|
594 |
+
</input>
|
595 |
+
</layer>
|
596 |
+
<layer id="39" name="Result_579204" type="Result" version="opset1">
|
597 |
+
<input>
|
598 |
+
<port id="0" precision="I64">
|
599 |
+
<dim>-1</dim>
|
600 |
+
<dim>-1</dim>
|
601 |
+
</port>
|
602 |
+
</input>
|
603 |
+
</layer>
|
604 |
+
</layers>
|
605 |
+
<edges>
|
606 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
607 |
+
<edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
|
608 |
+
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
|
609 |
+
<edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
|
610 |
+
<edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
|
611 |
+
<edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
|
612 |
+
<edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
|
613 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
|
614 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
|
615 |
+
<edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
|
616 |
+
<edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
|
617 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
|
618 |
+
<edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
|
619 |
+
<edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
|
620 |
+
<edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
|
621 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
|
622 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
|
623 |
+
<edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
|
624 |
+
<edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
|
625 |
+
<edge from-layer="15" from-port="6" to-layer="17" to-port="0" />
|
626 |
+
<edge from-layer="15" from-port="7" to-layer="17" to-port="1" />
|
627 |
+
<edge from-layer="15" from-port="8" to-layer="17" to-port="2" />
|
628 |
+
<edge from-layer="15" from-port="9" to-layer="17" to-port="3" />
|
629 |
+
<edge from-layer="15" from-port="10" to-layer="17" to-port="4" />
|
630 |
+
<edge from-layer="15" from-port="11" to-layer="17" to-port="5" />
|
631 |
+
<edge from-layer="16" from-port="0" to-layer="17" to-port="6" />
|
632 |
+
<edge from-layer="17" from-port="11" to-layer="27" to-port="4" />
|
633 |
+
<edge from-layer="17" from-port="10" to-layer="27" to-port="3" />
|
634 |
+
<edge from-layer="17" from-port="9" to-layer="27" to-port="2" />
|
635 |
+
<edge from-layer="17" from-port="8" to-layer="27" to-port="1" />
|
636 |
+
<edge from-layer="17" from-port="7" to-layer="27" to-port="0" />
|
637 |
+
<edge from-layer="18" from-port="0" to-layer="19" to-port="0" />
|
638 |
+
<edge from-layer="19" from-port="1" to-layer="27" to-port="5" />
|
639 |
+
<edge from-layer="19" from-port="2" to-layer="27" to-port="6" />
|
640 |
+
<edge from-layer="19" from-port="3" to-layer="27" to-port="7" />
|
641 |
+
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
|
642 |
+
<edge from-layer="21" from-port="1" to-layer="27" to-port="8" />
|
643 |
+
<edge from-layer="21" from-port="2" to-layer="27" to-port="9" />
|
644 |
+
<edge from-layer="21" from-port="3" to-layer="27" to-port="10" />
|
645 |
+
<edge from-layer="22" from-port="0" to-layer="23" to-port="0" />
|
646 |
+
<edge from-layer="23" from-port="1" to-layer="27" to-port="11" />
|
647 |
+
<edge from-layer="23" from-port="2" to-layer="27" to-port="12" />
|
648 |
+
<edge from-layer="23" from-port="3" to-layer="27" to-port="13" />
|
649 |
+
<edge from-layer="24" from-port="0" to-layer="25" to-port="0" />
|
650 |
+
<edge from-layer="25" from-port="1" to-layer="27" to-port="14" />
|
651 |
+
<edge from-layer="25" from-port="2" to-layer="27" to-port="15" />
|
652 |
+
<edge from-layer="25" from-port="3" to-layer="27" to-port="16" />
|
653 |
+
<edge from-layer="26" from-port="0" to-layer="27" to-port="17" />
|
654 |
+
<edge from-layer="27" from-port="20" to-layer="36" to-port="2" />
|
655 |
+
<edge from-layer="27" from-port="18" to-layer="28" to-port="1" />
|
656 |
+
<edge from-layer="27" from-port="18" to-layer="36" to-port="0" />
|
657 |
+
<edge from-layer="27" from-port="18" to-layer="32" to-port="1" />
|
658 |
+
<edge from-layer="27" from-port="18" to-layer="31" to-port="0" />
|
659 |
+
<edge from-layer="27" from-port="19" to-layer="28" to-port="0" />
|
660 |
+
<edge from-layer="28" from-port="2" to-layer="30" to-port="0" />
|
661 |
+
<edge from-layer="29" from-port="0" to-layer="30" to-port="1" />
|
662 |
+
<edge from-layer="30" from-port="2" to-layer="31" to-port="1" />
|
663 |
+
<edge from-layer="31" from-port="2" to-layer="32" to-port="0" />
|
664 |
+
<edge from-layer="31" from-port="2" to-layer="36" to-port="1" />
|
665 |
+
<edge from-layer="32" from-port="2" to-layer="34" to-port="0" />
|
666 |
+
<edge from-layer="33" from-port="0" to-layer="34" to-port="1" />
|
667 |
+
<edge from-layer="34" from-port="2" to-layer="36" to-port="3" />
|
668 |
+
<edge from-layer="35" from-port="0" to-layer="36" to-port="4" />
|
669 |
+
<edge from-layer="36" from-port="6" to-layer="37" to-port="0" />
|
670 |
+
<edge from-layer="36" from-port="5" to-layer="40" to-port="0" />
|
671 |
+
<edge from-layer="37" from-port="1" to-layer="38" to-port="0" />
|
672 |
+
<edge from-layer="38" from-port="1" to-layer="39" to-port="0" />
|
673 |
+
<edge from-layer="40" from-port="1" to-layer="41" to-port="0" />
|
674 |
+
</edges>
|
675 |
+
<rt_info>
|
676 |
+
<add_attention_mask value="True" />
|
677 |
+
<add_prefix_space />
|
678 |
+
<add_special_tokens value="True" />
|
679 |
+
<bos_token_id value="100257" />
|
680 |
+
<chat_template value="{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|><|im_start|>assistant<|im_sep|>'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}" />
|
681 |
+
<clean_up_tokenization_spaces />
|
682 |
+
<detokenizer_input_type value="i64" />
|
683 |
+
<eos_token_id value="100257" />
|
684 |
+
<handle_special_tokens_with_re />
|
685 |
+
<number_of_inputs value="1" />
|
686 |
+
<openvino_tokenizers_version value="2025.0.0.0.dev20241226" />
|
687 |
+
<openvino_version value="2025.0.0.dev20241226" />
|
688 |
+
<original_tokenizer_class value="<class 'transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast'>" />
|
689 |
+
<pad_token_id value="100257" />
|
690 |
+
<sentencepiece_version value="0.2.0" />
|
691 |
+
<skip_special_tokens value="True" />
|
692 |
+
<streaming_detokenizer value="False" />
|
693 |
+
<tiktoken_version value="0.8.0" />
|
694 |
+
<tokenizer_output_type value="i64" />
|
695 |
+
<tokenizers_version value="0.20.3" />
|
696 |
+
<transformers_version value="4.46.1" />
|
697 |
+
<use_max_padding value="False" />
|
698 |
+
<use_sentencepiece_backend value="False" />
|
699 |
+
<utf8_replace_mode value="replace" />
|
700 |
+
<with_detokenizer value="True" />
|
701 |
+
</rt_info>
|
702 |
+
</net>
|