ramnathv commited on
Commit
83c82b2
1 Parent(s): e4346ae

End of training

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ model-index:
10
+ - name: banking77-text-classification
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # banking77-text-classification
18
+
19
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4686
22
+ - F1: 0.8989
23
+ - Accuracy: 0.9054
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 4
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
54
+ | 3.9638 | 0.46 | 100 | 3.1616 | 0.3449 | 0.4205 |
55
+ | 2.5608 | 0.91 | 200 | 1.9064 | 0.6739 | 0.7231 |
56
+ | 1.5807 | 1.37 | 300 | 1.2332 | 0.7769 | 0.8111 |
57
+ | 1.0547 | 1.83 | 400 | 0.8750 | 0.8433 | 0.8594 |
58
+ | 0.7201 | 2.28 | 500 | 0.6806 | 0.8620 | 0.8777 |
59
+ | 0.5474 | 2.74 | 600 | 0.5627 | 0.8856 | 0.8970 |
60
+ | 0.4168 | 3.2 | 700 | 0.5010 | 0.8884 | 0.8984 |
61
+ | 0.3382 | 3.65 | 800 | 0.4686 | 0.8989 | 0.9054 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.35.2
67
+ - Pytorch 2.1.0+cu121
68
+ - Datasets 2.16.0
69
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "activate_my_card",
14
+ "1": "age_limit",
15
+ "2": "apple_pay_or_google_pay",
16
+ "3": "atm_support",
17
+ "4": "automatic_top_up",
18
+ "5": "balance_not_updated_after_bank_transfer",
19
+ "6": "balance_not_updated_after_cheque_or_cash_deposit",
20
+ "7": "beneficiary_not_allowed",
21
+ "8": "cancel_transfer",
22
+ "9": "card_about_to_expire",
23
+ "10": "card_acceptance",
24
+ "11": "card_arrival",
25
+ "12": "card_delivery_estimate",
26
+ "13": "card_linking",
27
+ "14": "card_not_working",
28
+ "15": "card_payment_fee_charged",
29
+ "16": "card_payment_not_recognised",
30
+ "17": "card_payment_wrong_exchange_rate",
31
+ "18": "card_swallowed",
32
+ "19": "cash_withdrawal_charge",
33
+ "20": "cash_withdrawal_not_recognised",
34
+ "21": "change_pin",
35
+ "22": "compromised_card",
36
+ "23": "contactless_not_working",
37
+ "24": "country_support",
38
+ "25": "declined_card_payment",
39
+ "26": "declined_cash_withdrawal",
40
+ "27": "declined_transfer",
41
+ "28": "direct_debit_payment_not_recognised",
42
+ "29": "disposable_card_limits",
43
+ "30": "edit_personal_details",
44
+ "31": "exchange_charge",
45
+ "32": "exchange_rate",
46
+ "33": "exchange_via_app",
47
+ "34": "extra_charge_on_statement",
48
+ "35": "failed_transfer",
49
+ "36": "fiat_currency_support",
50
+ "37": "get_disposable_virtual_card",
51
+ "38": "get_physical_card",
52
+ "39": "getting_spare_card",
53
+ "40": "getting_virtual_card",
54
+ "41": "lost_or_stolen_card",
55
+ "42": "lost_or_stolen_phone",
56
+ "43": "order_physical_card",
57
+ "44": "passcode_forgotten",
58
+ "45": "pending_card_payment",
59
+ "46": "pending_cash_withdrawal",
60
+ "47": "pending_top_up",
61
+ "48": "pending_transfer",
62
+ "49": "pin_blocked",
63
+ "50": "receiving_money",
64
+ "51": "Refund_not_showing_up",
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
+ "intermediate_size": 3072,
93
+ "label2id": {
94
+ "Refund_not_showing_up": 51,
95
+ "activate_my_card": 0,
96
+ "age_limit": 1,
97
+ "apple_pay_or_google_pay": 2,
98
+ "atm_support": 3,
99
+ "automatic_top_up": 4,
100
+ "balance_not_updated_after_bank_transfer": 5,
101
+ "balance_not_updated_after_cheque_or_cash_deposit": 6,
102
+ "beneficiary_not_allowed": 7,
103
+ "cancel_transfer": 8,
104
+ "card_about_to_expire": 9,
105
+ "card_acceptance": 10,
106
+ "card_arrival": 11,
107
+ "card_delivery_estimate": 12,
108
+ "card_linking": 13,
109
+ "card_not_working": 14,
110
+ "card_payment_fee_charged": 15,
111
+ "card_payment_not_recognised": 16,
112
+ "card_payment_wrong_exchange_rate": 17,
113
+ "card_swallowed": 18,
114
+ "cash_withdrawal_charge": 19,
115
+ "cash_withdrawal_not_recognised": 20,
116
+ "change_pin": 21,
117
+ "compromised_card": 22,
118
+ "contactless_not_working": 23,
119
+ "country_support": 24,
120
+ "declined_card_payment": 25,
121
+ "declined_cash_withdrawal": 26,
122
+ "declined_transfer": 27,
123
+ "direct_debit_payment_not_recognised": 28,
124
+ "disposable_card_limits": 29,
125
+ "edit_personal_details": 30,
126
+ "exchange_charge": 31,
127
+ "exchange_rate": 32,
128
+ "exchange_via_app": 33,
129
+ "extra_charge_on_statement": 34,
130
+ "failed_transfer": 35,
131
+ "fiat_currency_support": 36,
132
+ "get_disposable_virtual_card": 37,
133
+ "get_physical_card": 38,
134
+ "getting_spare_card": 39,
135
+ "getting_virtual_card": 40,
136
+ "lost_or_stolen_card": 41,
137
+ "lost_or_stolen_phone": 42,
138
+ "order_physical_card": 43,
139
+ "passcode_forgotten": 44,
140
+ "pending_card_payment": 45,
141
+ "pending_cash_withdrawal": 46,
142
+ "pending_top_up": 47,
143
+ "pending_transfer": 48,
144
+ "pin_blocked": 49,
145
+ "receiving_money": 50,
146
+ "request_refund": 52,
147
+ "reverted_card_payment?": 53,
148
+ "supported_cards_and_currencies": 54,
149
+ "terminate_account": 55,
150
+ "top_up_by_bank_transfer_charge": 56,
151
+ "top_up_by_card_charge": 57,
152
+ "top_up_by_cash_or_cheque": 58,
153
+ "top_up_failed": 59,
154
+ "top_up_limits": 60,
155
+ "top_up_reverted": 61,
156
+ "topping_up_by_card": 62,
157
+ "transaction_charged_twice": 63,
158
+ "transfer_fee_charged": 64,
159
+ "transfer_into_account": 65,
160
+ "transfer_not_received_by_recipient": 66,
161
+ "transfer_timing": 67,
162
+ "unable_to_verify_identity": 68,
163
+ "verify_my_identity": 69,
164
+ "verify_source_of_funds": 70,
165
+ "verify_top_up": 71,
166
+ "virtual_card_not_working": 72,
167
+ "visa_or_mastercard": 73,
168
+ "why_verify_identity": 74,
169
+ "wrong_amount_of_cash_received": 75,
170
+ "wrong_exchange_rate_for_cash_withdrawal": 76
171
+ },
172
+ "layer_norm_eps": 1e-12,
173
+ "max_position_embeddings": 512,
174
+ "model_type": "bert",
175
+ "num_attention_heads": 12,
176
+ "num_hidden_layers": 12,
177
+ "pad_token_id": 0,
178
+ "position_embedding_type": "absolute",
179
+ "problem_type": "single_label_classification",
180
+ "torch_dtype": "float32",
181
+ "transformers_version": "4.35.2",
182
+ "type_vocab_size": 2,
183
+ "use_cache": true,
184
+ "vocab_size": 30522
185
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61d15aca22479eea0ecb5cfa7e4aa453d76aedd2f78d15f4db508e83edf9c425
3
+ size 438189348
runs/Dec29_19-29-45_65df37bfa3e9/events.out.tfevents.1703878211.65df37bfa3e9.1675.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14ac0f6e13c1a250c5572743e8ae3c3e746df049429a938e413f90cc521315e9
3
+ size 13958
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a231ba3de0c96af09d809ee8f8ca2dfc604235c24eee1fe3e8d30b0a9535453f
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff