system HF staff commited on
Commit
1561114
1 Parent(s): ea1fcca

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: 5.632805352029529
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Multi-class Classification
14
+ - Model ID: 940131045
15
+ - CO2 Emissions (in grams): 5.632805352029529
16
+
17
+ ## Validation Metrics
18
+
19
+ - Loss: 0.3392622470855713
20
+ - Accuracy: 0.9199410609037328
21
+ - Macro F1: 0.9199390885956755
22
+ - Micro F1: 0.9199410609037327
23
+ - Weighted F1: 0.9198140295005729
24
+ - Macro Precision: 0.9235531521509113
25
+ - Micro Precision: 0.9199410609037328
26
+ - Weighted Precision: 0.9228777883152248
27
+ - Macro Recall: 0.919570805773292
28
+ - Micro Recall: 0.9199410609037328
29
+ - Weighted Recall: 0.9199410609037328
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-940131045
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-940131045", use_auth_token=True)
46
+
47
+ tokenizer = AutoTokenizer.from_pretrained("philschmid/autotrain-does-it-work-940131045", 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,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 77,
4
+ "activation": "gelu",
5
+ "architectures": [
6
+ "DistilBertForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "dim": 768,
10
+ "dropout": 0.1,
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "Refund_not_showing_up",
14
+ "1": "activate_my_card",
15
+ "2": "age_limit",
16
+ "3": "apple_pay_or_google_pay",
17
+ "4": "atm_support",
18
+ "5": "automatic_top_up",
19
+ "6": "balance_not_updated_after_bank_transfer",
20
+ "7": "balance_not_updated_after_cheque_or_cash_deposit",
21
+ "8": "beneficiary_not_allowed",
22
+ "9": "cancel_transfer",
23
+ "10": "card_about_to_expire",
24
+ "11": "card_acceptance",
25
+ "12": "card_arrival",
26
+ "13": "card_delivery_estimate",
27
+ "14": "card_linking",
28
+ "15": "card_not_working",
29
+ "16": "card_payment_fee_charged",
30
+ "17": "card_payment_not_recognised",
31
+ "18": "card_payment_wrong_exchange_rate",
32
+ "19": "card_swallowed",
33
+ "20": "cash_withdrawal_charge",
34
+ "21": "cash_withdrawal_not_recognised",
35
+ "22": "change_pin",
36
+ "23": "compromised_card",
37
+ "24": "contactless_not_working",
38
+ "25": "country_support",
39
+ "26": "declined_card_payment",
40
+ "27": "declined_cash_withdrawal",
41
+ "28": "declined_transfer",
42
+ "29": "direct_debit_payment_not_recognised",
43
+ "30": "disposable_card_limits",
44
+ "31": "edit_personal_details",
45
+ "32": "exchange_charge",
46
+ "33": "exchange_rate",
47
+ "34": "exchange_via_app",
48
+ "35": "extra_charge_on_statement",
49
+ "36": "failed_transfer",
50
+ "37": "fiat_currency_support",
51
+ "38": "get_disposable_virtual_card",
52
+ "39": "get_physical_card",
53
+ "40": "getting_spare_card",
54
+ "41": "getting_virtual_card",
55
+ "42": "lost_or_stolen_card",
56
+ "43": "lost_or_stolen_phone",
57
+ "44": "order_physical_card",
58
+ "45": "passcode_forgotten",
59
+ "46": "pending_card_payment",
60
+ "47": "pending_cash_withdrawal",
61
+ "48": "pending_top_up",
62
+ "49": "pending_transfer",
63
+ "50": "pin_blocked",
64
+ "51": "receiving_money",
65
+ "52": "request_refund",
66
+ "53": "reverted_card_payment?",
67
+ "54": "supported_cards_and_currencies",
68
+ "55": "terminate_account",
69
+ "56": "top_up_by_bank_transfer_charge",
70
+ "57": "top_up_by_card_charge",
71
+ "58": "top_up_by_cash_or_cheque",
72
+ "59": "top_up_failed",
73
+ "60": "top_up_limits",
74
+ "61": "top_up_reverted",
75
+ "62": "topping_up_by_card",
76
+ "63": "transaction_charged_twice",
77
+ "64": "transfer_fee_charged",
78
+ "65": "transfer_into_account",
79
+ "66": "transfer_not_received_by_recipient",
80
+ "67": "transfer_timing",
81
+ "68": "unable_to_verify_identity",
82
+ "69": "verify_my_identity",
83
+ "70": "verify_source_of_funds",
84
+ "71": "verify_top_up",
85
+ "72": "virtual_card_not_working",
86
+ "73": "visa_or_mastercard",
87
+ "74": "why_verify_identity",
88
+ "75": "wrong_amount_of_cash_received",
89
+ "76": "wrong_exchange_rate_for_cash_withdrawal"
90
+ },
91
+ "initializer_range": 0.02,
92
+ "label2id": {
93
+ "Refund_not_showing_up": 0,
94
+ "activate_my_card": 1,
95
+ "age_limit": 2,
96
+ "apple_pay_or_google_pay": 3,
97
+ "atm_support": 4,
98
+ "automatic_top_up": 5,
99
+ "balance_not_updated_after_bank_transfer": 6,
100
+ "balance_not_updated_after_cheque_or_cash_deposit": 7,
101
+ "beneficiary_not_allowed": 8,
102
+ "cancel_transfer": 9,
103
+ "card_about_to_expire": 10,
104
+ "card_acceptance": 11,
105
+ "card_arrival": 12,
106
+ "card_delivery_estimate": 13,
107
+ "card_linking": 14,
108
+ "card_not_working": 15,
109
+ "card_payment_fee_charged": 16,
110
+ "card_payment_not_recognised": 17,
111
+ "card_payment_wrong_exchange_rate": 18,
112
+ "card_swallowed": 19,
113
+ "cash_withdrawal_charge": 20,
114
+ "cash_withdrawal_not_recognised": 21,
115
+ "change_pin": 22,
116
+ "compromised_card": 23,
117
+ "contactless_not_working": 24,
118
+ "country_support": 25,
119
+ "declined_card_payment": 26,
120
+ "declined_cash_withdrawal": 27,
121
+ "declined_transfer": 28,
122
+ "direct_debit_payment_not_recognised": 29,
123
+ "disposable_card_limits": 30,
124
+ "edit_personal_details": 31,
125
+ "exchange_charge": 32,
126
+ "exchange_rate": 33,
127
+ "exchange_via_app": 34,
128
+ "extra_charge_on_statement": 35,
129
+ "failed_transfer": 36,
130
+ "fiat_currency_support": 37,
131
+ "get_disposable_virtual_card": 38,
132
+ "get_physical_card": 39,
133
+ "getting_spare_card": 40,
134
+ "getting_virtual_card": 41,
135
+ "lost_or_stolen_card": 42,
136
+ "lost_or_stolen_phone": 43,
137
+ "order_physical_card": 44,
138
+ "passcode_forgotten": 45,
139
+ "pending_card_payment": 46,
140
+ "pending_cash_withdrawal": 47,
141
+ "pending_top_up": 48,
142
+ "pending_transfer": 49,
143
+ "pin_blocked": 50,
144
+ "receiving_money": 51,
145
+ "request_refund": 52,
146
+ "reverted_card_payment?": 53,
147
+ "supported_cards_and_currencies": 54,
148
+ "terminate_account": 55,
149
+ "top_up_by_bank_transfer_charge": 56,
150
+ "top_up_by_card_charge": 57,
151
+ "top_up_by_cash_or_cheque": 58,
152
+ "top_up_failed": 59,
153
+ "top_up_limits": 60,
154
+ "top_up_reverted": 61,
155
+ "topping_up_by_card": 62,
156
+ "transaction_charged_twice": 63,
157
+ "transfer_fee_charged": 64,
158
+ "transfer_into_account": 65,
159
+ "transfer_not_received_by_recipient": 66,
160
+ "transfer_timing": 67,
161
+ "unable_to_verify_identity": 68,
162
+ "verify_my_identity": 69,
163
+ "verify_source_of_funds": 70,
164
+ "verify_top_up": 71,
165
+ "virtual_card_not_working": 72,
166
+ "visa_or_mastercard": 73,
167
+ "why_verify_identity": 74,
168
+ "wrong_amount_of_cash_received": 75,
169
+ "wrong_exchange_rate_for_cash_withdrawal": 76
170
+ },
171
+ "max_length": 96,
172
+ "max_position_embeddings": 512,
173
+ "model_type": "distilbert",
174
+ "n_heads": 12,
175
+ "n_layers": 6,
176
+ "pad_token_id": 0,
177
+ "padding": "max_length",
178
+ "problem_type": "single_label_classification",
179
+ "qa_dropout": 0.1,
180
+ "seq_classif_dropout": 0.2,
181
+ "sinusoidal_pos_embds": false,
182
+ "tie_weights_": true,
183
+ "torch_dtype": "float32",
184
+ "transformers_version": "4.15.0",
185
+ "vocab_size": 30522
186
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911b1e516e382ee47fe65f5b7d1748e15939f197dedf3e5bcf5927ec327a0799
3
+ size 268090737
sample_input.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02dd516038842d8f695dc4d86a90e77caf61415acbea43056e453f44014b820
3
+ size 2546
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": "DistilBertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff