edithram23 commited on
Commit
b9be010
1 Parent(s): 5fce52f

Upload DebertaV2ForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +261 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "None",
12
+ "1": "B-CITY",
13
+ "2": "I-CITY",
14
+ "3": "B-FIRSTNAME",
15
+ "4": "I-FIRSTNAME",
16
+ "5": "None",
17
+ "6": "None",
18
+ "7": "None",
19
+ "8": "None",
20
+ "9": "None",
21
+ "10": "B-LASTNAME",
22
+ "11": "B-EMAIL",
23
+ "12": "I-EMAIL",
24
+ "13": "None",
25
+ "14": "None",
26
+ "15": "B-ACCOUNTNUMBER",
27
+ "16": "I-ACCOUNTNUMBER",
28
+ "17": "B-ACCOUNTNAME",
29
+ "18": "I-ACCOUNTNAME",
30
+ "19": "B-MIDDLENAME",
31
+ "20": "I-MIDDLENAME",
32
+ "21": "None",
33
+ "22": "None",
34
+ "23": "None",
35
+ "24": "None",
36
+ "25": "None",
37
+ "26": "None",
38
+ "27": "None",
39
+ "28": "None",
40
+ "29": "None",
41
+ "30": "None",
42
+ "31": "None",
43
+ "32": "B-STATE",
44
+ "33": "B-COMPANYNAME",
45
+ "34": "I-COMPANYNAME",
46
+ "35": "None",
47
+ "36": "None",
48
+ "37": "B-STREET",
49
+ "38": "I-STREET",
50
+ "39": "None",
51
+ "40": "None",
52
+ "41": "None",
53
+ "42": "None",
54
+ "43": "None",
55
+ "44": "None",
56
+ "45": "None",
57
+ "46": "None",
58
+ "47": "None",
59
+ "48": "None",
60
+ "49": "None",
61
+ "50": "None",
62
+ "51": "None",
63
+ "52": "None",
64
+ "53": "None",
65
+ "54": "None",
66
+ "55": "None",
67
+ "56": "None",
68
+ "57": "None",
69
+ "58": "None",
70
+ "59": "None",
71
+ "60": "None",
72
+ "61": "None",
73
+ "62": "None",
74
+ "63": "None",
75
+ "64": "None",
76
+ "65": "None",
77
+ "66": "None",
78
+ "67": "None",
79
+ "68": "None",
80
+ "69": "None",
81
+ "70": "None",
82
+ "71": "None",
83
+ "72": "I-LASTNAME",
84
+ "73": "B-PHONENUMBER",
85
+ "74": "I-PHONENUMBER",
86
+ "75": "None",
87
+ "76": "None",
88
+ "77": "B-SECONDARYADDRESS",
89
+ "78": "I-SECONDARYADDRESS",
90
+ "79": "B-ZIPCODE",
91
+ "80": "I-ZIPCODE",
92
+ "81": "None",
93
+ "82": "None",
94
+ "83": "None",
95
+ "84": "None",
96
+ "85": "None",
97
+ "86": "None",
98
+ "87": "None",
99
+ "88": "None",
100
+ "89": "None",
101
+ "90": "None",
102
+ "91": "None",
103
+ "92": "B-BUILDINGNUMBER",
104
+ "93": "I-BUILDINGNUMBER",
105
+ "94": "None",
106
+ "95": "None",
107
+ "96": "None",
108
+ "97": "None",
109
+ "98": "None",
110
+ "99": "None",
111
+ "100": "None",
112
+ "101": "None",
113
+ "102": "None",
114
+ "103": "None",
115
+ "104": "None",
116
+ "105": "None",
117
+ "106": "None",
118
+ "107": "None",
119
+ "108": "None",
120
+ "109": "None",
121
+ "110": "None"
122
+ },
123
+ "initializer_range": 0.02,
124
+ "intermediate_size": 3072,
125
+ "label2id": {
126
+ "B-ACCOUNTNAME": 17,
127
+ "B-ACCOUNTNUMBER": 15,
128
+ "B-AGE": 23,
129
+ "B-AMOUNT": 94,
130
+ "B-BIC": 99,
131
+ "B-BITCOINADDRESS": 63,
132
+ "B-BUILDINGNUMBER": 92,
133
+ "B-CITY": 1,
134
+ "B-COMPANYNAME": 33,
135
+ "B-COUNTY": 21,
136
+ "B-CREDITCARDCVV": 24,
137
+ "B-CREDITCARDISSUER": 75,
138
+ "B-CREDITCARDNUMBER": 68,
139
+ "B-CURRENCY": 104,
140
+ "B-CURRENCYCODE": 106,
141
+ "B-CURRENCYNAME": 102,
142
+ "B-CURRENCYSYMBOL": 53,
143
+ "B-DATE": 54,
144
+ "B-DOB": 25,
145
+ "B-EMAIL": 11,
146
+ "B-ETHEREUMADDRESS": 61,
147
+ "B-EYECOLOR": 101,
148
+ "B-FIRSTNAME": 3,
149
+ "B-GENDER": 84,
150
+ "B-HEIGHT": 88,
151
+ "B-IBAN": 97,
152
+ "B-IP": 49,
153
+ "B-IPV4": 41,
154
+ "B-IPV6": 70,
155
+ "B-JOBAREA": 87,
156
+ "B-JOBTITLE": 90,
157
+ "B-JOBTYPE": 7,
158
+ "B-LASTNAME": 10,
159
+ "B-LITECOINADDRESS": 65,
160
+ "B-MAC": 45,
161
+ "B-MASKEDNUMBER": 27,
162
+ "B-MIDDLENAME": 19,
163
+ "B-NEARBYGPSCOORDINATE": 13,
164
+ "B-ORDINALDIRECTION": 86,
165
+ "B-PASSWORD": 29,
166
+ "B-PHONEIMEI": 35,
167
+ "B-PHONENUMBER": 73,
168
+ "B-PIN": 47,
169
+ "B-PREFIX": 8,
170
+ "B-SECONDARYADDRESS": 77,
171
+ "B-SEX": 31,
172
+ "B-SSN": 39,
173
+ "B-STATE": 32,
174
+ "B-STREET": 37,
175
+ "B-TIME": 56,
176
+ "B-URL": 51,
177
+ "B-USERAGENT": 43,
178
+ "B-USERNAME": 5,
179
+ "B-VEHICLEVIN": 81,
180
+ "B-VEHICLEVRM": 58,
181
+ "B-ZIPCODE": 79,
182
+ "I-ACCOUNTNAME": 18,
183
+ "I-ACCOUNTNUMBER": 16,
184
+ "I-AGE": 83,
185
+ "I-AMOUNT": 60,
186
+ "I-BIC": 100,
187
+ "I-BITCOINADDRESS": 64,
188
+ "I-BUILDINGNUMBER": 93,
189
+ "I-CITY": 2,
190
+ "I-COMPANYNAME": 34,
191
+ "I-COUNTY": 22,
192
+ "I-CREDITCARDCVV": 110,
193
+ "I-CREDITCARDISSUER": 76,
194
+ "I-CREDITCARDNUMBER": 69,
195
+ "I-CURRENCY": 105,
196
+ "I-CURRENCYCODE": 107,
197
+ "I-CURRENCYNAME": 103,
198
+ "I-CURRENCYSYMBOL": 96,
199
+ "I-DATE": 55,
200
+ "I-DOB": 26,
201
+ "I-EMAIL": 12,
202
+ "I-ETHEREUMADDRESS": 62,
203
+ "I-EYECOLOR": 109,
204
+ "I-FIRSTNAME": 4,
205
+ "I-GENDER": 85,
206
+ "I-HEIGHT": 89,
207
+ "I-IBAN": 98,
208
+ "I-IP": 50,
209
+ "I-IPV4": 42,
210
+ "I-IPV6": 71,
211
+ "I-JOBAREA": 108,
212
+ "I-JOBTITLE": 91,
213
+ "I-JOBTYPE": 67,
214
+ "I-LASTNAME": 72,
215
+ "I-LITECOINADDRESS": 66,
216
+ "I-MAC": 46,
217
+ "I-MASKEDNUMBER": 28,
218
+ "I-MIDDLENAME": 20,
219
+ "I-NEARBYGPSCOORDINATE": 14,
220
+ "I-PASSWORD": 30,
221
+ "I-PHONEIMEI": 36,
222
+ "I-PHONENUMBER": 74,
223
+ "I-PIN": 48,
224
+ "I-PREFIX": 9,
225
+ "I-SECONDARYADDRESS": 78,
226
+ "I-SSN": 40,
227
+ "I-STATE": 95,
228
+ "I-STREET": 38,
229
+ "I-TIME": 57,
230
+ "I-URL": 52,
231
+ "I-USERAGENT": 44,
232
+ "I-USERNAME": 6,
233
+ "I-VEHICLEVIN": 82,
234
+ "I-VEHICLEVRM": 59,
235
+ "I-ZIPCODE": 80,
236
+ "O": 0
237
+ },
238
+ "layer_norm_eps": 1e-07,
239
+ "max_position_embeddings": 512,
240
+ "max_relative_positions": -1,
241
+ "model_type": "deberta-v2",
242
+ "norm_rel_ebd": "layer_norm",
243
+ "num_attention_heads": 12,
244
+ "num_hidden_layers": 12,
245
+ "pad_token_id": 0,
246
+ "pooler_dropout": 0,
247
+ "pooler_hidden_act": "gelu",
248
+ "pooler_hidden_size": 768,
249
+ "pos_att_type": [
250
+ "p2c",
251
+ "c2p"
252
+ ],
253
+ "position_biased_input": false,
254
+ "position_buckets": 256,
255
+ "relative_attention": true,
256
+ "share_att_key": true,
257
+ "torch_dtype": "float32",
258
+ "transformers_version": "4.41.2",
259
+ "type_vocab_size": 0,
260
+ "vocab_size": 128100
261
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:179e55224bbc3ff4521c89e7c2e7cad1e7074c73b37eedd1cfde0c79848f2862
3
+ size 735692028