Adding ONNX file of this model (#1)
Browse files- Adding ONNX file of this model (71b7025e363e09e8487cd67efaff24e870151529)
- onnx/added_tokens.json +7 -0
- onnx/config.json +262 -0
- onnx/model.onnx +3 -0
- onnx/special_tokens_map.json +16 -0
- onnx/spm.model +3 -0
- onnx/tokenizer.json +0 -0
- onnx/tokenizer_config.json +65 -0
onnx/added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[CLS]": 1,
|
3 |
+
"[MASK]": 128000,
|
4 |
+
"[PAD]": 0,
|
5 |
+
"[SEP]": 2,
|
6 |
+
"[UNK]": 3
|
7 |
+
}
|
onnx/config.json
ADDED
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Isotonic/deberta-v3-base_finetuned_ai4privacy_v2",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "O",
|
12 |
+
"1": "I-PHONEIMEI",
|
13 |
+
"2": "I-VEHICLEVIN",
|
14 |
+
"3": "B-FIRSTNAME",
|
15 |
+
"4": "I-FIRSTNAME",
|
16 |
+
"5": "I-GENDER",
|
17 |
+
"6": "I-HEIGHT",
|
18 |
+
"7": "I-BUILDINGNUMBER",
|
19 |
+
"8": "I-MASKEDNUMBER",
|
20 |
+
"9": "I-PASSWORD",
|
21 |
+
"10": "I-DOB",
|
22 |
+
"11": "I-IPV6",
|
23 |
+
"12": "I-NEARBYGPSCOORDINATE",
|
24 |
+
"13": "I-USERAGENT",
|
25 |
+
"14": "I-TIME",
|
26 |
+
"15": "I-JOBTITLE",
|
27 |
+
"16": "I-EMAIL",
|
28 |
+
"17": "I-ACCOUNTNUMBER",
|
29 |
+
"18": "I-PIN",
|
30 |
+
"19": "I-EYECOLOR",
|
31 |
+
"20": "I-LASTNAME",
|
32 |
+
"21": "I-IPV4",
|
33 |
+
"22": "I-DATE",
|
34 |
+
"23": "I-STREET",
|
35 |
+
"24": "I-CITY",
|
36 |
+
"25": "B-PREFIX",
|
37 |
+
"26": "I-PREFIX",
|
38 |
+
"27": "I-CREDITCARDNUMBER",
|
39 |
+
"28": "B-VEHICLEVIN",
|
40 |
+
"29": "B-VEHICLEVRM",
|
41 |
+
"30": "I-VEHICLEVRM",
|
42 |
+
"31": "I-CURRENCYCODE",
|
43 |
+
"32": "I-AMOUNT",
|
44 |
+
"33": "I-ACCOUNTNAME",
|
45 |
+
"34": "I-STATE",
|
46 |
+
"35": "I-BITCOINADDRESS",
|
47 |
+
"36": "I-LITECOINADDRESS",
|
48 |
+
"37": "I-PHONENUMBER",
|
49 |
+
"38": "I-MAC",
|
50 |
+
"39": "I-IBAN",
|
51 |
+
"40": "I-COMPANYNAME",
|
52 |
+
"41": "I-CURRENCYNAME",
|
53 |
+
"42": "B-CURRENCYSYMBOL",
|
54 |
+
"43": "I-CURRENCYSYMBOL",
|
55 |
+
"44": "I-ZIPCODE",
|
56 |
+
"45": "I-SSN",
|
57 |
+
"46": "I-CURRENCY",
|
58 |
+
"47": "I-URL",
|
59 |
+
"48": "I-IP",
|
60 |
+
"49": "I-SECONDARYADDRESS",
|
61 |
+
"50": "I-USERNAME",
|
62 |
+
"51": "B-AGE",
|
63 |
+
"52": "B-MIDDLENAME",
|
64 |
+
"53": "I-ETHEREUMADDRESS",
|
65 |
+
"54": "I-JOBTYPE",
|
66 |
+
"55": "I-AGE",
|
67 |
+
"56": "I-COUNTY",
|
68 |
+
"57": "B-CREDITCARDISSUER",
|
69 |
+
"58": "I-CREDITCARDISSUER",
|
70 |
+
"59": "B-CREDITCARDCVV",
|
71 |
+
"60": "B-IPV4",
|
72 |
+
"61": "B-EYECOLOR",
|
73 |
+
"62": "B-HEIGHT",
|
74 |
+
"63": "B-GENDER",
|
75 |
+
"64": "I-BIC",
|
76 |
+
"65": "B-IBAN",
|
77 |
+
"66": "B-MASKEDNUMBER",
|
78 |
+
"67": "B-PHONEIMEI",
|
79 |
+
"68": "B-COMPANYNAME",
|
80 |
+
"69": "B-USERNAME",
|
81 |
+
"70": "B-ACCOUNTNAME",
|
82 |
+
"71": "I-CREDITCARDCVV",
|
83 |
+
"72": "B-ETHEREUMADDRESS",
|
84 |
+
"73": "B-BITCOINADDRESS",
|
85 |
+
"74": "B-BIC",
|
86 |
+
"75": "B-SECONDARYADDRESS",
|
87 |
+
"76": "B-LITECOINADDRESS",
|
88 |
+
"77": "I-JOBAREA",
|
89 |
+
"78": "B-STREET",
|
90 |
+
"79": "B-MAC",
|
91 |
+
"80": "B-CITY",
|
92 |
+
"81": "B-USERAGENT",
|
93 |
+
"82": "B-DATE",
|
94 |
+
"83": "B-PASSWORD",
|
95 |
+
"84": "B-PHONENUMBER",
|
96 |
+
"85": "B-SEX",
|
97 |
+
"86": "B-DOB",
|
98 |
+
"87": "B-BUILDINGNUMBER",
|
99 |
+
"88": "B-JOBTYPE",
|
100 |
+
"89": "B-COUNTY",
|
101 |
+
"90": "B-SSN",
|
102 |
+
"91": "B-EMAIL",
|
103 |
+
"92": "B-IP",
|
104 |
+
"93": "B-CREDITCARDNUMBER",
|
105 |
+
"94": "B-JOBTITLE",
|
106 |
+
"95": "B-JOBAREA",
|
107 |
+
"96": "B-AMOUNT",
|
108 |
+
"97": "B-ACCOUNTNUMBER",
|
109 |
+
"98": "B-LASTNAME",
|
110 |
+
"99": "B-ZIPCODE",
|
111 |
+
"100": "B-IPV6",
|
112 |
+
"101": "B-STATE",
|
113 |
+
"102": "B-CURRENCY",
|
114 |
+
"103": "B-CURRENCYCODE",
|
115 |
+
"104": "I-MIDDLENAME",
|
116 |
+
"105": "B-URL",
|
117 |
+
"106": "B-NEARBYGPSCOORDINATE",
|
118 |
+
"107": "B-TIME",
|
119 |
+
"108": "B-CURRENCYNAME",
|
120 |
+
"109": "B-ORDINALDIRECTION",
|
121 |
+
"110": "I-ORDINALDIRECTION",
|
122 |
+
"111": "B-PIN"
|
123 |
+
},
|
124 |
+
"initializer_range": 0.02,
|
125 |
+
"intermediate_size": 3072,
|
126 |
+
"label2id": {
|
127 |
+
"B-ACCOUNTNAME": 70,
|
128 |
+
"B-ACCOUNTNUMBER": 97,
|
129 |
+
"B-AGE": 51,
|
130 |
+
"B-AMOUNT": 96,
|
131 |
+
"B-BIC": 74,
|
132 |
+
"B-BITCOINADDRESS": 73,
|
133 |
+
"B-BUILDINGNUMBER": 87,
|
134 |
+
"B-CITY": 80,
|
135 |
+
"B-COMPANYNAME": 68,
|
136 |
+
"B-COUNTY": 89,
|
137 |
+
"B-CREDITCARDCVV": 59,
|
138 |
+
"B-CREDITCARDISSUER": 57,
|
139 |
+
"B-CREDITCARDNUMBER": 93,
|
140 |
+
"B-CURRENCY": 102,
|
141 |
+
"B-CURRENCYCODE": 103,
|
142 |
+
"B-CURRENCYNAME": 108,
|
143 |
+
"B-CURRENCYSYMBOL": 42,
|
144 |
+
"B-DATE": 82,
|
145 |
+
"B-DOB": 86,
|
146 |
+
"B-EMAIL": 91,
|
147 |
+
"B-ETHEREUMADDRESS": 72,
|
148 |
+
"B-EYECOLOR": 61,
|
149 |
+
"B-FIRSTNAME": 3,
|
150 |
+
"B-GENDER": 63,
|
151 |
+
"B-HEIGHT": 62,
|
152 |
+
"B-IBAN": 65,
|
153 |
+
"B-IP": 92,
|
154 |
+
"B-IPV4": 60,
|
155 |
+
"B-IPV6": 100,
|
156 |
+
"B-JOBAREA": 95,
|
157 |
+
"B-JOBTITLE": 94,
|
158 |
+
"B-JOBTYPE": 88,
|
159 |
+
"B-LASTNAME": 98,
|
160 |
+
"B-LITECOINADDRESS": 76,
|
161 |
+
"B-MAC": 79,
|
162 |
+
"B-MASKEDNUMBER": 66,
|
163 |
+
"B-MIDDLENAME": 52,
|
164 |
+
"B-NEARBYGPSCOORDINATE": 106,
|
165 |
+
"B-ORDINALDIRECTION": 109,
|
166 |
+
"B-PASSWORD": 83,
|
167 |
+
"B-PHONEIMEI": 67,
|
168 |
+
"B-PHONENUMBER": 84,
|
169 |
+
"B-PIN": 111,
|
170 |
+
"B-PREFIX": 25,
|
171 |
+
"B-SECONDARYADDRESS": 75,
|
172 |
+
"B-SEX": 85,
|
173 |
+
"B-SSN": 90,
|
174 |
+
"B-STATE": 101,
|
175 |
+
"B-STREET": 78,
|
176 |
+
"B-TIME": 107,
|
177 |
+
"B-URL": 105,
|
178 |
+
"B-USERAGENT": 81,
|
179 |
+
"B-USERNAME": 69,
|
180 |
+
"B-VEHICLEVIN": 28,
|
181 |
+
"B-VEHICLEVRM": 29,
|
182 |
+
"B-ZIPCODE": 99,
|
183 |
+
"I-ACCOUNTNAME": 33,
|
184 |
+
"I-ACCOUNTNUMBER": 17,
|
185 |
+
"I-AGE": 55,
|
186 |
+
"I-AMOUNT": 32,
|
187 |
+
"I-BIC": 64,
|
188 |
+
"I-BITCOINADDRESS": 35,
|
189 |
+
"I-BUILDINGNUMBER": 7,
|
190 |
+
"I-CITY": 24,
|
191 |
+
"I-COMPANYNAME": 40,
|
192 |
+
"I-COUNTY": 56,
|
193 |
+
"I-CREDITCARDCVV": 71,
|
194 |
+
"I-CREDITCARDISSUER": 58,
|
195 |
+
"I-CREDITCARDNUMBER": 27,
|
196 |
+
"I-CURRENCY": 46,
|
197 |
+
"I-CURRENCYCODE": 31,
|
198 |
+
"I-CURRENCYNAME": 41,
|
199 |
+
"I-CURRENCYSYMBOL": 43,
|
200 |
+
"I-DATE": 22,
|
201 |
+
"I-DOB": 10,
|
202 |
+
"I-EMAIL": 16,
|
203 |
+
"I-ETHEREUMADDRESS": 53,
|
204 |
+
"I-EYECOLOR": 19,
|
205 |
+
"I-FIRSTNAME": 4,
|
206 |
+
"I-GENDER": 5,
|
207 |
+
"I-HEIGHT": 6,
|
208 |
+
"I-IBAN": 39,
|
209 |
+
"I-IP": 48,
|
210 |
+
"I-IPV4": 21,
|
211 |
+
"I-IPV6": 11,
|
212 |
+
"I-JOBAREA": 77,
|
213 |
+
"I-JOBTITLE": 15,
|
214 |
+
"I-JOBTYPE": 54,
|
215 |
+
"I-LASTNAME": 20,
|
216 |
+
"I-LITECOINADDRESS": 36,
|
217 |
+
"I-MAC": 38,
|
218 |
+
"I-MASKEDNUMBER": 8,
|
219 |
+
"I-MIDDLENAME": 104,
|
220 |
+
"I-NEARBYGPSCOORDINATE": 12,
|
221 |
+
"I-ORDINALDIRECTION": 110,
|
222 |
+
"I-PASSWORD": 9,
|
223 |
+
"I-PHONEIMEI": 1,
|
224 |
+
"I-PHONENUMBER": 37,
|
225 |
+
"I-PIN": 18,
|
226 |
+
"I-PREFIX": 26,
|
227 |
+
"I-SECONDARYADDRESS": 49,
|
228 |
+
"I-SSN": 45,
|
229 |
+
"I-STATE": 34,
|
230 |
+
"I-STREET": 23,
|
231 |
+
"I-TIME": 14,
|
232 |
+
"I-URL": 47,
|
233 |
+
"I-USERAGENT": 13,
|
234 |
+
"I-USERNAME": 50,
|
235 |
+
"I-VEHICLEVIN": 2,
|
236 |
+
"I-VEHICLEVRM": 30,
|
237 |
+
"I-ZIPCODE": 44,
|
238 |
+
"O": 0
|
239 |
+
},
|
240 |
+
"layer_norm_eps": 1e-07,
|
241 |
+
"max_position_embeddings": 512,
|
242 |
+
"max_relative_positions": -1,
|
243 |
+
"model_type": "deberta-v2",
|
244 |
+
"norm_rel_ebd": "layer_norm",
|
245 |
+
"num_attention_heads": 12,
|
246 |
+
"num_hidden_layers": 12,
|
247 |
+
"pad_token_id": 0,
|
248 |
+
"pooler_dropout": 0,
|
249 |
+
"pooler_hidden_act": "gelu",
|
250 |
+
"pooler_hidden_size": 768,
|
251 |
+
"pos_att_type": [
|
252 |
+
"p2c",
|
253 |
+
"c2p"
|
254 |
+
],
|
255 |
+
"position_biased_input": false,
|
256 |
+
"position_buckets": 256,
|
257 |
+
"relative_attention": true,
|
258 |
+
"share_att_key": true,
|
259 |
+
"transformers_version": "4.34.0",
|
260 |
+
"type_vocab_size": 0,
|
261 |
+
"vocab_size": 128100
|
262 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:852277fb2d4ccc46d1fae8730261e751522fbcf9055ce9fd297174f57194ad80
|
3 |
+
size 736538027
|
onnx/special_tokens_map.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"[PAD]",
|
4 |
+
"[CLS]",
|
5 |
+
"[SEP]",
|
6 |
+
"[UNK]",
|
7 |
+
"[MASK]"
|
8 |
+
],
|
9 |
+
"bos_token": "[CLS]",
|
10 |
+
"cls_token": "[CLS]",
|
11 |
+
"eos_token": "[SEP]",
|
12 |
+
"mask_token": "[MASK]",
|
13 |
+
"pad_token": "[PAD]",
|
14 |
+
"sep_token": "[SEP]",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
onnx/spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
3 |
+
size 2464616
|
onnx/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
onnx/tokenizer_config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"128000": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"additional_special_tokens": [
|
45 |
+
"[PAD]",
|
46 |
+
"[CLS]",
|
47 |
+
"[SEP]",
|
48 |
+
"[UNK]",
|
49 |
+
"[MASK]"
|
50 |
+
],
|
51 |
+
"bos_token": "[CLS]",
|
52 |
+
"clean_up_tokenization_spaces": true,
|
53 |
+
"cls_token": "[CLS]",
|
54 |
+
"do_lower_case": false,
|
55 |
+
"eos_token": "[SEP]",
|
56 |
+
"mask_token": "[MASK]",
|
57 |
+
"model_max_length": 1000000000000000019884624838656,
|
58 |
+
"pad_token": "[PAD]",
|
59 |
+
"sep_token": "[SEP]",
|
60 |
+
"sp_model_kwargs": {},
|
61 |
+
"split_by_punct": false,
|
62 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
63 |
+
"unk_token": "[UNK]",
|
64 |
+
"vocab_type": "spm"
|
65 |
+
}
|