akkipro commited on
Commit
f518a99
1 Parent(s): 9d63cda

Upload 13 files

Browse files
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "umarbutler/open-australian-legal-llm",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 0,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 0,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 512,
15
+ "n_embd": 1600,
16
+ "n_head": 25,
17
+ "n_inner": null,
18
+ "n_layer": 48,
19
+ "n_positions": 1024,
20
+ "output_past": true,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "task_specific_params": {
31
+ "text-generation": {
32
+ "do_sample": true,
33
+ "max_length": 50
34
+ }
35
+ },
36
+ "transformers_version": "4.41.2",
37
+ "use_cache": true,
38
+ "vocab_size": 50257
39
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.41.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
openvino_detokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1265534c76194e3a5137fddf55dc430b1bf67e7a414ba902e44b8011d038027e
3
+ size 663314
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_201596" type="Parameter" version="opset1">
5
+ <data shape="?,?" element_type="i64" />
6
+ <output>
7
+ <port id="0" precision="I64" names="Parameter_201596">
8
+ <dim>-1</dim>
9
+ <dim>-1</dim>
10
+ </port>
11
+ </output>
12
+ </layer>
13
+ <layer id="1" name="Convert_201612" 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_201578" type="Const" version="opset1">
29
+ <data element_type="u8" shape="663265" offset="0" size="663265" />
30
+ <output>
31
+ <port id="0" precision="U8">
32
+ <dim>663265</dim>
33
+ </port>
34
+ </output>
35
+ </layer>
36
+ <layer id="3" name="StringTensorUnpack_201579" type="StringTensorUnpack" version="extension">
37
+ <data mode="begins_ends" />
38
+ <input>
39
+ <port id="0" precision="U8">
40
+ <dim>663265</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_201597" 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_201598" 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_201600" type="Const" version="opset1">
121
+ <data element_type="u8" shape="47" offset="663265" 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_201602" type="Const" version="opset1">
129
+ <data element_type="u8" shape="2" offset="663312" 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_201603" 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_201604" 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_201605" 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="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="0" />
218
+ </rt_info>
219
+ </net>
openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a982be24aff69a5e3298907d0c13ac284814f86c7df0d08ce09ca6fa956859
3
+ size 1563892427
openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff
 
openvino_tokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:729a3c6a34c06f570185286106da5e4edc71f284ed0e19711e01bd8e62b826d0
3
+ size 1375159
openvino_tokenizer.xml ADDED
@@ -0,0 +1,563 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="tokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_201497" type="Parameter" version="opset1">
5
+ <data shape="?" element_type="string" />
6
+ <output>
7
+ <port id="0" precision="STRING" names="Parameter_201497">
8
+ <dim>-1</dim>
9
+ </port>
10
+ </output>
11
+ </layer>
12
+ <layer id="1" name="Constant_201503" 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_201498" 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_201499" 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_201500" 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_201501" 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_201502" 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_201504" 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_201505" 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_201507" 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_201508" 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_201509" 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_201510" 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_201511" 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_201574" type="Const" version="opset1">
136
+ <data element_type="u8" shape="64" offset="16" size="64" />
137
+ <output>
138
+ <port id="0" precision="U8">
139
+ <dim>64</dim>
140
+ </port>
141
+ </output>
142
+ </layer>
143
+ <layer id="15" name="RegexSplit_201575" 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>64</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="BytesToChars_201576" type="BytesToChars" version="extension">
184
+ <input>
185
+ <port id="0" precision="I32">
186
+ <dim>-1</dim>
187
+ </port>
188
+ <port id="1" precision="I32">
189
+ <dim>-1</dim>
190
+ </port>
191
+ <port id="2" precision="I32">
192
+ <dim>-1</dim>
193
+ </port>
194
+ <port id="3" precision="I32">
195
+ <dim>-1</dim>
196
+ </port>
197
+ <port id="4" precision="U8">
198
+ <dim>-1</dim>
199
+ </port>
200
+ </input>
201
+ <output>
202
+ <port id="5" precision="I32">
203
+ <dim>-1</dim>
204
+ </port>
205
+ <port id="6" precision="I32">
206
+ <dim>-1</dim>
207
+ </port>
208
+ <port id="7" precision="I32">
209
+ <dim>-1</dim>
210
+ </port>
211
+ <port id="8" precision="I32">
212
+ <dim>-1</dim>
213
+ </port>
214
+ <port id="9" precision="U8">
215
+ <dim>-1</dim>
216
+ </port>
217
+ </output>
218
+ </layer>
219
+ <layer id="17" name="Constant_201578" type="Const" version="opset1">
220
+ <data element_type="u8" shape="663265" offset="80" size="663265" />
221
+ <output>
222
+ <port id="0" precision="U8">
223
+ <dim>663265</dim>
224
+ </port>
225
+ </output>
226
+ </layer>
227
+ <layer id="18" name="StringTensorUnpack_201579" type="StringTensorUnpack" version="extension">
228
+ <data mode="begins_ends" />
229
+ <input>
230
+ <port id="0" precision="U8">
231
+ <dim>663265</dim>
232
+ </port>
233
+ </input>
234
+ <output>
235
+ <port id="1" precision="I32">
236
+ <dim>-1</dim>
237
+ </port>
238
+ <port id="2" precision="I32">
239
+ <dim>-1</dim>
240
+ </port>
241
+ <port id="3" precision="U8">
242
+ <dim>-1</dim>
243
+ </port>
244
+ </output>
245
+ </layer>
246
+ <layer id="19" name="Constant_201581" type="Const" version="opset1">
247
+ <data element_type="u8" shape="711806" offset="663345" size="711806" />
248
+ <output>
249
+ <port id="0" precision="U8">
250
+ <dim>711806</dim>
251
+ </port>
252
+ </output>
253
+ </layer>
254
+ <layer id="20" name="StringTensorUnpack_201582" type="StringTensorUnpack" version="extension">
255
+ <data mode="begins_ends" />
256
+ <input>
257
+ <port id="0" precision="U8">
258
+ <dim>711806</dim>
259
+ </port>
260
+ </input>
261
+ <output>
262
+ <port id="1" precision="I32">
263
+ <dim>-1</dim>
264
+ </port>
265
+ <port id="2" precision="I32">
266
+ <dim>-1</dim>
267
+ </port>
268
+ <port id="3" precision="U8">
269
+ <dim>-1</dim>
270
+ </port>
271
+ </output>
272
+ </layer>
273
+ <layer id="21" name="BPETokenizer_201583" type="BPETokenizer" version="extension">
274
+ <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" />
275
+ <input>
276
+ <port id="0" precision="I32">
277
+ <dim>-1</dim>
278
+ </port>
279
+ <port id="1" precision="I32">
280
+ <dim>-1</dim>
281
+ </port>
282
+ <port id="2" precision="I32">
283
+ <dim>-1</dim>
284
+ </port>
285
+ <port id="3" precision="I32">
286
+ <dim>-1</dim>
287
+ </port>
288
+ <port id="4" precision="U8">
289
+ <dim>-1</dim>
290
+ </port>
291
+ <port id="5" precision="I32">
292
+ <dim>-1</dim>
293
+ </port>
294
+ <port id="6" precision="I32">
295
+ <dim>-1</dim>
296
+ </port>
297
+ <port id="7" precision="U8">
298
+ <dim>-1</dim>
299
+ </port>
300
+ <port id="8" precision="I32">
301
+ <dim>-1</dim>
302
+ </port>
303
+ <port id="9" precision="I32">
304
+ <dim>-1</dim>
305
+ </port>
306
+ <port id="10" precision="U8">
307
+ <dim>-1</dim>
308
+ </port>
309
+ </input>
310
+ <output>
311
+ <port id="11" precision="I32">
312
+ <dim>-1</dim>
313
+ </port>
314
+ <port id="12" precision="I32">
315
+ <dim>-1</dim>
316
+ </port>
317
+ <port id="13" precision="I32">
318
+ <dim>-1</dim>
319
+ </port>
320
+ </output>
321
+ </layer>
322
+ <layer id="22" name="Subtract_201584" type="Subtract" version="opset1">
323
+ <data auto_broadcast="numpy" />
324
+ <input>
325
+ <port id="0" precision="I32">
326
+ <dim>-1</dim>
327
+ </port>
328
+ <port id="1" precision="I32">
329
+ <dim>-1</dim>
330
+ </port>
331
+ </input>
332
+ <output>
333
+ <port id="2" precision="I32">
334
+ <dim>-1</dim>
335
+ </port>
336
+ </output>
337
+ </layer>
338
+ <layer id="23" name="Constant_201585" type="Const" version="opset1">
339
+ <data element_type="i32" shape="" offset="1375151" size="4" />
340
+ <output>
341
+ <port id="0" precision="I32" />
342
+ </output>
343
+ </layer>
344
+ <layer id="24" name="Minimum_201586" type="Minimum" version="opset1">
345
+ <data auto_broadcast="numpy" />
346
+ <input>
347
+ <port id="0" precision="I32">
348
+ <dim>-1</dim>
349
+ </port>
350
+ <port id="1" precision="I32" />
351
+ </input>
352
+ <output>
353
+ <port id="2" precision="I32">
354
+ <dim>-1</dim>
355
+ </port>
356
+ </output>
357
+ </layer>
358
+ <layer id="25" name="Add_201587" type="Add" version="opset1">
359
+ <data auto_broadcast="numpy" />
360
+ <input>
361
+ <port id="0" precision="I32">
362
+ <dim>-1</dim>
363
+ </port>
364
+ <port id="1" precision="I32">
365
+ <dim>-1</dim>
366
+ </port>
367
+ </input>
368
+ <output>
369
+ <port id="2" precision="I32">
370
+ <dim>-1</dim>
371
+ </port>
372
+ </output>
373
+ </layer>
374
+ <layer id="26" name="Subtract_201588" type="Subtract" version="opset1">
375
+ <data auto_broadcast="numpy" />
376
+ <input>
377
+ <port id="0" precision="I32">
378
+ <dim>-1</dim>
379
+ </port>
380
+ <port id="1" precision="I32">
381
+ <dim>-1</dim>
382
+ </port>
383
+ </input>
384
+ <output>
385
+ <port id="2" precision="I32">
386
+ <dim>-1</dim>
387
+ </port>
388
+ </output>
389
+ </layer>
390
+ <layer id="27" name="Constant_201589" type="Const" version="opset1">
391
+ <data element_type="i32" shape="" offset="1375155" size="4" />
392
+ <output>
393
+ <port id="0" precision="I32" />
394
+ </output>
395
+ </layer>
396
+ <layer id="28" name="ReduceMax_201590" type="ReduceMax" version="opset1">
397
+ <data keep_dims="false" />
398
+ <input>
399
+ <port id="0" precision="I32">
400
+ <dim>-1</dim>
401
+ </port>
402
+ <port id="1" precision="I32" />
403
+ </input>
404
+ <output>
405
+ <port id="2" precision="I32" />
406
+ </output>
407
+ </layer>
408
+ <layer id="29" name="Constant_201591" type="Const" version="opset1">
409
+ <data element_type="i32" shape="" offset="1375155" size="4" />
410
+ <output>
411
+ <port id="0" precision="I32" />
412
+ </output>
413
+ </layer>
414
+ <layer id="30" name="RaggedToDense_201592" type="RaggedToDense" version="extension">
415
+ <input>
416
+ <port id="0" precision="I32">
417
+ <dim>-1</dim>
418
+ </port>
419
+ <port id="1" precision="I32">
420
+ <dim>-1</dim>
421
+ </port>
422
+ <port id="2" precision="I32">
423
+ <dim>-1</dim>
424
+ </port>
425
+ <port id="3" precision="I32" />
426
+ <port id="4" precision="I32" />
427
+ </input>
428
+ <output>
429
+ <port id="5" precision="I32">
430
+ <dim>-1</dim>
431
+ <dim>-1</dim>
432
+ </port>
433
+ <port id="6" precision="BOOL">
434
+ <dim>-1</dim>
435
+ <dim>-1</dim>
436
+ </port>
437
+ </output>
438
+ </layer>
439
+ <layer id="31" name="Convert_201593" type="Convert" version="opset1">
440
+ <data destination_type="i32" />
441
+ <input>
442
+ <port id="0" precision="BOOL">
443
+ <dim>-1</dim>
444
+ <dim>-1</dim>
445
+ </port>
446
+ </input>
447
+ <output>
448
+ <port id="1" precision="I32">
449
+ <dim>-1</dim>
450
+ <dim>-1</dim>
451
+ </port>
452
+ </output>
453
+ </layer>
454
+ <layer id="32" name="Convert_201593" type="Convert" version="opset1">
455
+ <data destination_type="i64" />
456
+ <input>
457
+ <port id="0" precision="I32">
458
+ <dim>-1</dim>
459
+ <dim>-1</dim>
460
+ </port>
461
+ </input>
462
+ <output>
463
+ <port id="1" precision="I64" names="attention_mask">
464
+ <dim>-1</dim>
465
+ <dim>-1</dim>
466
+ </port>
467
+ </output>
468
+ </layer>
469
+ <layer id="34" name="RaggedToDense_201592.0" type="Convert" version="opset1">
470
+ <data destination_type="i64" />
471
+ <input>
472
+ <port id="0" precision="I32">
473
+ <dim>-1</dim>
474
+ <dim>-1</dim>
475
+ </port>
476
+ </input>
477
+ <output>
478
+ <port id="1" precision="I64" names="input_ids">
479
+ <dim>-1</dim>
480
+ <dim>-1</dim>
481
+ </port>
482
+ </output>
483
+ </layer>
484
+ <layer id="35" name="Result_201594" type="Result" version="opset1">
485
+ <input>
486
+ <port id="0" precision="I64">
487
+ <dim>-1</dim>
488
+ <dim>-1</dim>
489
+ </port>
490
+ </input>
491
+ </layer>
492
+ <layer id="33" name="Result_201595" type="Result" version="opset1">
493
+ <input>
494
+ <port id="0" precision="I64">
495
+ <dim>-1</dim>
496
+ <dim>-1</dim>
497
+ </port>
498
+ </input>
499
+ </layer>
500
+ </layers>
501
+ <edges>
502
+ <edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
503
+ <edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
504
+ <edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
505
+ <edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
506
+ <edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
507
+ <edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
508
+ <edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
509
+ <edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
510
+ <edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
511
+ <edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
512
+ <edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
513
+ <edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
514
+ <edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
515
+ <edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
516
+ <edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
517
+ <edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
518
+ <edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
519
+ <edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
520
+ <edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
521
+ <edge from-layer="15" from-port="6" to-layer="16" to-port="0" />
522
+ <edge from-layer="15" from-port="7" to-layer="16" to-port="1" />
523
+ <edge from-layer="15" from-port="8" to-layer="16" to-port="2" />
524
+ <edge from-layer="15" from-port="9" to-layer="16" to-port="3" />
525
+ <edge from-layer="15" from-port="10" to-layer="16" to-port="4" />
526
+ <edge from-layer="16" from-port="9" to-layer="21" to-port="4" />
527
+ <edge from-layer="16" from-port="8" to-layer="21" to-port="3" />
528
+ <edge from-layer="16" from-port="7" to-layer="21" to-port="2" />
529
+ <edge from-layer="16" from-port="5" to-layer="21" to-port="0" />
530
+ <edge from-layer="16" from-port="6" to-layer="21" to-port="1" />
531
+ <edge from-layer="17" from-port="0" to-layer="18" to-port="0" />
532
+ <edge from-layer="18" from-port="1" to-layer="21" to-port="5" />
533
+ <edge from-layer="18" from-port="2" to-layer="21" to-port="6" />
534
+ <edge from-layer="18" from-port="3" to-layer="21" to-port="7" />
535
+ <edge from-layer="19" from-port="0" to-layer="20" to-port="0" />
536
+ <edge from-layer="20" from-port="3" to-layer="21" to-port="10" />
537
+ <edge from-layer="20" from-port="2" to-layer="21" to-port="9" />
538
+ <edge from-layer="20" from-port="1" to-layer="21" to-port="8" />
539
+ <edge from-layer="21" from-port="12" to-layer="22" to-port="0" />
540
+ <edge from-layer="21" from-port="11" to-layer="22" to-port="1" />
541
+ <edge from-layer="21" from-port="11" to-layer="25" to-port="0" />
542
+ <edge from-layer="21" from-port="13" to-layer="30" to-port="2" />
543
+ <edge from-layer="21" from-port="11" to-layer="26" to-port="1" />
544
+ <edge from-layer="21" from-port="11" to-layer="30" to-port="0" />
545
+ <edge from-layer="22" from-port="2" to-layer="24" to-port="0" />
546
+ <edge from-layer="23" from-port="0" to-layer="24" to-port="1" />
547
+ <edge from-layer="24" from-port="2" to-layer="25" to-port="1" />
548
+ <edge from-layer="25" from-port="2" to-layer="30" to-port="1" />
549
+ <edge from-layer="25" from-port="2" to-layer="26" to-port="0" />
550
+ <edge from-layer="26" from-port="2" to-layer="28" to-port="0" />
551
+ <edge from-layer="27" from-port="0" to-layer="28" to-port="1" />
552
+ <edge from-layer="28" from-port="2" to-layer="30" to-port="3" />
553
+ <edge from-layer="29" from-port="0" to-layer="30" to-port="4" />
554
+ <edge from-layer="30" from-port="6" to-layer="31" to-port="0" />
555
+ <edge from-layer="30" from-port="5" to-layer="34" to-port="0" />
556
+ <edge from-layer="31" from-port="1" to-layer="32" to-port="0" />
557
+ <edge from-layer="32" from-port="1" to-layer="33" to-port="0" />
558
+ <edge from-layer="34" from-port="1" to-layer="35" to-port="0" />
559
+ </edges>
560
+ <rt_info>
561
+ <eos_token_id value="0" />
562
+ </rt_info>
563
+ </net>
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 512,
17
+ "tokenizer_class": "GPT2Tokenizer",
18
+ "unk_token": "<|endoftext|>"
19
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff