system HF staff commited on
Commit
4580c6c
1 Parent(s): 257389e

Commit From AutoTrain

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