katuni4ka commited on
Commit
52ce290
1 Parent(s): c7348dc

Upload 4 files

Browse files
openvino_detokenizer.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea9e89a60210a4b7ef3c99b83bb338e4f17db9a387bb1325ba0397b5334b5d58
3
- size 571059
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9556d0a1f310629e217450ac4198c49f5457f1a69e22ce7c9f8e81fab4d530a7
3
+ size 499723
openvino_detokenizer.xml CHANGED
@@ -1,100 +1,49 @@
1
  <?xml version="1.0"?>
2
  <net name="detokenizer" version="11">
3
  <layers>
4
- <layer id="0" name="Parameter_185" type="Parameter" version="opset1">
5
  <data shape="?,?" element_type="i64" />
6
  <output>
7
- <port id="0" precision="I64" names="Parameter_185">
8
  <dim>-1</dim>
9
  <dim>-1</dim>
10
  </port>
11
  </output>
12
  </layer>
13
- <layer id="1" name="Convert_201" 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_88" type="Const" version="opset1">
29
- <data element_type="u8" shape="571010" offset="0" size="571010" />
30
  <output>
31
  <port id="0" precision="U8">
32
- <dim>571010</dim>
33
  </port>
34
  </output>
35
  </layer>
36
- <layer id="3" name="StringTensorUnpack_89" type="StringTensorUnpack" version="extension">
37
- <data mode="begins_ends" />
38
  <input>
39
- <port id="0" precision="U8">
40
- <dim>571010</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_186" type="VocabDecoder" version="extension">
56
- <data skip_tokens="50256" />
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_187" 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>
@@ -104,67 +53,9 @@
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_189" type="Const" version="opset1">
121
- <data element_type="u8" shape="47" offset="571010" 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_191" type="Const" version="opset1">
129
- <data element_type="u8" shape="2" offset="571057" 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_192" 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_193" type="StringTensorPack" version="extension">
168
  <data mode="begins_ends" />
169
  <input>
170
  <port id="0" precision="I32">
@@ -183,7 +74,7 @@
183
  </port>
184
  </output>
185
  </layer>
186
- <layer id="10" name="Result_194" type="Result" version="opset1">
187
  <input>
188
  <port id="0" precision="STRING">
189
  <dim>-1</dim>
@@ -192,28 +83,15 @@
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="50256" />
218
  </rt_info>
219
  </net>
 
1
  <?xml version="1.0"?>
2
  <net name="detokenizer" version="11">
3
  <layers>
4
+ <layer id="0" name="Parameter_22" type="Parameter" version="opset1">
5
  <data shape="?,?" element_type="i64" />
6
  <output>
7
+ <port id="0" precision="I64" names="Parameter_22">
8
  <dim>-1</dim>
9
  <dim>-1</dim>
10
  </port>
11
  </output>
12
  </layer>
13
+ <layer id="1" name="Constant_2" type="Const" version="opset1">
14
+ <data element_type="u8" shape="499723" offset="0" size="499723" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  <output>
16
  <port id="0" precision="U8">
17
+ <dim>499723</dim>
18
  </port>
19
  </output>
20
  </layer>
21
+ <layer id="2" name="Convert_32" type="Convert" version="opset1">
22
+ <data destination_type="i32" />
23
  <input>
24
+ <port id="0" precision="I64">
25
+ <dim>-1</dim>
26
+ <dim>-1</dim>
27
  </port>
28
  </input>
29
  <output>
30
  <port id="1" precision="I32">
31
  <dim>-1</dim>
 
 
 
 
 
32
  <dim>-1</dim>
33
  </port>
34
  </output>
35
  </layer>
36
+ <layer id="3" name="SentencepieceDetokenizer_23" type="SentencepieceDetokenizer" version="extension">
 
37
  <input>
38
+ <port id="0" precision="U8">
39
+ <dim>499723</dim>
 
40
  </port>
41
  <port id="1" precision="I32">
42
  <dim>-1</dim>
 
 
 
 
 
43
  <dim>-1</dim>
44
  </port>
45
  </input>
46
  <output>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  <port id="2" precision="I32">
48
  <dim>-1</dim>
49
  </port>
 
53
  <port id="4" precision="U8">
54
  <dim>-1</dim>
55
  </port>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  </output>
57
  </layer>
58
+ <layer id="4" name="StringTensorPack_24" type="StringTensorPack" version="extension">
59
  <data mode="begins_ends" />
60
  <input>
61
  <port id="0" precision="I32">
 
74
  </port>
75
  </output>
76
  </layer>
77
+ <layer id="5" name="Result_25" type="Result" version="opset1">
78
  <input>
79
  <port id="0" precision="STRING">
80
  <dim>-1</dim>
 
83
  </layer>
84
  </layers>
85
  <edges>
86
+ <edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
87
+ <edge from-layer="1" from-port="0" to-layer="3" to-port="0" />
88
+ <edge from-layer="2" from-port="1" to-layer="3" to-port="1" />
89
+ <edge from-layer="3" from-port="2" to-layer="4" to-port="0" />
90
+ <edge from-layer="3" from-port="3" to-layer="4" to-port="1" />
91
+ <edge from-layer="3" from-port="4" to-layer="4" to-port="2" />
92
+ <edge from-layer="4" from-port="3" to-layer="5" to-port="0" />
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  </edges>
94
  <rt_info>
95
+ <eos_token_id value="2" />
96
  </rt_info>
97
  </net>
openvino_tokenizer.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:867c64c0e1a3ccd1e886d6b1b372cf58e4cd1f48114bf57e982cded46348659f
3
- size 1207187
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:198c98ed1f62d49eace27a191b19b0ddec76566ca0b2ff88806b67ae1702c20f
3
+ size 499735
openvino_tokenizer.xml CHANGED
@@ -1,393 +1,73 @@
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="12758" offset="16" size="12758" />
137
- <output>
138
- <port id="0" precision="U8">
139
- <dim>12758</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>12758</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_84" type="Const" version="opset1">
184
- <data element_type="u8" shape="64" offset="12774" 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="Constant_81" type="Const" version="opset1">
192
- <data element_type="u8" shape="13247" offset="12838" size="13247" />
193
  <output>
194
  <port id="0" precision="U8">
195
- <dim>13247</dim>
196
  </port>
197
  </output>
198
  </layer>
199
- <layer id="18" name="StringTensorUnpack_82" type="StringTensorUnpack" version="extension">
200
- <data mode="begins_ends" />
201
  <input>
202
  <port id="0" precision="U8">
203
- <dim>13247</dim>
204
- </port>
205
- </input>
206
- <output>
207
- <port id="1" precision="I32">
208
- <dim>-1</dim>
209
- </port>
210
- <port id="2" precision="I32">
211
- <dim>-1</dim>
212
- </port>
213
- <port id="3" precision="U8">
214
- <dim>-1</dim>
215
- </port>
216
- </output>
217
- </layer>
218
- <layer id="19" name="RegexSplit_85" type="RegexSplit" version="extension">
219
- <data behaviour="isolate" invert="false" max_splits="-1" />
220
- <input>
221
- <port id="0" precision="I32">
222
- <dim>-1</dim>
223
  </port>
224
- <port id="1" precision="I32">
225
- <dim>-1</dim>
226
- </port>
227
- <port id="2" precision="I32">
228
- <dim>-1</dim>
229
- </port>
230
- <port id="3" precision="I32">
231
- <dim>-1</dim>
232
- </port>
233
- <port id="4" precision="U8">
234
- <dim>-1</dim>
235
- </port>
236
- <port id="5" precision="U8">
237
- <dim>64</dim>
238
- </port>
239
- <port id="6" precision="I32">
240
- <dim>-1</dim>
241
- </port>
242
- <port id="7" precision="I32">
243
- <dim>-1</dim>
244
- </port>
245
- <port id="8" precision="U8">
246
  <dim>-1</dim>
247
  </port>
248
  </input>
249
  <output>
250
- <port id="9" precision="I32">
251
- <dim>-1</dim>
252
- </port>
253
- <port id="10" precision="I32">
254
- <dim>-1</dim>
255
- </port>
256
- <port id="11" precision="I32">
257
- <dim>-1</dim>
258
- </port>
259
- <port id="12" precision="I32">
260
- <dim>-1</dim>
261
- </port>
262
- <port id="13" precision="U8">
263
- <dim>-1</dim>
264
- </port>
265
- </output>
266
- </layer>
267
- <layer id="20" name="BytesToChars_86" type="BytesToChars" version="extension">
268
- <input>
269
- <port id="0" precision="I32">
270
- <dim>-1</dim>
271
- </port>
272
- <port id="1" precision="I32">
273
- <dim>-1</dim>
274
- </port>
275
- <port id="2" precision="I32">
276
  <dim>-1</dim>
 
277
  </port>
278
  <port id="3" precision="I32">
279
  <dim>-1</dim>
280
  </port>
281
- <port id="4" precision="U8">
282
- <dim>-1</dim>
283
- </port>
284
- </input>
285
- <output>
286
- <port id="5" precision="I32">
287
- <dim>-1</dim>
288
- </port>
289
- <port id="6" precision="I32">
290
- <dim>-1</dim>
291
- </port>
292
- <port id="7" precision="I32">
293
- <dim>-1</dim>
294
- </port>
295
- <port id="8" precision="I32">
296
- <dim>-1</dim>
297
- </port>
298
- <port id="9" precision="U8">
299
- <dim>-1</dim>
300
- </port>
301
- </output>
302
- </layer>
303
- <layer id="21" name="Constant_88" type="Const" version="opset1">
304
- <data element_type="u8" shape="571010" offset="26085" size="571010" />
305
- <output>
306
- <port id="0" precision="U8">
307
- <dim>571010</dim>
308
- </port>
309
- </output>
310
- </layer>
311
- <layer id="22" name="StringTensorUnpack_89" type="StringTensorUnpack" version="extension">
312
- <data mode="begins_ends" />
313
- <input>
314
- <port id="0" precision="U8">
315
- <dim>571010</dim>
316
- </port>
317
- </input>
318
- <output>
319
- <port id="1" precision="I32">
320
- <dim>-1</dim>
321
- </port>
322
- <port id="2" precision="I32">
323
- <dim>-1</dim>
324
- </port>
325
- <port id="3" precision="U8">
326
- <dim>-1</dim>
327
- </port>
328
- </output>
329
- </layer>
330
- <layer id="23" name="Constant_169" type="Const" version="opset1">
331
- <data element_type="u8" shape="606312" offset="597095" size="606312" />
332
- <output>
333
- <port id="0" precision="U8">
334
- <dim>606312</dim>
335
  </port>
336
  </output>
337
  </layer>
338
- <layer id="24" name="StringTensorUnpack_170" type="StringTensorUnpack" version="extension">
339
- <data mode="begins_ends" />
340
  <input>
341
- <port id="0" precision="U8">
342
- <dim>606312</dim>
 
343
  </port>
344
  </input>
345
  <output>
346
- <port id="1" precision="I32">
347
- <dim>-1</dim>
348
- </port>
349
  <port id="2" precision="I32">
350
  <dim>-1</dim>
351
- </port>
352
- <port id="3" precision="U8">
353
  <dim>-1</dim>
354
  </port>
355
  </output>
356
  </layer>
357
- <layer id="25" name="Constant_97" type="Const" version="opset1">
358
- <data element_type="i64" shape="" offset="0" size="8" />
359
- <output>
360
- <port id="0" precision="I64" />
361
- </output>
362
- </layer>
363
- <layer id="26" name="Constant_91" type="Const" version="opset1">
364
- <data element_type="u8" shape="13247" offset="12838" size="13247" />
365
- <output>
366
- <port id="0" precision="U8">
367
- <dim>13247</dim>
368
- </port>
369
- </output>
370
- </layer>
371
- <layer id="27" name="StringTensorUnpack_92" type="StringTensorUnpack" version="extension">
372
- <data mode="begins_ends" />
373
- <input>
374
- <port id="0" precision="U8">
375
- <dim>13247</dim>
376
- </port>
377
- </input>
378
  <output>
379
- <port id="1" precision="I32">
380
- <dim>-1</dim>
381
- </port>
382
- <port id="2" precision="I32">
383
- <dim>-1</dim>
384
- </port>
385
- <port id="3" precision="U8">
386
- <dim>-1</dim>
387
- </port>
388
  </output>
389
  </layer>
390
- <layer id="28" name="ShapeOf_93" type="ShapeOf" version="opset3">
391
  <data output_type="i64" />
392
  <input>
393
  <port id="0" precision="I32">
@@ -400,345 +80,99 @@
400
  </port>
401
  </output>
402
  </layer>
403
- <layer id="29" name="Constant_94" type="Const" version="opset1">
404
- <data element_type="i64" shape="" offset="0" size="8" />
405
- <output>
406
- <port id="0" precision="I64" />
407
- </output>
408
- </layer>
409
- <layer id="30" name="Constant_95" type="Const" version="opset1">
410
- <data element_type="i64" shape="" offset="0" size="8" />
411
- <output>
412
- <port id="0" precision="I64" />
413
- </output>
414
- </layer>
415
- <layer id="31" name="Gather_96" type="Gather" version="opset8">
416
- <data batch_dims="0" />
417
  <input>
418
- <port id="0" precision="I64">
 
419
  <dim>1</dim>
420
  </port>
421
- <port id="1" precision="I64" />
422
- <port id="2" precision="I64" />
423
- </input>
424
- <output>
425
- <port id="3" precision="I64" />
426
- </output>
427
- </layer>
428
- <layer id="32" name="Constant_98" type="Const" version="opset1">
429
- <data element_type="i64" shape="" offset="8" size="8" />
430
- <output>
431
- <port id="0" precision="I64" />
432
- </output>
433
- </layer>
434
- <layer id="33" name="Range_99" type="Range" version="opset4">
435
- <data output_type="i32" />
436
- <input>
437
- <port id="0" precision="I64" />
438
- <port id="1" precision="I64" />
439
- <port id="2" precision="I64" />
440
- </input>
441
- <output>
442
- <port id="3" precision="I32">
443
- <dim>-1</dim>
444
- </port>
445
- </output>
446
- </layer>
447
- <layer id="34" name="Constant_101" type="Const" version="opset1">
448
- <data element_type="i64" shape="" offset="8" size="8" />
449
- <output>
450
- <port id="0" precision="I64" />
451
- </output>
452
- </layer>
453
- <layer id="35" name="Constant_102" type="Const" version="opset1">
454
- <data element_type="i64" shape="" offset="8" size="8" />
455
- <output>
456
- <port id="0" precision="I64" />
457
- </output>
458
- </layer>
459
- <layer id="36" name="Add_103" type="Add" version="opset1">
460
- <data auto_broadcast="numpy" />
461
- <input>
462
- <port id="0" precision="I64" />
463
- <port id="1" precision="I64" />
464
  </input>
465
  <output>
466
- <port id="2" precision="I64" />
467
- </output>
468
- </layer>
469
- <layer id="37" name="Constant_104" type="Const" version="opset1">
470
- <data element_type="i64" shape="" offset="8" size="8" />
471
- <output>
472
- <port id="0" precision="I64" />
473
- </output>
474
- </layer>
475
- <layer id="38" name="Range_105" type="Range" version="opset4">
476
- <data output_type="i32" />
477
- <input>
478
- <port id="0" precision="I64" />
479
- <port id="1" precision="I64" />
480
- <port id="2" precision="I64" />
481
- </input>
482
- <output>
483
- <port id="3" precision="I32">
484
- <dim>-1</dim>
485
- </port>
486
- </output>
487
- </layer>
488
- <layer id="39" name="BytesToChars_167" type="BytesToChars" version="extension">
489
- <input>
490
- <port id="0" precision="I32">
491
- <dim>-1</dim>
492
- </port>
493
- <port id="1" precision="I32">
494
- <dim>-1</dim>
495
- </port>
496
  <port id="2" precision="I32">
497
  <dim>-1</dim>
498
  </port>
499
- <port id="3" precision="I32">
500
- <dim>-1</dim>
501
- </port>
502
- <port id="4" precision="U8">
503
- <dim>-1</dim>
504
- </port>
505
- </input>
506
- <output>
507
- <port id="5" precision="I32">
508
- <dim>-1</dim>
509
- </port>
510
- <port id="6" precision="I32">
511
- <dim>-1</dim>
512
- </port>
513
- <port id="7" precision="I32">
514
- <dim>-1</dim>
515
- </port>
516
- <port id="8" precision="I32">
517
- <dim>-1</dim>
518
- </port>
519
- <port id="9" precision="U8">
520
- <dim>-1</dim>
521
- </port>
522
  </output>
523
  </layer>
524
- <layer id="40" name="Constant_171" type="Const" version="opset1">
525
- <data element_type="i32" shape="943" offset="1203407" size="3772" />
526
- <output>
527
- <port id="0" precision="I32">
528
- <dim>943</dim>
529
- </port>
530
- </output>
531
- </layer>
532
- <layer id="41" name="BPETokenizer_172" type="BPETokenizer" version="extension">
533
- <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" />
534
  <input>
535
  <port id="0" precision="I32">
536
  <dim>-1</dim>
537
- </port>
538
- <port id="1" precision="I32">
539
- <dim>-1</dim>
540
- </port>
541
- <port id="2" precision="I32">
542
- <dim>-1</dim>
543
- </port>
544
- <port id="3" precision="I32">
545
  <dim>-1</dim>
546
  </port>
547
- <port id="4" precision="U8">
548
- <dim>-1</dim>
549
- </port>
550
- <port id="5" precision="I32">
551
- <dim>-1</dim>
552
- </port>
553
- <port id="6" precision="I32">
554
- <dim>-1</dim>
555
- </port>
556
- <port id="7" precision="U8">
557
- <dim>-1</dim>
558
- </port>
559
- <port id="8" precision="I32">
560
- <dim>-1</dim>
561
- </port>
562
- <port id="9" precision="I32">
563
- <dim>-1</dim>
564
- </port>
565
- <port id="10" precision="U8">
566
- <dim>-1</dim>
567
- </port>
568
- <port id="11" precision="I32">
569
- <dim>-1</dim>
570
- </port>
571
- <port id="12" precision="I32">
572
  <dim>-1</dim>
 
573
  </port>
574
- <port id="13" precision="U8">
575
  <dim>-1</dim>
576
  </port>
577
- <port id="14" precision="I32">
578
- <dim>943</dim>
579
- </port>
580
  </input>
581
  <output>
582
- <port id="15" precision="I32">
583
- <dim>-1</dim>
584
- </port>
585
- <port id="16" precision="I32">
586
  <dim>-1</dim>
587
- </port>
588
- <port id="17" precision="I32">
589
  <dim>-1</dim>
590
  </port>
591
  </output>
592
  </layer>
593
- <layer id="42" name="Subtract_173" type="Subtract" version="opset1">
594
- <data auto_broadcast="numpy" />
595
  <input>
596
  <port id="0" precision="I32">
597
  <dim>-1</dim>
598
- </port>
599
- <port id="1" precision="I32">
600
  <dim>-1</dim>
601
  </port>
602
  </input>
603
  <output>
604
- <port id="2" precision="I32">
 
605
  <dim>-1</dim>
606
  </port>
607
  </output>
608
  </layer>
609
- <layer id="43" name="Constant_174" type="Const" version="opset1">
610
- <data element_type="i32" shape="" offset="1207179" size="4" />
611
  <output>
612
  <port id="0" precision="I32" />
613
  </output>
614
  </layer>
615
- <layer id="44" name="Minimum_175" type="Minimum" version="opset1">
616
- <data auto_broadcast="numpy" />
617
  <input>
618
- <port id="0" precision="I32">
619
- <dim>-1</dim>
 
620
  </port>
621
- <port id="1" precision="I32" />
622
  </input>
623
  <output>
624
  <port id="2" precision="I32">
625
  <dim>-1</dim>
626
- </port>
627
- </output>
628
- </layer>
629
- <layer id="45" name="Add_176" type="Add" version="opset1">
630
- <data auto_broadcast="numpy" />
631
- <input>
632
- <port id="0" precision="I32">
633
- <dim>-1</dim>
634
- </port>
635
- <port id="1" precision="I32">
636
- <dim>-1</dim>
637
- </port>
638
- </input>
639
- <output>
640
- <port id="2" precision="I32">
641
  <dim>-1</dim>
642
  </port>
643
  </output>
644
  </layer>
645
- <layer id="46" name="Subtract_177" type="Subtract" version="opset1">
646
- <data auto_broadcast="numpy" />
647
  <input>
648
  <port id="0" precision="I32">
649
  <dim>-1</dim>
650
- </port>
651
- <port id="1" precision="I32">
652
- <dim>-1</dim>
653
- </port>
654
- </input>
655
- <output>
656
- <port id="2" precision="I32">
657
  <dim>-1</dim>
658
  </port>
659
- </output>
660
- </layer>
661
- <layer id="47" name="Constant_178" type="Const" version="opset1">
662
- <data element_type="i32" shape="" offset="1207183" size="4" />
663
- <output>
664
- <port id="0" precision="I32" />
665
- </output>
666
- </layer>
667
- <layer id="48" name="ReduceMax_179" type="ReduceMax" version="opset1">
668
- <data keep_dims="false" />
669
- <input>
670
- <port id="0" precision="I32">
671
- <dim>-1</dim>
672
- </port>
673
- <port id="1" precision="I32" />
674
- </input>
675
- <output>
676
- <port id="2" precision="I32" />
677
- </output>
678
- </layer>
679
- <layer id="49" name="Constant_180" type="Const" version="opset1">
680
- <data element_type="i32" shape="" offset="1207183" size="4" />
681
- <output>
682
- <port id="0" precision="I32" />
683
- </output>
684
- </layer>
685
- <layer id="50" name="RaggedToDense_181" type="RaggedToDense" version="extension">
686
- <data pad_right="true" />
687
- <input>
688
- <port id="0" precision="I32">
689
- <dim>-1</dim>
690
- </port>
691
- <port id="1" precision="I32">
692
  <dim>-1</dim>
 
693
  </port>
694
  <port id="2" precision="I32">
695
  <dim>-1</dim>
696
  </port>
697
- <port id="3" precision="I32" />
698
- <port id="4" precision="I32" />
699
- </input>
700
- <output>
701
- <port id="5" precision="I32">
702
- <dim>-1</dim>
703
- <dim>-1</dim>
704
- </port>
705
- <port id="6" precision="BOOL">
706
- <dim>-1</dim>
707
- <dim>-1</dim>
708
- </port>
709
- </output>
710
- </layer>
711
- <layer id="51" name="Convert_182" type="Convert" version="opset1">
712
- <data destination_type="i32" />
713
- <input>
714
- <port id="0" precision="BOOL">
715
- <dim>-1</dim>
716
- <dim>-1</dim>
717
- </port>
718
  </input>
719
  <output>
720
- <port id="1" precision="I32">
721
- <dim>-1</dim>
722
- <dim>-1</dim>
723
- </port>
724
- </output>
725
- </layer>
726
- <layer id="52" name="Convert_182" type="Convert" version="opset1">
727
- <data destination_type="i64" />
728
- <input>
729
- <port id="0" precision="I32">
730
- <dim>-1</dim>
731
- <dim>-1</dim>
732
- </port>
733
- </input>
734
- <output>
735
- <port id="1" precision="I64" names="attention_mask">
736
  <dim>-1</dim>
737
  <dim>-1</dim>
738
  </port>
739
  </output>
740
  </layer>
741
- <layer id="54" name="RaggedToDense_181.0" type="Convert" version="opset1">
742
  <data destination_type="i64" />
743
  <input>
744
  <port id="0" precision="I32">
@@ -753,7 +187,7 @@
753
  </port>
754
  </output>
755
  </layer>
756
- <layer id="55" name="Result_183" type="Result" version="opset1">
757
  <input>
758
  <port id="0" precision="I64">
759
  <dim>-1</dim>
@@ -761,7 +195,7 @@
761
  </port>
762
  </input>
763
  </layer>
764
- <layer id="53" name="Result_184" type="Result" version="opset1">
765
  <input>
766
  <port id="0" precision="I64">
767
  <dim>-1</dim>
@@ -771,97 +205,27 @@
771
  </layer>
772
  </layers>
773
  <edges>
774
- <edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
775
- <edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
776
- <edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
777
- <edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
778
- <edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
779
- <edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
780
- <edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
781
- <edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
782
- <edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
783
- <edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
784
- <edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
785
- <edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
786
- <edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
787
- <edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
788
- <edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
789
- <edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
790
- <edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
791
- <edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
792
- <edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
793
- <edge from-layer="15" from-port="6" to-layer="19" to-port="0" />
794
- <edge from-layer="15" from-port="7" to-layer="19" to-port="1" />
795
- <edge from-layer="15" from-port="8" to-layer="19" to-port="2" />
796
- <edge from-layer="15" from-port="9" to-layer="19" to-port="3" />
797
- <edge from-layer="15" from-port="10" to-layer="19" to-port="4" />
798
- <edge from-layer="16" from-port="0" to-layer="19" to-port="5" />
799
- <edge from-layer="17" from-port="0" to-layer="18" to-port="0" />
800
- <edge from-layer="18" from-port="3" to-layer="19" to-port="8" />
801
- <edge from-layer="18" from-port="1" to-layer="19" to-port="6" />
802
- <edge from-layer="18" from-port="2" to-layer="19" to-port="7" />
803
- <edge from-layer="19" from-port="9" to-layer="20" to-port="0" />
804
- <edge from-layer="19" from-port="10" to-layer="20" to-port="1" />
805
- <edge from-layer="19" from-port="11" to-layer="20" to-port="2" />
806
- <edge from-layer="19" from-port="12" to-layer="20" to-port="3" />
807
- <edge from-layer="19" from-port="13" to-layer="20" to-port="4" />
808
- <edge from-layer="20" from-port="6" to-layer="41" to-port="1" />
809
- <edge from-layer="20" from-port="9" to-layer="41" to-port="4" />
810
- <edge from-layer="20" from-port="8" to-layer="41" to-port="3" />
811
- <edge from-layer="20" from-port="5" to-layer="41" to-port="0" />
812
- <edge from-layer="20" from-port="7" to-layer="41" to-port="2" />
813
- <edge from-layer="21" from-port="0" to-layer="22" to-port="0" />
814
- <edge from-layer="22" from-port="1" to-layer="41" to-port="5" />
815
- <edge from-layer="22" from-port="2" to-layer="41" to-port="6" />
816
- <edge from-layer="22" from-port="3" to-layer="41" to-port="7" />
817
- <edge from-layer="23" from-port="0" to-layer="24" to-port="0" />
818
- <edge from-layer="24" from-port="3" to-layer="41" to-port="10" />
819
- <edge from-layer="24" from-port="1" to-layer="41" to-port="8" />
820
- <edge from-layer="24" from-port="2" to-layer="41" to-port="9" />
821
- <edge from-layer="25" from-port="0" to-layer="33" to-port="0" />
822
- <edge from-layer="26" from-port="0" to-layer="27" to-port="0" />
823
- <edge from-layer="27" from-port="1" to-layer="39" to-port="2" />
824
- <edge from-layer="27" from-port="2" to-layer="39" to-port="3" />
825
- <edge from-layer="27" from-port="3" to-layer="39" to-port="4" />
826
- <edge from-layer="27" from-port="1" to-layer="28" to-port="0" />
827
- <edge from-layer="28" from-port="1" to-layer="31" to-port="0" />
828
- <edge from-layer="29" from-port="0" to-layer="31" to-port="1" />
829
- <edge from-layer="30" from-port="0" to-layer="31" to-port="2" />
830
- <edge from-layer="31" from-port="3" to-layer="36" to-port="0" />
831
- <edge from-layer="31" from-port="3" to-layer="33" to-port="1" />
832
- <edge from-layer="32" from-port="0" to-layer="33" to-port="2" />
833
- <edge from-layer="33" from-port="3" to-layer="39" to-port="0" />
834
- <edge from-layer="34" from-port="0" to-layer="38" to-port="0" />
835
- <edge from-layer="35" from-port="0" to-layer="36" to-port="1" />
836
- <edge from-layer="36" from-port="2" to-layer="38" to-port="1" />
837
- <edge from-layer="37" from-port="0" to-layer="38" to-port="2" />
838
- <edge from-layer="38" from-port="3" to-layer="39" to-port="1" />
839
- <edge from-layer="39" from-port="7" to-layer="41" to-port="11" />
840
- <edge from-layer="39" from-port="8" to-layer="41" to-port="12" />
841
- <edge from-layer="39" from-port="9" to-layer="41" to-port="13" />
842
- <edge from-layer="40" from-port="0" to-layer="41" to-port="14" />
843
- <edge from-layer="41" from-port="15" to-layer="45" to-port="0" />
844
- <edge from-layer="41" from-port="17" to-layer="50" to-port="2" />
845
- <edge from-layer="41" from-port="15" to-layer="50" to-port="0" />
846
- <edge from-layer="41" from-port="15" to-layer="46" to-port="1" />
847
- <edge from-layer="41" from-port="15" to-layer="42" to-port="1" />
848
- <edge from-layer="41" from-port="16" to-layer="42" to-port="0" />
849
- <edge from-layer="42" from-port="2" to-layer="44" to-port="0" />
850
- <edge from-layer="43" from-port="0" to-layer="44" to-port="1" />
851
- <edge from-layer="44" from-port="2" to-layer="45" to-port="1" />
852
- <edge from-layer="45" from-port="2" to-layer="46" to-port="0" />
853
- <edge from-layer="45" from-port="2" to-layer="50" to-port="1" />
854
- <edge from-layer="46" from-port="2" to-layer="48" to-port="0" />
855
- <edge from-layer="47" from-port="0" to-layer="48" to-port="1" />
856
- <edge from-layer="48" from-port="2" to-layer="50" to-port="3" />
857
- <edge from-layer="49" from-port="0" to-layer="50" to-port="4" />
858
- <edge from-layer="50" from-port="6" to-layer="51" to-port="0" />
859
- <edge from-layer="50" from-port="5" to-layer="54" to-port="0" />
860
- <edge from-layer="51" from-port="1" to-layer="52" to-port="0" />
861
- <edge from-layer="52" from-port="1" to-layer="53" to-port="0" />
862
- <edge from-layer="54" from-port="1" to-layer="55" to-port="0" />
863
  </edges>
864
  <rt_info>
865
- <eos_token_id value="50256" />
866
  </rt_info>
867
  </net>
 
1
  <?xml version="1.0"?>
2
  <net name="tokenizer" version="11">
3
  <layers>
4
+ <layer id="0" name="string_input" type="Parameter" version="opset1">
5
  <data shape="?" element_type="string" />
6
  <output>
7
+ <port id="0" precision="STRING" names="string_input">
8
  <dim>-1</dim>
9
  </port>
10
  </output>
11
  </layer>
12
+ <layer id="1" name="Constant_8" 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_1" type="Const" version="opset1">
19
+ <data element_type="u8" shape="499723" offset="4" size="499723" />
20
  <output>
21
  <port id="0" precision="U8">
22
+ <dim>499723</dim>
23
  </port>
24
  </output>
25
  </layer>
26
+ <layer id="3" name="SentencepieceTokenizer_4" type="SentencepieceTokenizer" version="extension">
27
+ <data nbest_size="0" alpha="0" add_bos="true" add_eos="false" reverse="false" />
28
  <input>
29
  <port id="0" precision="U8">
30
+ <dim>499723</dim>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  </port>
32
+ <port id="1" precision="STRING">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  <dim>-1</dim>
34
  </port>
35
  </input>
36
  <output>
37
+ <port id="2" precision="I64">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  <dim>-1</dim>
39
+ <dim>2</dim>
40
  </port>
41
  <port id="3" precision="I32">
42
  <dim>-1</dim>
43
  </port>
44
+ <port id="4" precision="I64">
45
+ <dim>2</dim>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  </port>
47
  </output>
48
  </layer>
49
+ <layer id="4" name="Broadcast_9" type="Broadcast" version="opset3">
50
+ <data mode="numpy" />
51
  <input>
52
+ <port id="0" precision="I32" />
53
+ <port id="1" precision="I64">
54
+ <dim>2</dim>
55
  </port>
56
  </input>
57
  <output>
 
 
 
58
  <port id="2" precision="I32">
59
  <dim>-1</dim>
 
 
60
  <dim>-1</dim>
61
  </port>
62
  </output>
63
  </layer>
64
+ <layer id="5" name="Constant_10" type="Const" version="opset1">
65
+ <data element_type="i32" shape="" offset="499727" size="4" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  <output>
67
+ <port id="0" precision="I32" />
 
 
 
 
 
 
 
 
68
  </output>
69
  </layer>
70
+ <layer id="6" name="ShapeOf_11" type="ShapeOf" version="opset3">
71
  <data output_type="i64" />
72
  <input>
73
  <port id="0" precision="I32">
 
80
  </port>
81
  </output>
82
  </layer>
83
+ <layer id="7" name="Broadcast_12" type="Broadcast" version="opset3">
84
+ <data mode="numpy" />
 
 
 
 
 
 
 
 
 
 
 
 
85
  <input>
86
+ <port id="0" precision="I32" />
87
+ <port id="1" precision="I64">
88
  <dim>1</dim>
89
  </port>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  </input>
91
  <output>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  <port id="2" precision="I32">
93
  <dim>-1</dim>
94
  </port>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  </output>
96
  </layer>
97
+ <layer id="8" name="ScatterNDUpdate_16" type="ScatterNDUpdate" version="opset4">
 
 
 
 
 
 
 
 
 
98
  <input>
99
  <port id="0" precision="I32">
100
  <dim>-1</dim>
 
 
 
 
 
 
 
 
101
  <dim>-1</dim>
102
  </port>
103
+ <port id="1" precision="I64">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  <dim>-1</dim>
105
+ <dim>2</dim>
106
  </port>
107
+ <port id="2" precision="I32">
108
  <dim>-1</dim>
109
  </port>
 
 
 
110
  </input>
111
  <output>
112
+ <port id="3" precision="I32">
 
 
 
113
  <dim>-1</dim>
 
 
114
  <dim>-1</dim>
115
  </port>
116
  </output>
117
  </layer>
118
+ <layer id="9" name="ScatterNDUpdate_16" type="Convert" version="opset1">
119
+ <data destination_type="i64" />
120
  <input>
121
  <port id="0" precision="I32">
122
  <dim>-1</dim>
 
 
123
  <dim>-1</dim>
124
  </port>
125
  </input>
126
  <output>
127
+ <port id="1" precision="I64" names="attention_mask">
128
+ <dim>-1</dim>
129
  <dim>-1</dim>
130
  </port>
131
  </output>
132
  </layer>
133
+ <layer id="11" name="Constant_5" type="Const" version="opset1">
134
+ <data element_type="i32" shape="" offset="499731" size="4" />
135
  <output>
136
  <port id="0" precision="I32" />
137
  </output>
138
  </layer>
139
+ <layer id="12" name="Broadcast_6" type="Broadcast" version="opset3">
140
+ <data mode="numpy" />
141
  <input>
142
+ <port id="0" precision="I32" />
143
+ <port id="1" precision="I64">
144
+ <dim>2</dim>
145
  </port>
 
146
  </input>
147
  <output>
148
  <port id="2" precision="I32">
149
  <dim>-1</dim>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  <dim>-1</dim>
151
  </port>
152
  </output>
153
  </layer>
154
+ <layer id="13" name="ScatterNDUpdate_7" type="ScatterNDUpdate" version="opset4">
 
155
  <input>
156
  <port id="0" precision="I32">
157
  <dim>-1</dim>
 
 
 
 
 
 
 
158
  <dim>-1</dim>
159
  </port>
160
+ <port id="1" precision="I64">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  <dim>-1</dim>
162
+ <dim>2</dim>
163
  </port>
164
  <port id="2" precision="I32">
165
  <dim>-1</dim>
166
  </port>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  </input>
168
  <output>
169
+ <port id="3" precision="I32">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  <dim>-1</dim>
171
  <dim>-1</dim>
172
  </port>
173
  </output>
174
  </layer>
175
+ <layer id="14" name="ScatterNDUpdate_7" type="Convert" version="opset1">
176
  <data destination_type="i64" />
177
  <input>
178
  <port id="0" precision="I32">
 
187
  </port>
188
  </output>
189
  </layer>
190
+ <layer id="15" name="Result_17" type="Result" version="opset1">
191
  <input>
192
  <port id="0" precision="I64">
193
  <dim>-1</dim>
 
195
  </port>
196
  </input>
197
  </layer>
198
+ <layer id="10" name="Result_18" type="Result" version="opset1">
199
  <input>
200
  <port id="0" precision="I64">
201
  <dim>-1</dim>
 
205
  </layer>
206
  </layers>
207
  <edges>
208
+ <edge from-layer="0" from-port="0" to-layer="3" to-port="1" />
209
+ <edge from-layer="1" from-port="0" to-layer="4" to-port="0" />
210
+ <edge from-layer="2" from-port="0" to-layer="3" to-port="0" />
211
+ <edge from-layer="3" from-port="4" to-layer="4" to-port="1" />
212
+ <edge from-layer="3" from-port="3" to-layer="6" to-port="0" />
213
+ <edge from-layer="3" from-port="2" to-layer="8" to-port="1" />
214
+ <edge from-layer="3" from-port="3" to-layer="13" to-port="2" />
215
+ <edge from-layer="3" from-port="2" to-layer="13" to-port="1" />
216
+ <edge from-layer="3" from-port="4" to-layer="12" to-port="1" />
217
+ <edge from-layer="4" from-port="2" to-layer="8" to-port="0" />
218
+ <edge from-layer="5" from-port="0" to-layer="7" to-port="0" />
219
+ <edge from-layer="6" from-port="1" to-layer="7" to-port="1" />
220
+ <edge from-layer="7" from-port="2" to-layer="8" to-port="2" />
221
+ <edge from-layer="8" from-port="3" to-layer="9" to-port="0" />
222
+ <edge from-layer="9" from-port="1" to-layer="10" to-port="0" />
223
+ <edge from-layer="11" from-port="0" to-layer="12" to-port="0" />
224
+ <edge from-layer="12" from-port="2" to-layer="13" to-port="0" />
225
+ <edge from-layer="13" from-port="3" to-layer="14" to-port="0" />
226
+ <edge from-layer="14" from-port="1" to-layer="15" to-port="0" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  </edges>
228
  <rt_info>
229
+ <eos_token_id value="2" />
230
  </rt_info>
231
  </net>