AIFunOver commited on
Commit
2c9532e
1 Parent(s): 5f557f2

Upload openvino_tokenizer.xml with huggingface_hub

Browse files
Files changed (1) hide show
  1. openvino_tokenizer.xml +777 -0
openvino_tokenizer.xml ADDED
@@ -0,0 +1,777 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="tokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_127122" type="Parameter" version="opset1">
5
+ <data shape="?" element_type="string" />
6
+ <output>
7
+ <port id="0" precision="STRING" names="Parameter_127122">
8
+ <dim>-1</dim>
9
+ </port>
10
+ </output>
11
+ </layer>
12
+ <layer id="1" name="Constant_127220" type="Const" version="opset1">
13
+ <data element_type="i32" shape="" offset="0" size="4" />
14
+ <output>
15
+ <port id="0" precision="I32" />
16
+ </output>
17
+ </layer>
18
+ <layer id="2" name="Constant_127221" type="Const" version="opset1">
19
+ <data element_type="i32" shape="" offset="4" size="4" />
20
+ <output>
21
+ <port id="0" precision="I32" />
22
+ </output>
23
+ </layer>
24
+ <layer id="3" name="Constant_127222" type="Const" version="opset1">
25
+ <data element_type="i32" shape="1" offset="8" size="4" />
26
+ <output>
27
+ <port id="0" precision="I32">
28
+ <dim>1</dim>
29
+ </port>
30
+ </output>
31
+ </layer>
32
+ <layer id="4" name="Constant_127128" type="Const" version="opset1">
33
+ <data element_type="i64" shape="" offset="12" size="8" />
34
+ <output>
35
+ <port id="0" precision="I64" />
36
+ </output>
37
+ </layer>
38
+ <layer id="5" name="StringTensorUnpack_127123" type="StringTensorUnpack" version="extension">
39
+ <data mode="begins_ends" />
40
+ <input>
41
+ <port id="0" precision="STRING">
42
+ <dim>-1</dim>
43
+ </port>
44
+ </input>
45
+ <output>
46
+ <port id="1" precision="I32">
47
+ <dim>-1</dim>
48
+ </port>
49
+ <port id="2" precision="I32">
50
+ <dim>-1</dim>
51
+ </port>
52
+ <port id="3" precision="U8">
53
+ <dim>-1</dim>
54
+ </port>
55
+ </output>
56
+ </layer>
57
+ <layer id="6" name="ShapeOf_127124" type="ShapeOf" version="opset3">
58
+ <data output_type="i64" />
59
+ <input>
60
+ <port id="0" precision="I32">
61
+ <dim>-1</dim>
62
+ </port>
63
+ </input>
64
+ <output>
65
+ <port id="1" precision="I64">
66
+ <dim>1</dim>
67
+ </port>
68
+ </output>
69
+ </layer>
70
+ <layer id="7" name="Constant_127125" type="Const" version="opset1">
71
+ <data element_type="i64" shape="" offset="12" size="8" />
72
+ <output>
73
+ <port id="0" precision="I64" />
74
+ </output>
75
+ </layer>
76
+ <layer id="8" name="Constant_127126" type="Const" version="opset1">
77
+ <data element_type="i64" shape="" offset="12" size="8" />
78
+ <output>
79
+ <port id="0" precision="I64" />
80
+ </output>
81
+ </layer>
82
+ <layer id="9" name="Gather_127127" type="Gather" version="opset8">
83
+ <data batch_dims="0" />
84
+ <input>
85
+ <port id="0" precision="I64">
86
+ <dim>1</dim>
87
+ </port>
88
+ <port id="1" precision="I64" />
89
+ <port id="2" precision="I64" />
90
+ </input>
91
+ <output>
92
+ <port id="3" precision="I64" />
93
+ </output>
94
+ </layer>
95
+ <layer id="10" name="Constant_127129" type="Const" version="opset1">
96
+ <data element_type="i64" shape="" offset="20" size="8" />
97
+ <output>
98
+ <port id="0" precision="I64" />
99
+ </output>
100
+ </layer>
101
+ <layer id="11" name="Range_127130" type="Range" version="opset4">
102
+ <data output_type="i32" />
103
+ <input>
104
+ <port id="0" precision="I64" />
105
+ <port id="1" precision="I64" />
106
+ <port id="2" precision="I64" />
107
+ </input>
108
+ <output>
109
+ <port id="3" precision="I32">
110
+ <dim>-1</dim>
111
+ </port>
112
+ </output>
113
+ </layer>
114
+ <layer id="12" name="Constant_127131" type="Const" version="opset1">
115
+ <data element_type="i64" shape="" offset="20" size="8" />
116
+ <output>
117
+ <port id="0" precision="I64" />
118
+ </output>
119
+ </layer>
120
+ <layer id="13" name="Constant_127132" type="Const" version="opset1">
121
+ <data element_type="i64" shape="" offset="20" size="8" />
122
+ <output>
123
+ <port id="0" precision="I64" />
124
+ </output>
125
+ </layer>
126
+ <layer id="14" name="Add_127133" type="Add" version="opset1">
127
+ <data auto_broadcast="numpy" />
128
+ <input>
129
+ <port id="0" precision="I64" />
130
+ <port id="1" precision="I64" />
131
+ </input>
132
+ <output>
133
+ <port id="2" precision="I64" />
134
+ </output>
135
+ </layer>
136
+ <layer id="15" name="Constant_127134" type="Const" version="opset1">
137
+ <data element_type="i64" shape="" offset="20" size="8" />
138
+ <output>
139
+ <port id="0" precision="I64" />
140
+ </output>
141
+ </layer>
142
+ <layer id="16" name="Range_127135" type="Range" version="opset4">
143
+ <data output_type="i32" />
144
+ <input>
145
+ <port id="0" precision="I64" />
146
+ <port id="1" precision="I64" />
147
+ <port id="2" precision="I64" />
148
+ </input>
149
+ <output>
150
+ <port id="3" precision="I32">
151
+ <dim>-1</dim>
152
+ </port>
153
+ </output>
154
+ </layer>
155
+ <layer id="17" name="Constant_127197" type="Const" version="opset1">
156
+ <data element_type="u8" shape="9248" offset="28" size="9248" />
157
+ <output>
158
+ <port id="0" precision="U8">
159
+ <dim>9248</dim>
160
+ </port>
161
+ </output>
162
+ </layer>
163
+ <layer id="18" name="SpecialTokensSplit_127198" type="SpecialTokensSplit" version="extension">
164
+ <input>
165
+ <port id="0" precision="I32">
166
+ <dim>-1</dim>
167
+ </port>
168
+ <port id="1" precision="I32">
169
+ <dim>-1</dim>
170
+ </port>
171
+ <port id="2" precision="I32">
172
+ <dim>-1</dim>
173
+ </port>
174
+ <port id="3" precision="I32">
175
+ <dim>-1</dim>
176
+ </port>
177
+ <port id="4" precision="U8">
178
+ <dim>-1</dim>
179
+ </port>
180
+ <port id="5" precision="U8">
181
+ <dim>9248</dim>
182
+ </port>
183
+ </input>
184
+ <output>
185
+ <port id="6" precision="I32">
186
+ <dim>-1</dim>
187
+ </port>
188
+ <port id="7" precision="I32">
189
+ <dim>-1</dim>
190
+ </port>
191
+ <port id="8" precision="I32">
192
+ <dim>-1</dim>
193
+ </port>
194
+ <port id="9" precision="I32">
195
+ <dim>-1</dim>
196
+ </port>
197
+ <port id="10" precision="U8">
198
+ <dim>-1</dim>
199
+ </port>
200
+ <port id="11" precision="BOOL">
201
+ <dim>-1</dim>
202
+ </port>
203
+ </output>
204
+ </layer>
205
+ <layer id="19" name="Constant_127200" type="Const" version="opset1">
206
+ <data element_type="u8" shape="115" offset="9276" size="115" />
207
+ <output>
208
+ <port id="0" precision="U8">
209
+ <dim>115</dim>
210
+ </port>
211
+ </output>
212
+ </layer>
213
+ <layer id="20" name="RegexSplit_127201" type="RegexSplit" version="extension">
214
+ <data behaviour="isolate" invert="false" max_splits="-1" />
215
+ <input>
216
+ <port id="0" precision="I32">
217
+ <dim>-1</dim>
218
+ </port>
219
+ <port id="1" precision="I32">
220
+ <dim>-1</dim>
221
+ </port>
222
+ <port id="2" precision="I32">
223
+ <dim>-1</dim>
224
+ </port>
225
+ <port id="3" precision="I32">
226
+ <dim>-1</dim>
227
+ </port>
228
+ <port id="4" precision="U8">
229
+ <dim>-1</dim>
230
+ </port>
231
+ <port id="5" precision="BOOL">
232
+ <dim>-1</dim>
233
+ </port>
234
+ <port id="6" precision="U8">
235
+ <dim>115</dim>
236
+ </port>
237
+ </input>
238
+ <output>
239
+ <port id="7" precision="I32">
240
+ <dim>-1</dim>
241
+ </port>
242
+ <port id="8" precision="I32">
243
+ <dim>-1</dim>
244
+ </port>
245
+ <port id="9" precision="I32">
246
+ <dim>-1</dim>
247
+ </port>
248
+ <port id="10" precision="I32">
249
+ <dim>-1</dim>
250
+ </port>
251
+ <port id="11" precision="U8">
252
+ <dim>-1</dim>
253
+ </port>
254
+ <port id="12" precision="BOOL">
255
+ <dim>-1</dim>
256
+ </port>
257
+ </output>
258
+ </layer>
259
+ <layer id="21" name="Constant_127203" type="Const" version="opset1">
260
+ <data element_type="u8" shape="1351800" offset="9391" size="1351800" />
261
+ <output>
262
+ <port id="0" precision="U8">
263
+ <dim>1351800</dim>
264
+ </port>
265
+ </output>
266
+ </layer>
267
+ <layer id="22" name="StringTensorUnpack_127204" type="StringTensorUnpack" version="extension">
268
+ <data mode="begins_ends" />
269
+ <input>
270
+ <port id="0" precision="U8">
271
+ <dim>1351800</dim>
272
+ </port>
273
+ </input>
274
+ <output>
275
+ <port id="1" precision="I32">
276
+ <dim>-1</dim>
277
+ </port>
278
+ <port id="2" precision="I32">
279
+ <dim>-1</dim>
280
+ </port>
281
+ <port id="3" precision="U8">
282
+ <dim>-1</dim>
283
+ </port>
284
+ </output>
285
+ </layer>
286
+ <layer id="23" name="Constant_127209" type="Const" version="opset1">
287
+ <data element_type="u8" shape="2114111" offset="1361191" size="2114111" />
288
+ <output>
289
+ <port id="0" precision="U8">
290
+ <dim>2114111</dim>
291
+ </port>
292
+ </output>
293
+ </layer>
294
+ <layer id="24" name="StringTensorUnpack_127210" type="StringTensorUnpack" version="extension">
295
+ <data mode="begins_ends" />
296
+ <input>
297
+ <port id="0" precision="U8">
298
+ <dim>2114111</dim>
299
+ </port>
300
+ </input>
301
+ <output>
302
+ <port id="1" precision="I32">
303
+ <dim>-1</dim>
304
+ </port>
305
+ <port id="2" precision="I32">
306
+ <dim>-1</dim>
307
+ </port>
308
+ <port id="3" precision="U8">
309
+ <dim>-1</dim>
310
+ </port>
311
+ </output>
312
+ </layer>
313
+ <layer id="25" name="Constant_127212" type="Const" version="opset1">
314
+ <data element_type="u8" shape="2157314" offset="3475302" size="2157314" />
315
+ <output>
316
+ <port id="0" precision="U8">
317
+ <dim>2157314</dim>
318
+ </port>
319
+ </output>
320
+ </layer>
321
+ <layer id="26" name="StringTensorUnpack_127213" type="StringTensorUnpack" version="extension">
322
+ <data mode="begins_ends" />
323
+ <input>
324
+ <port id="0" precision="U8">
325
+ <dim>2157314</dim>
326
+ </port>
327
+ </input>
328
+ <output>
329
+ <port id="1" precision="I32">
330
+ <dim>-1</dim>
331
+ </port>
332
+ <port id="2" precision="I32">
333
+ <dim>-1</dim>
334
+ </port>
335
+ <port id="3" precision="U8">
336
+ <dim>-1</dim>
337
+ </port>
338
+ </output>
339
+ </layer>
340
+ <layer id="27" name="Constant_127206" type="Const" version="opset1">
341
+ <data element_type="u8" shape="8489" offset="5632616" size="8489" />
342
+ <output>
343
+ <port id="0" precision="U8">
344
+ <dim>8489</dim>
345
+ </port>
346
+ </output>
347
+ </layer>
348
+ <layer id="28" name="StringTensorUnpack_127207" type="StringTensorUnpack" version="extension">
349
+ <data mode="begins_ends" />
350
+ <input>
351
+ <port id="0" precision="U8">
352
+ <dim>8489</dim>
353
+ </port>
354
+ </input>
355
+ <output>
356
+ <port id="1" precision="I32">
357
+ <dim>-1</dim>
358
+ </port>
359
+ <port id="2" precision="I32">
360
+ <dim>-1</dim>
361
+ </port>
362
+ <port id="3" precision="U8">
363
+ <dim>-1</dim>
364
+ </port>
365
+ </output>
366
+ </layer>
367
+ <layer id="29" name="Constant_127214" type="Const" version="opset1">
368
+ <data element_type="i32" shape="256" offset="5641105" size="1024" />
369
+ <output>
370
+ <port id="0" precision="I32">
371
+ <dim>256</dim>
372
+ </port>
373
+ </output>
374
+ </layer>
375
+ <layer id="30" name="BPETokenizer_127215" type="BPETokenizer" version="extension">
376
+ <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="25600" />
377
+ <input>
378
+ <port id="0" precision="I32">
379
+ <dim>-1</dim>
380
+ </port>
381
+ <port id="1" precision="I32">
382
+ <dim>-1</dim>
383
+ </port>
384
+ <port id="2" precision="I32">
385
+ <dim>-1</dim>
386
+ </port>
387
+ <port id="3" precision="I32">
388
+ <dim>-1</dim>
389
+ </port>
390
+ <port id="4" precision="U8">
391
+ <dim>-1</dim>
392
+ </port>
393
+ <port id="5" precision="I32">
394
+ <dim>-1</dim>
395
+ </port>
396
+ <port id="6" precision="I32">
397
+ <dim>-1</dim>
398
+ </port>
399
+ <port id="7" precision="U8">
400
+ <dim>-1</dim>
401
+ </port>
402
+ <port id="8" precision="I32">
403
+ <dim>-1</dim>
404
+ </port>
405
+ <port id="9" precision="I32">
406
+ <dim>-1</dim>
407
+ </port>
408
+ <port id="10" precision="U8">
409
+ <dim>-1</dim>
410
+ </port>
411
+ <port id="11" precision="I32">
412
+ <dim>-1</dim>
413
+ </port>
414
+ <port id="12" precision="I32">
415
+ <dim>-1</dim>
416
+ </port>
417
+ <port id="13" precision="U8">
418
+ <dim>-1</dim>
419
+ </port>
420
+ <port id="14" precision="I32">
421
+ <dim>-1</dim>
422
+ </port>
423
+ <port id="15" precision="I32">
424
+ <dim>-1</dim>
425
+ </port>
426
+ <port id="16" precision="U8">
427
+ <dim>-1</dim>
428
+ </port>
429
+ <port id="17" precision="I32">
430
+ <dim>256</dim>
431
+ </port>
432
+ </input>
433
+ <output>
434
+ <port id="18" precision="I32">
435
+ <dim>-1</dim>
436
+ </port>
437
+ <port id="19" precision="I32">
438
+ <dim>-1</dim>
439
+ </port>
440
+ <port id="20" precision="I32">
441
+ <dim>-1</dim>
442
+ </port>
443
+ </output>
444
+ </layer>
445
+ <layer id="31" name="Subtract_127216" type="Subtract" version="opset1">
446
+ <data auto_broadcast="numpy" />
447
+ <input>
448
+ <port id="0" precision="I32">
449
+ <dim>-1</dim>
450
+ </port>
451
+ <port id="1" precision="I32">
452
+ <dim>-1</dim>
453
+ </port>
454
+ </input>
455
+ <output>
456
+ <port id="2" precision="I32">
457
+ <dim>-1</dim>
458
+ </port>
459
+ </output>
460
+ </layer>
461
+ <layer id="32" name="Constant_127217" type="Const" version="opset1">
462
+ <data element_type="i32" shape="" offset="5642129" size="4" />
463
+ <output>
464
+ <port id="0" precision="I32" />
465
+ </output>
466
+ </layer>
467
+ <layer id="33" name="Minimum_127218" type="Minimum" version="opset1">
468
+ <data auto_broadcast="numpy" />
469
+ <input>
470
+ <port id="0" precision="I32">
471
+ <dim>-1</dim>
472
+ </port>
473
+ <port id="1" precision="I32" />
474
+ </input>
475
+ <output>
476
+ <port id="2" precision="I32">
477
+ <dim>-1</dim>
478
+ </port>
479
+ </output>
480
+ </layer>
481
+ <layer id="34" name="Add_127219" type="Add" version="opset1">
482
+ <data auto_broadcast="numpy" />
483
+ <input>
484
+ <port id="0" precision="I32">
485
+ <dim>-1</dim>
486
+ </port>
487
+ <port id="1" precision="I32">
488
+ <dim>-1</dim>
489
+ </port>
490
+ </input>
491
+ <output>
492
+ <port id="2" precision="I32">
493
+ <dim>-1</dim>
494
+ </port>
495
+ </output>
496
+ </layer>
497
+ <layer id="35" name="Constant_127223" type="Const" version="opset1">
498
+ <data element_type="i32" shape="2" offset="12" size="8" />
499
+ <output>
500
+ <port id="0" precision="I32">
501
+ <dim>2</dim>
502
+ </port>
503
+ </output>
504
+ </layer>
505
+ <layer id="36" name="CombineSegments_127224" type="CombineSegments" version="extension">
506
+ <input>
507
+ <port id="0" precision="I32" />
508
+ <port id="1" precision="I32" />
509
+ <port id="2" precision="I32">
510
+ <dim>1</dim>
511
+ </port>
512
+ <port id="3" precision="I32">
513
+ <dim>-1</dim>
514
+ </port>
515
+ <port id="4" precision="I32">
516
+ <dim>-1</dim>
517
+ </port>
518
+ <port id="5" precision="I32">
519
+ <dim>-1</dim>
520
+ </port>
521
+ <port id="6" precision="I32">
522
+ <dim>2</dim>
523
+ </port>
524
+ </input>
525
+ <output>
526
+ <port id="7" precision="I32">
527
+ <dim>-1</dim>
528
+ </port>
529
+ <port id="8" precision="I32">
530
+ <dim>-1</dim>
531
+ </port>
532
+ <port id="9" precision="I32">
533
+ <dim>-1</dim>
534
+ </port>
535
+ <port id="10" precision="I32">
536
+ <dim>-1</dim>
537
+ </port>
538
+ <port id="11" precision="I32">
539
+ <dim>-1</dim>
540
+ </port>
541
+ <port id="12" precision="I32">
542
+ <dim>-1</dim>
543
+ </port>
544
+ </output>
545
+ </layer>
546
+ <layer id="37" name="Subtract_127225" type="Subtract" version="opset1">
547
+ <data auto_broadcast="numpy" />
548
+ <input>
549
+ <port id="0" precision="I32">
550
+ <dim>-1</dim>
551
+ </port>
552
+ <port id="1" precision="I32">
553
+ <dim>-1</dim>
554
+ </port>
555
+ </input>
556
+ <output>
557
+ <port id="2" precision="I32">
558
+ <dim>-1</dim>
559
+ </port>
560
+ </output>
561
+ </layer>
562
+ <layer id="38" name="Constant_127226" type="Const" version="opset1">
563
+ <data element_type="i32" shape="" offset="0" size="4" />
564
+ <output>
565
+ <port id="0" precision="I32" />
566
+ </output>
567
+ </layer>
568
+ <layer id="39" name="ReduceMax_127227" type="ReduceMax" version="opset1">
569
+ <data keep_dims="false" />
570
+ <input>
571
+ <port id="0" precision="I32">
572
+ <dim>-1</dim>
573
+ </port>
574
+ <port id="1" precision="I32" />
575
+ </input>
576
+ <output>
577
+ <port id="2" precision="I32" />
578
+ </output>
579
+ </layer>
580
+ <layer id="40" name="Constant_127228" type="Const" version="opset1">
581
+ <data element_type="i32" shape="" offset="0" size="4" />
582
+ <output>
583
+ <port id="0" precision="I32" />
584
+ </output>
585
+ </layer>
586
+ <layer id="41" name="RaggedToDense_127229" type="RaggedToDense" version="extension">
587
+ <data pad_right="true" />
588
+ <input>
589
+ <port id="0" precision="I32">
590
+ <dim>-1</dim>
591
+ </port>
592
+ <port id="1" precision="I32">
593
+ <dim>-1</dim>
594
+ </port>
595
+ <port id="2" precision="I32">
596
+ <dim>-1</dim>
597
+ </port>
598
+ <port id="3" precision="I32" />
599
+ <port id="4" precision="I32" />
600
+ </input>
601
+ <output>
602
+ <port id="5" precision="I32">
603
+ <dim>-1</dim>
604
+ <dim>-1</dim>
605
+ </port>
606
+ <port id="6" precision="BOOL">
607
+ <dim>-1</dim>
608
+ <dim>-1</dim>
609
+ </port>
610
+ </output>
611
+ </layer>
612
+ <layer id="42" name="Convert_127230" type="Convert" version="opset1">
613
+ <data destination_type="i32" />
614
+ <input>
615
+ <port id="0" precision="BOOL">
616
+ <dim>-1</dim>
617
+ <dim>-1</dim>
618
+ </port>
619
+ </input>
620
+ <output>
621
+ <port id="1" precision="I32">
622
+ <dim>-1</dim>
623
+ <dim>-1</dim>
624
+ </port>
625
+ </output>
626
+ </layer>
627
+ <layer id="43" name="Convert_127230" type="Convert" version="opset1">
628
+ <data destination_type="i64" />
629
+ <input>
630
+ <port id="0" precision="I32">
631
+ <dim>-1</dim>
632
+ <dim>-1</dim>
633
+ </port>
634
+ </input>
635
+ <output>
636
+ <port id="1" precision="I64" names="attention_mask">
637
+ <dim>-1</dim>
638
+ <dim>-1</dim>
639
+ </port>
640
+ </output>
641
+ </layer>
642
+ <layer id="45" name="RaggedToDense_127229.0" type="Convert" version="opset1">
643
+ <data destination_type="i64" />
644
+ <input>
645
+ <port id="0" precision="I32">
646
+ <dim>-1</dim>
647
+ <dim>-1</dim>
648
+ </port>
649
+ </input>
650
+ <output>
651
+ <port id="1" precision="I64" names="input_ids">
652
+ <dim>-1</dim>
653
+ <dim>-1</dim>
654
+ </port>
655
+ </output>
656
+ </layer>
657
+ <layer id="46" name="Result_127233" type="Result" version="opset1">
658
+ <input>
659
+ <port id="0" precision="I64">
660
+ <dim>-1</dim>
661
+ <dim>-1</dim>
662
+ </port>
663
+ </input>
664
+ </layer>
665
+ <layer id="44" name="Result_127235" type="Result" version="opset1">
666
+ <input>
667
+ <port id="0" precision="I64">
668
+ <dim>-1</dim>
669
+ <dim>-1</dim>
670
+ </port>
671
+ </input>
672
+ </layer>
673
+ </layers>
674
+ <edges>
675
+ <edge from-layer="0" from-port="0" to-layer="5" to-port="0" />
676
+ <edge from-layer="1" from-port="0" to-layer="36" to-port="0" />
677
+ <edge from-layer="2" from-port="0" to-layer="36" to-port="1" />
678
+ <edge from-layer="3" from-port="0" to-layer="36" to-port="2" />
679
+ <edge from-layer="4" from-port="0" to-layer="11" to-port="0" />
680
+ <edge from-layer="5" from-port="1" to-layer="6" to-port="0" />
681
+ <edge from-layer="5" from-port="3" to-layer="18" to-port="4" />
682
+ <edge from-layer="5" from-port="2" to-layer="18" to-port="3" />
683
+ <edge from-layer="5" from-port="1" to-layer="18" to-port="2" />
684
+ <edge from-layer="6" from-port="1" to-layer="9" to-port="0" />
685
+ <edge from-layer="7" from-port="0" to-layer="9" to-port="1" />
686
+ <edge from-layer="8" from-port="0" to-layer="9" to-port="2" />
687
+ <edge from-layer="9" from-port="3" to-layer="14" to-port="0" />
688
+ <edge from-layer="9" from-port="3" to-layer="11" to-port="1" />
689
+ <edge from-layer="10" from-port="0" to-layer="11" to-port="2" />
690
+ <edge from-layer="11" from-port="3" to-layer="18" to-port="0" />
691
+ <edge from-layer="12" from-port="0" to-layer="16" to-port="0" />
692
+ <edge from-layer="13" from-port="0" to-layer="14" to-port="1" />
693
+ <edge from-layer="14" from-port="2" to-layer="16" to-port="1" />
694
+ <edge from-layer="15" from-port="0" to-layer="16" to-port="2" />
695
+ <edge from-layer="16" from-port="3" to-layer="18" to-port="1" />
696
+ <edge from-layer="17" from-port="0" to-layer="18" to-port="5" />
697
+ <edge from-layer="18" from-port="9" to-layer="20" to-port="3" />
698
+ <edge from-layer="18" from-port="11" to-layer="20" to-port="5" />
699
+ <edge from-layer="18" from-port="10" to-layer="20" to-port="4" />
700
+ <edge from-layer="18" from-port="8" to-layer="20" to-port="2" />
701
+ <edge from-layer="18" from-port="7" to-layer="20" to-port="1" />
702
+ <edge from-layer="18" from-port="6" to-layer="20" to-port="0" />
703
+ <edge from-layer="19" from-port="0" to-layer="20" to-port="6" />
704
+ <edge from-layer="20" from-port="7" to-layer="30" to-port="0" />
705
+ <edge from-layer="20" from-port="8" to-layer="30" to-port="1" />
706
+ <edge from-layer="20" from-port="9" to-layer="30" to-port="2" />
707
+ <edge from-layer="20" from-port="10" to-layer="30" to-port="3" />
708
+ <edge from-layer="20" from-port="11" to-layer="30" to-port="4" />
709
+ <edge from-layer="21" from-port="0" to-layer="22" to-port="0" />
710
+ <edge from-layer="22" from-port="3" to-layer="30" to-port="7" />
711
+ <edge from-layer="22" from-port="1" to-layer="30" to-port="5" />
712
+ <edge from-layer="22" from-port="2" to-layer="30" to-port="6" />
713
+ <edge from-layer="23" from-port="0" to-layer="24" to-port="0" />
714
+ <edge from-layer="24" from-port="1" to-layer="30" to-port="8" />
715
+ <edge from-layer="24" from-port="2" to-layer="30" to-port="9" />
716
+ <edge from-layer="24" from-port="3" to-layer="30" to-port="10" />
717
+ <edge from-layer="25" from-port="0" to-layer="26" to-port="0" />
718
+ <edge from-layer="26" from-port="3" to-layer="30" to-port="13" />
719
+ <edge from-layer="26" from-port="1" to-layer="30" to-port="11" />
720
+ <edge from-layer="26" from-port="2" to-layer="30" to-port="12" />
721
+ <edge from-layer="27" from-port="0" to-layer="28" to-port="0" />
722
+ <edge from-layer="28" from-port="1" to-layer="30" to-port="14" />
723
+ <edge from-layer="28" from-port="2" to-layer="30" to-port="15" />
724
+ <edge from-layer="28" from-port="3" to-layer="30" to-port="16" />
725
+ <edge from-layer="29" from-port="0" to-layer="30" to-port="17" />
726
+ <edge from-layer="30" from-port="20" to-layer="36" to-port="5" />
727
+ <edge from-layer="30" from-port="18" to-layer="36" to-port="3" />
728
+ <edge from-layer="30" from-port="18" to-layer="34" to-port="0" />
729
+ <edge from-layer="30" from-port="18" to-layer="31" to-port="1" />
730
+ <edge from-layer="30" from-port="19" to-layer="31" to-port="0" />
731
+ <edge from-layer="31" from-port="2" to-layer="33" to-port="0" />
732
+ <edge from-layer="32" from-port="0" to-layer="33" to-port="1" />
733
+ <edge from-layer="33" from-port="2" to-layer="34" to-port="1" />
734
+ <edge from-layer="34" from-port="2" to-layer="36" to-port="4" />
735
+ <edge from-layer="35" from-port="0" to-layer="36" to-port="6" />
736
+ <edge from-layer="36" from-port="8" to-layer="37" to-port="0" />
737
+ <edge from-layer="36" from-port="7" to-layer="37" to-port="1" />
738
+ <edge from-layer="36" from-port="7" to-layer="41" to-port="0" />
739
+ <edge from-layer="36" from-port="8" to-layer="41" to-port="1" />
740
+ <edge from-layer="36" from-port="9" to-layer="41" to-port="2" />
741
+ <edge from-layer="37" from-port="2" to-layer="39" to-port="0" />
742
+ <edge from-layer="38" from-port="0" to-layer="39" to-port="1" />
743
+ <edge from-layer="39" from-port="2" to-layer="41" to-port="3" />
744
+ <edge from-layer="40" from-port="0" to-layer="41" to-port="4" />
745
+ <edge from-layer="41" from-port="6" to-layer="42" to-port="0" />
746
+ <edge from-layer="41" from-port="5" to-layer="45" to-port="0" />
747
+ <edge from-layer="42" from-port="1" to-layer="43" to-port="0" />
748
+ <edge from-layer="43" from-port="1" to-layer="44" to-port="0" />
749
+ <edge from-layer="45" from-port="1" to-layer="46" to-port="0" />
750
+ </edges>
751
+ <rt_info>
752
+ <add_attention_mask value="True" />
753
+ <add_prefix_space />
754
+ <add_special_tokens value="True" />
755
+ <bos_token_id value="128000" />
756
+ <chat_template value="{{- bos_token }}&#10;{%- if custom_tools is defined %}&#10; {%- set tools = custom_tools %}&#10;{%- endif %}&#10;{%- if not tools_in_user_message is defined %}&#10; {%- set tools_in_user_message = true %}&#10;{%- endif %}&#10;{%- if not date_string is defined %}&#10; {%- if strftime_now is defined %}&#10; {%- set date_string = strftime_now(&quot;%d %b %Y&quot;) %}&#10; {%- else %}&#10; {%- set date_string = &quot;26 Jul 2024&quot; %}&#10; {%- endif %}&#10;{%- endif %}&#10;{%- if not tools is defined %}&#10; {%- set tools = none %}&#10;{%- endif %}&#10;&#10;{#- This block extracts the system message, so we can slot it into the right place. #}&#10;{%- if messages[0]['role'] == 'system' %}&#10; {%- set system_message = messages[0]['content']|trim %}&#10; {%- set messages = messages[1:] %}&#10;{%- else %}&#10; {%- set system_message = &quot;&quot; %}&#10;{%- endif %}&#10;&#10;{#- System message #}&#10;{{- &quot;&lt;|start_header_id|>system&lt;|end_header_id|>\n\n&quot; }}&#10;{%- if tools is not none %}&#10; {{- &quot;Environment: ipython\n&quot; }}&#10;{%- endif %}&#10;{{- &quot;Cutting Knowledge Date: December 2023\n&quot; }}&#10;{{- &quot;Today Date: &quot; + date_string + &quot;\n\n&quot; }}&#10;{%- if tools is not none and not tools_in_user_message %}&#10; {{- &quot;You have access to the following functions. To call a function, please respond with JSON for a function call.&quot; }}&#10; {{- 'Respond in the format {&quot;name&quot;: function name, &quot;parameters&quot;: dictionary of argument name and its value}.' }}&#10; {{- &quot;Do not use variables.\n\n&quot; }}&#10; {%- for t in tools %}&#10; {{- t | tojson(indent=4) }}&#10; {{- &quot;\n\n&quot; }}&#10; {%- endfor %}&#10;{%- endif %}&#10;{{- system_message }}&#10;{{- &quot;&lt;|eot_id|>&quot; }}&#10;&#10;{#- Custom tools are passed in a user message with some extra guidance #}&#10;{%- if tools_in_user_message and not tools is none %}&#10; {#- Extract the first user message so we can plug it in here #}&#10; {%- if messages | length != 0 %}&#10; {%- set first_user_message = messages[0]['content']|trim %}&#10; {%- set messages = messages[1:] %}&#10; {%- else %}&#10; {{- raise_exception(&quot;Cannot put tools in the first user message when there's no first user message!&quot;) }}&#10;{%- endif %}&#10; {{- '&lt;|start_header_id|>user&lt;|end_header_id|>\n\n' -}}&#10; {{- &quot;Given the following functions, please respond with a JSON for a function call &quot; }}&#10; {{- &quot;with its proper arguments that best answers the given prompt.\n\n&quot; }}&#10; {{- 'Respond in the format {&quot;name&quot;: function name, &quot;parameters&quot;: dictionary of argument name and its value}.' }}&#10; {{- &quot;Do not use variables.\n\n&quot; }}&#10; {%- for t in tools %}&#10; {{- t | tojson(indent=4) }}&#10; {{- &quot;\n\n&quot; }}&#10; {%- endfor %}&#10; {{- first_user_message + &quot;&lt;|eot_id|>&quot;}}&#10;{%- endif %}&#10;&#10;{%- for message in messages %}&#10; {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}&#10; {{- '&lt;|start_header_id|>' + message['role'] + '&lt;|end_header_id|>\n\n'+ message['content'] | trim + '&lt;|eot_id|>' }}&#10; {%- elif 'tool_calls' in message %}&#10; {%- if not message.tool_calls|length == 1 %}&#10; {{- raise_exception(&quot;This model only supports single tool-calls at once!&quot;) }}&#10; {%- endif %}&#10; {%- set tool_call = message.tool_calls[0].function %}&#10; {{- '&lt;|start_header_id|>assistant&lt;|end_header_id|>\n\n' -}}&#10; {{- '{&quot;name&quot;: &quot;' + tool_call.name + '&quot;, ' }}&#10; {{- '&quot;parameters&quot;: ' }}&#10; {{- tool_call.arguments | tojson }}&#10; {{- &quot;}&quot; }}&#10; {{- &quot;&lt;|eot_id|>&quot; }}&#10; {%- elif message.role == &quot;tool&quot; or message.role == &quot;ipython&quot; %}&#10; {{- &quot;&lt;|start_header_id|>ipython&lt;|end_header_id|>\n\n&quot; }}&#10; {%- if message.content is mapping or message.content is iterable %}&#10; {{- message.content | tojson }}&#10; {%- else %}&#10; {{- message.content }}&#10; {%- endif %}&#10; {{- &quot;&lt;|eot_id|>&quot; }}&#10; {%- endif %}&#10;{%- endfor %}&#10;{%- if add_generation_prompt %}&#10; {{- '&lt;|start_header_id|>assistant&lt;|end_header_id|>\n\n' }}&#10;{%- endif %}&#10;" />
757
+ <clean_up_tokenization_spaces />
758
+ <detokenizer_input_type value="i64" />
759
+ <eos_token_id value="128009" />
760
+ <handle_special_tokens_with_re />
761
+ <number_of_inputs value="1" />
762
+ <openvino_tokenizers_version value="2024.5.0.0.dev20241030" />
763
+ <openvino_version value="2024.5.0.dev20241030" />
764
+ <original_tokenizer_class value="&lt;class 'transformers.tokenization_utils_fast.PreTrainedTokenizerFast'>" />
765
+ <sentencepiece_version value="0.2.0" />
766
+ <skip_special_tokens value="True" />
767
+ <streaming_detokenizer value="False" />
768
+ <tiktoken_version value="0.8.0" />
769
+ <tokenizer_output_type value="i64" />
770
+ <tokenizers_version value="0.20.1" />
771
+ <transformers_version value="4.45.2" />
772
+ <use_max_padding value="False" />
773
+ <use_sentencepiece_backend value="False" />
774
+ <utf8_replace_mode />
775
+ <with_detokenizer value="True" />
776
+ </rt_info>
777
+ </net>