pine-cone commited on
Commit
13e5f55
·
verified ·
1 Parent(s): c6b218e

Upload BertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +332 -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,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "restaurant_reviews",
14
+ "1": "nutrition_info",
15
+ "2": "account_blocked",
16
+ "3": "oil_change_how",
17
+ "4": "time",
18
+ "5": "weather",
19
+ "6": "redeem_rewards",
20
+ "7": "interest_rate",
21
+ "8": "gas_type",
22
+ "9": "accept_reservations",
23
+ "10": "smart_home",
24
+ "11": "user_name",
25
+ "12": "report_lost_card",
26
+ "13": "repeat",
27
+ "14": "whisper_mode",
28
+ "15": "what_are_your_hobbies",
29
+ "16": "order",
30
+ "17": "jump_start",
31
+ "18": "schedule_meeting",
32
+ "19": "meeting_schedule",
33
+ "20": "freeze_account",
34
+ "21": "what_song",
35
+ "22": "meaning_of_life",
36
+ "23": "restaurant_reservation",
37
+ "24": "traffic",
38
+ "25": "make_call",
39
+ "26": "text",
40
+ "27": "bill_balance",
41
+ "28": "improve_credit_score",
42
+ "29": "change_language",
43
+ "30": "no",
44
+ "31": "measurement_conversion",
45
+ "32": "timer",
46
+ "33": "flip_coin",
47
+ "34": "do_you_have_pets",
48
+ "35": "balance",
49
+ "36": "tell_joke",
50
+ "37": "last_maintenance",
51
+ "38": "exchange_rate",
52
+ "39": "uber",
53
+ "40": "car_rental",
54
+ "41": "credit_limit",
55
+ "42": "oos",
56
+ "43": "shopping_list",
57
+ "44": "expiration_date",
58
+ "45": "routing",
59
+ "46": "meal_suggestion",
60
+ "47": "tire_change",
61
+ "48": "todo_list",
62
+ "49": "card_declined",
63
+ "50": "rewards_balance",
64
+ "51": "change_accent",
65
+ "52": "vaccines",
66
+ "53": "reminder_update",
67
+ "54": "food_last",
68
+ "55": "change_ai_name",
69
+ "56": "bill_due",
70
+ "57": "who_do_you_work_for",
71
+ "58": "share_location",
72
+ "59": "international_visa",
73
+ "60": "calendar",
74
+ "61": "translate",
75
+ "62": "carry_on",
76
+ "63": "book_flight",
77
+ "64": "insurance_change",
78
+ "65": "todo_list_update",
79
+ "66": "timezone",
80
+ "67": "cancel_reservation",
81
+ "68": "transactions",
82
+ "69": "credit_score",
83
+ "70": "report_fraud",
84
+ "71": "spending_history",
85
+ "72": "directions",
86
+ "73": "spelling",
87
+ "74": "insurance",
88
+ "75": "what_is_your_name",
89
+ "76": "reminder",
90
+ "77": "where_are_you_from",
91
+ "78": "distance",
92
+ "79": "payday",
93
+ "80": "flight_status",
94
+ "81": "find_phone",
95
+ "82": "greeting",
96
+ "83": "alarm",
97
+ "84": "order_status",
98
+ "85": "confirm_reservation",
99
+ "86": "cook_time",
100
+ "87": "damaged_card",
101
+ "88": "reset_settings",
102
+ "89": "pin_change",
103
+ "90": "replacement_card_duration",
104
+ "91": "new_card",
105
+ "92": "roll_dice",
106
+ "93": "income",
107
+ "94": "taxes",
108
+ "95": "date",
109
+ "96": "who_made_you",
110
+ "97": "pto_request",
111
+ "98": "tire_pressure",
112
+ "99": "how_old_are_you",
113
+ "100": "rollover_401k",
114
+ "101": "pto_request_status",
115
+ "102": "how_busy",
116
+ "103": "application_status",
117
+ "104": "recipe",
118
+ "105": "calendar_update",
119
+ "106": "play_music",
120
+ "107": "yes",
121
+ "108": "direct_deposit",
122
+ "109": "credit_limit_change",
123
+ "110": "gas",
124
+ "111": "pay_bill",
125
+ "112": "ingredients_list",
126
+ "113": "lost_luggage",
127
+ "114": "goodbye",
128
+ "115": "what_can_i_ask_you",
129
+ "116": "book_hotel",
130
+ "117": "are_you_a_bot",
131
+ "118": "next_song",
132
+ "119": "change_speed",
133
+ "120": "plug_type",
134
+ "121": "maybe",
135
+ "122": "w2",
136
+ "123": "oil_change_when",
137
+ "124": "thank_you",
138
+ "125": "shopping_list_update",
139
+ "126": "pto_balance",
140
+ "127": "order_checks",
141
+ "128": "travel_alert",
142
+ "129": "fun_fact",
143
+ "130": "sync_device",
144
+ "131": "schedule_maintenance",
145
+ "132": "apr",
146
+ "133": "transfer",
147
+ "134": "ingredient_substitution",
148
+ "135": "calories",
149
+ "136": "current_location",
150
+ "137": "international_fees",
151
+ "138": "calculator",
152
+ "139": "definition",
153
+ "140": "next_holiday",
154
+ "141": "update_playlist",
155
+ "142": "mpg",
156
+ "143": "min_payment",
157
+ "144": "change_user_name",
158
+ "145": "restaurant_suggestion",
159
+ "146": "travel_notification",
160
+ "147": "cancel",
161
+ "148": "pto_used",
162
+ "149": "travel_suggestion",
163
+ "150": "change_volume"
164
+ },
165
+ "initializer_range": 0.02,
166
+ "intermediate_size": 3072,
167
+ "label2id": {
168
+ "accept_reservations": "9",
169
+ "account_blocked": "2",
170
+ "alarm": "83",
171
+ "application_status": "103",
172
+ "apr": "132",
173
+ "are_you_a_bot": "117",
174
+ "balance": "35",
175
+ "bill_balance": "27",
176
+ "bill_due": "56",
177
+ "book_flight": "63",
178
+ "book_hotel": "116",
179
+ "calculator": "138",
180
+ "calendar": "60",
181
+ "calendar_update": "105",
182
+ "calories": "135",
183
+ "cancel": "147",
184
+ "cancel_reservation": "67",
185
+ "car_rental": "40",
186
+ "card_declined": "49",
187
+ "carry_on": "62",
188
+ "change_accent": "51",
189
+ "change_ai_name": "55",
190
+ "change_language": "29",
191
+ "change_speed": "119",
192
+ "change_user_name": "144",
193
+ "change_volume": "150",
194
+ "confirm_reservation": "85",
195
+ "cook_time": "86",
196
+ "credit_limit": "41",
197
+ "credit_limit_change": "109",
198
+ "credit_score": "69",
199
+ "current_location": "136",
200
+ "damaged_card": "87",
201
+ "date": "95",
202
+ "definition": "139",
203
+ "direct_deposit": "108",
204
+ "directions": "72",
205
+ "distance": "78",
206
+ "do_you_have_pets": "34",
207
+ "exchange_rate": "38",
208
+ "expiration_date": "44",
209
+ "find_phone": "81",
210
+ "flight_status": "80",
211
+ "flip_coin": "33",
212
+ "food_last": "54",
213
+ "freeze_account": "20",
214
+ "fun_fact": "129",
215
+ "gas": "110",
216
+ "gas_type": "8",
217
+ "goodbye": "114",
218
+ "greeting": "82",
219
+ "how_busy": "102",
220
+ "how_old_are_you": "99",
221
+ "improve_credit_score": "28",
222
+ "income": "93",
223
+ "ingredient_substitution": "134",
224
+ "ingredients_list": "112",
225
+ "insurance": "74",
226
+ "insurance_change": "64",
227
+ "interest_rate": "7",
228
+ "international_fees": "137",
229
+ "international_visa": "59",
230
+ "jump_start": "17",
231
+ "last_maintenance": "37",
232
+ "lost_luggage": "113",
233
+ "make_call": "25",
234
+ "maybe": "121",
235
+ "meal_suggestion": "46",
236
+ "meaning_of_life": "22",
237
+ "measurement_conversion": "31",
238
+ "meeting_schedule": "19",
239
+ "min_payment": "143",
240
+ "mpg": "142",
241
+ "new_card": "91",
242
+ "next_holiday": "140",
243
+ "next_song": "118",
244
+ "no": "30",
245
+ "nutrition_info": "1",
246
+ "oil_change_how": "3",
247
+ "oil_change_when": "123",
248
+ "oos": "42",
249
+ "order": "16",
250
+ "order_checks": "127",
251
+ "order_status": "84",
252
+ "pay_bill": "111",
253
+ "payday": "79",
254
+ "pin_change": "89",
255
+ "play_music": "106",
256
+ "plug_type": "120",
257
+ "pto_balance": "126",
258
+ "pto_request": "97",
259
+ "pto_request_status": "101",
260
+ "pto_used": "148",
261
+ "recipe": "104",
262
+ "redeem_rewards": "6",
263
+ "reminder": "76",
264
+ "reminder_update": "53",
265
+ "repeat": "13",
266
+ "replacement_card_duration": "90",
267
+ "report_fraud": "70",
268
+ "report_lost_card": "12",
269
+ "reset_settings": "88",
270
+ "restaurant_reservation": "23",
271
+ "restaurant_reviews": "0",
272
+ "restaurant_suggestion": "145",
273
+ "rewards_balance": "50",
274
+ "roll_dice": "92",
275
+ "rollover_401k": "100",
276
+ "routing": "45",
277
+ "schedule_maintenance": "131",
278
+ "schedule_meeting": "18",
279
+ "share_location": "58",
280
+ "shopping_list": "43",
281
+ "shopping_list_update": "125",
282
+ "smart_home": "10",
283
+ "spelling": "73",
284
+ "spending_history": "71",
285
+ "sync_device": "130",
286
+ "taxes": "94",
287
+ "tell_joke": "36",
288
+ "text": "26",
289
+ "thank_you": "124",
290
+ "time": "4",
291
+ "timer": "32",
292
+ "timezone": "66",
293
+ "tire_change": "47",
294
+ "tire_pressure": "98",
295
+ "todo_list": "48",
296
+ "todo_list_update": "65",
297
+ "traffic": "24",
298
+ "transactions": "68",
299
+ "transfer": "133",
300
+ "translate": "61",
301
+ "travel_alert": "128",
302
+ "travel_notification": "146",
303
+ "travel_suggestion": "149",
304
+ "uber": "39",
305
+ "update_playlist": "141",
306
+ "user_name": "11",
307
+ "vaccines": "52",
308
+ "w2": "122",
309
+ "weather": "5",
310
+ "what_are_your_hobbies": "15",
311
+ "what_can_i_ask_you": "115",
312
+ "what_is_your_name": "75",
313
+ "what_song": "21",
314
+ "where_are_you_from": "77",
315
+ "whisper_mode": "14",
316
+ "who_do_you_work_for": "57",
317
+ "who_made_you": "96",
318
+ "yes": "107"
319
+ },
320
+ "layer_norm_eps": 1e-12,
321
+ "max_position_embeddings": 512,
322
+ "model_type": "bert",
323
+ "num_attention_heads": 12,
324
+ "num_hidden_layers": 12,
325
+ "pad_token_id": 0,
326
+ "position_embedding_type": "absolute",
327
+ "problem_type": "single_label_classification",
328
+ "transformers_version": "4.56.2",
329
+ "type_vocab_size": 2,
330
+ "use_cache": true,
331
+ "vocab_size": 30522
332
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f59f645d2fe349749d5619adbf71c152c11cc176b7882371e348eb41a397804
3
+ size 438416972