Upload 2 files
Browse files
tokenizer/openvino_detokenizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f7394b331c75d608080784a7046d814a97f0459495f6c9cb75690033cff78fd
|
3 |
+
size 615513
|
tokenizer/openvino_detokenizer.xml
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<net name="detokenizer" version="11">
|
3 |
+
<layers>
|
4 |
+
<layer id="0" name="Parameter_114" type="Parameter" version="opset1">
|
5 |
+
<data shape="?,?" element_type="i64" />
|
6 |
+
<output>
|
7 |
+
<port id="0" precision="I64" names="Parameter_114">
|
8 |
+
<dim>-1</dim>
|
9 |
+
<dim>-1</dim>
|
10 |
+
</port>
|
11 |
+
</output>
|
12 |
+
</layer>
|
13 |
+
<layer id="1" name="Convert_130" 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_82" type="Const" version="opset1">
|
29 |
+
<data element_type="u8" shape="615464" offset="0" size="615464" />
|
30 |
+
<output>
|
31 |
+
<port id="0" precision="U8">
|
32 |
+
<dim>615464</dim>
|
33 |
+
</port>
|
34 |
+
</output>
|
35 |
+
</layer>
|
36 |
+
<layer id="3" name="StringTensorUnpack_83" type="StringTensorUnpack" version="extension">
|
37 |
+
<data mode="begins_ends" />
|
38 |
+
<input>
|
39 |
+
<port id="0" precision="U8">
|
40 |
+
<dim>615464</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_115" type="VocabDecoder" version="extension">
|
56 |
+
<data skip_tokens="" />
|
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_116" type="CharsToBytes" version="extension">
|
91 |
+
<input>
|
92 |
+
<port id="0" precision="I32">
|
93 |
+
<dim>-1</dim>
|
94 |
+
</port>
|
95 |
+
<port id="1" precision="I32">
|
96 |
+
<dim>-1</dim>
|
97 |
+
</port>
|
98 |
+
<port id="2" precision="I32">
|
99 |
+
<dim>-1</dim>
|
100 |
+
</port>
|
101 |
+
<port id="3" precision="I32">
|
102 |
+
<dim>-1</dim>
|
103 |
+
</port>
|
104 |
+
<port id="4" precision="U8">
|
105 |
+
<dim>-1</dim>
|
106 |
+
</port>
|
107 |
+
</input>
|
108 |
+
<output>
|
109 |
+
<port id="5" precision="I32">
|
110 |
+
<dim>-1</dim>
|
111 |
+
</port>
|
112 |
+
<port id="6" precision="I32">
|
113 |
+
<dim>-1</dim>
|
114 |
+
</port>
|
115 |
+
<port id="7" precision="U8">
|
116 |
+
<dim>-1</dim>
|
117 |
+
</port>
|
118 |
+
</output>
|
119 |
+
</layer>
|
120 |
+
<layer id="6" name="Constant_118" type="Const" version="opset1">
|
121 |
+
<data element_type="u8" shape="47" offset="615464" 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_120" type="Const" version="opset1">
|
129 |
+
<data element_type="u8" shape="2" offset="615511" 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_121" 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_122" type="StringTensorPack" version="extension">
|
168 |
+
<data mode="begins_ends" />
|
169 |
+
<input>
|
170 |
+
<port id="0" precision="I32">
|
171 |
+
<dim>-1</dim>
|
172 |
+
</port>
|
173 |
+
<port id="1" precision="I32">
|
174 |
+
<dim>-1</dim>
|
175 |
+
</port>
|
176 |
+
<port id="2" precision="U8">
|
177 |
+
<dim>-1</dim>
|
178 |
+
</port>
|
179 |
+
</input>
|
180 |
+
<output>
|
181 |
+
<port id="3" precision="STRING" names="string_output">
|
182 |
+
<dim>-1</dim>
|
183 |
+
</port>
|
184 |
+
</output>
|
185 |
+
</layer>
|
186 |
+
<layer id="10" name="Result_123" type="Result" version="opset1">
|
187 |
+
<input>
|
188 |
+
<port id="0" precision="STRING">
|
189 |
+
<dim>-1</dim>
|
190 |
+
</port>
|
191 |
+
</input>
|
192 |
+
</layer>
|
193 |
+
</layers>
|
194 |
+
<edges>
|
195 |
+
<edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
|
196 |
+
<edge from-layer="1" from-port="1" to-layer="4" to-port="0" />
|
197 |
+
<edge from-layer="2" from-port="0" to-layer="3" to-port="0" />
|
198 |
+
<edge from-layer="3" from-port="1" to-layer="4" to-port="1" />
|
199 |
+
<edge from-layer="3" from-port="2" to-layer="4" to-port="2" />
|
200 |
+
<edge from-layer="3" from-port="3" to-layer="4" to-port="3" />
|
201 |
+
<edge from-layer="4" from-port="4" to-layer="5" to-port="0" />
|
202 |
+
<edge from-layer="4" from-port="5" to-layer="5" to-port="1" />
|
203 |
+
<edge from-layer="4" from-port="6" to-layer="5" to-port="2" />
|
204 |
+
<edge from-layer="4" from-port="7" to-layer="5" to-port="3" />
|
205 |
+
<edge from-layer="4" from-port="8" to-layer="5" to-port="4" />
|
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="50257" />
|
218 |
+
</rt_info>
|
219 |
+
</net>
|