system HF staff commited on
Commit
e53bbea
1 Parent(s): dd98588

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - unk
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - derek-thomas/autotrain-data-banking77-distilroberta
11
+ co2_eq_emissions:
12
+ emissions: 2.4242359759818415
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 44209111546
19
+ - CO2 Emissions (in grams): 2.4242
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.305
24
+ - Accuracy: 0.927
25
+ - Macro F1: 0.928
26
+ - Micro F1: 0.927
27
+ - Weighted F1: 0.927
28
+ - Macro Precision: 0.935
29
+ - Micro Precision: 0.927
30
+ - Weighted Precision: 0.932
31
+ - Macro Recall: 0.925
32
+ - Micro Recall: 0.927
33
+ - Weighted Recall: 0.927
34
+
35
+
36
+ ## Usage
37
+
38
+ You can use cURL to access this model:
39
+
40
+ ```
41
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/derek-thomas/autotrain-banking77-distilroberta-44209111546
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("derek-thomas/autotrain-banking77-distilroberta-44209111546", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("derek-thomas/autotrain-banking77-distilroberta-44209111546", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 77,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "Refund_not_showing_up",
16
+ "1": "activate_my_card",
17
+ "2": "age_limit",
18
+ "3": "apple_pay_or_google_pay",
19
+ "4": "atm_support",
20
+ "5": "automatic_top_up",
21
+ "6": "balance_not_updated_after_bank_transfer",
22
+ "7": "balance_not_updated_after_cheque_or_cash_deposit",
23
+ "8": "beneficiary_not_allowed",
24
+ "9": "cancel_transfer",
25
+ "10": "card_about_to_expire",
26
+ "11": "card_acceptance",
27
+ "12": "card_arrival",
28
+ "13": "card_delivery_estimate",
29
+ "14": "card_linking",
30
+ "15": "card_not_working",
31
+ "16": "card_payment_fee_charged",
32
+ "17": "card_payment_not_recognised",
33
+ "18": "card_payment_wrong_exchange_rate",
34
+ "19": "card_swallowed",
35
+ "20": "cash_withdrawal_charge",
36
+ "21": "cash_withdrawal_not_recognised",
37
+ "22": "change_pin",
38
+ "23": "compromised_card",
39
+ "24": "contactless_not_working",
40
+ "25": "country_support",
41
+ "26": "declined_card_payment",
42
+ "27": "declined_cash_withdrawal",
43
+ "28": "declined_transfer",
44
+ "29": "direct_debit_payment_not_recognised",
45
+ "30": "disposable_card_limits",
46
+ "31": "edit_personal_details",
47
+ "32": "exchange_charge",
48
+ "33": "exchange_rate",
49
+ "34": "exchange_via_app",
50
+ "35": "extra_charge_on_statement",
51
+ "36": "failed_transfer",
52
+ "37": "fiat_currency_support",
53
+ "38": "get_disposable_virtual_card",
54
+ "39": "get_physical_card",
55
+ "40": "getting_spare_card",
56
+ "41": "getting_virtual_card",
57
+ "42": "lost_or_stolen_card",
58
+ "43": "lost_or_stolen_phone",
59
+ "44": "order_physical_card",
60
+ "45": "passcode_forgotten",
61
+ "46": "pending_card_payment",
62
+ "47": "pending_cash_withdrawal",
63
+ "48": "pending_top_up",
64
+ "49": "pending_transfer",
65
+ "50": "pin_blocked",
66
+ "51": "receiving_money",
67
+ "52": "request_refund",
68
+ "53": "reverted_card_payment?",
69
+ "54": "supported_cards_and_currencies",
70
+ "55": "terminate_account",
71
+ "56": "top_up_by_bank_transfer_charge",
72
+ "57": "top_up_by_card_charge",
73
+ "58": "top_up_by_cash_or_cheque",
74
+ "59": "top_up_failed",
75
+ "60": "top_up_limits",
76
+ "61": "top_up_reverted",
77
+ "62": "topping_up_by_card",
78
+ "63": "transaction_charged_twice",
79
+ "64": "transfer_fee_charged",
80
+ "65": "transfer_into_account",
81
+ "66": "transfer_not_received_by_recipient",
82
+ "67": "transfer_timing",
83
+ "68": "unable_to_verify_identity",
84
+ "69": "verify_my_identity",
85
+ "70": "verify_source_of_funds",
86
+ "71": "verify_top_up",
87
+ "72": "virtual_card_not_working",
88
+ "73": "visa_or_mastercard",
89
+ "74": "why_verify_identity",
90
+ "75": "wrong_amount_of_cash_received",
91
+ "76": "wrong_exchange_rate_for_cash_withdrawal"
92
+ },
93
+ "initializer_range": 0.02,
94
+ "intermediate_size": 3072,
95
+ "label2id": {
96
+ "Refund_not_showing_up": 0,
97
+ "activate_my_card": 1,
98
+ "age_limit": 2,
99
+ "apple_pay_or_google_pay": 3,
100
+ "atm_support": 4,
101
+ "automatic_top_up": 5,
102
+ "balance_not_updated_after_bank_transfer": 6,
103
+ "balance_not_updated_after_cheque_or_cash_deposit": 7,
104
+ "beneficiary_not_allowed": 8,
105
+ "cancel_transfer": 9,
106
+ "card_about_to_expire": 10,
107
+ "card_acceptance": 11,
108
+ "card_arrival": 12,
109
+ "card_delivery_estimate": 13,
110
+ "card_linking": 14,
111
+ "card_not_working": 15,
112
+ "card_payment_fee_charged": 16,
113
+ "card_payment_not_recognised": 17,
114
+ "card_payment_wrong_exchange_rate": 18,
115
+ "card_swallowed": 19,
116
+ "cash_withdrawal_charge": 20,
117
+ "cash_withdrawal_not_recognised": 21,
118
+ "change_pin": 22,
119
+ "compromised_card": 23,
120
+ "contactless_not_working": 24,
121
+ "country_support": 25,
122
+ "declined_card_payment": 26,
123
+ "declined_cash_withdrawal": 27,
124
+ "declined_transfer": 28,
125
+ "direct_debit_payment_not_recognised": 29,
126
+ "disposable_card_limits": 30,
127
+ "edit_personal_details": 31,
128
+ "exchange_charge": 32,
129
+ "exchange_rate": 33,
130
+ "exchange_via_app": 34,
131
+ "extra_charge_on_statement": 35,
132
+ "failed_transfer": 36,
133
+ "fiat_currency_support": 37,
134
+ "get_disposable_virtual_card": 38,
135
+ "get_physical_card": 39,
136
+ "getting_spare_card": 40,
137
+ "getting_virtual_card": 41,
138
+ "lost_or_stolen_card": 42,
139
+ "lost_or_stolen_phone": 43,
140
+ "order_physical_card": 44,
141
+ "passcode_forgotten": 45,
142
+ "pending_card_payment": 46,
143
+ "pending_cash_withdrawal": 47,
144
+ "pending_top_up": 48,
145
+ "pending_transfer": 49,
146
+ "pin_blocked": 50,
147
+ "receiving_money": 51,
148
+ "request_refund": 52,
149
+ "reverted_card_payment?": 53,
150
+ "supported_cards_and_currencies": 54,
151
+ "terminate_account": 55,
152
+ "top_up_by_bank_transfer_charge": 56,
153
+ "top_up_by_card_charge": 57,
154
+ "top_up_by_cash_or_cheque": 58,
155
+ "top_up_failed": 59,
156
+ "top_up_limits": 60,
157
+ "top_up_reverted": 61,
158
+ "topping_up_by_card": 62,
159
+ "transaction_charged_twice": 63,
160
+ "transfer_fee_charged": 64,
161
+ "transfer_into_account": 65,
162
+ "transfer_not_received_by_recipient": 66,
163
+ "transfer_timing": 67,
164
+ "unable_to_verify_identity": 68,
165
+ "verify_my_identity": 69,
166
+ "verify_source_of_funds": 70,
167
+ "verify_top_up": 71,
168
+ "virtual_card_not_working": 72,
169
+ "visa_or_mastercard": 73,
170
+ "why_verify_identity": 74,
171
+ "wrong_amount_of_cash_received": 75,
172
+ "wrong_exchange_rate_for_cash_withdrawal": 76
173
+ },
174
+ "layer_norm_eps": 1e-05,
175
+ "max_length": 256,
176
+ "max_position_embeddings": 514,
177
+ "model_type": "roberta",
178
+ "num_attention_heads": 12,
179
+ "num_hidden_layers": 6,
180
+ "pad_token_id": 1,
181
+ "padding": "max_length",
182
+ "position_embedding_type": "absolute",
183
+ "problem_type": "single_label_classification",
184
+ "torch_dtype": "float32",
185
+ "transformers_version": "4.25.1",
186
+ "type_vocab_size": 1,
187
+ "use_cache": true,
188
+ "vocab_size": 50265
189
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d323962ecbe16cb0df8f80b8630a240b2ebe95037018644368552fc1f4547932
3
+ size 328750581
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dd145b365bb0290901f396fd0d1d7cf040b0886a151b804d833f074ad323be9
3
+ size 2108856
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "errors": "replace",
7
+ "mask_token": "<mask>",
8
+ "model_max_length": 512,
9
+ "name_or_path": "AutoTrain",
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "special_tokens_map_file": null,
13
+ "tokenizer_class": "RobertaTokenizer",
14
+ "trim_offsets": true,
15
+ "unk_token": "<unk>"
16
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff