karim155 commited on
Commit
620b5b6
·
verified ·
1 Parent(s): 75b736e

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: Davlan/afro-xlmr-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ model-index:
10
+ - name: wolbanking77-afro-xlmr-large
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
+ # wolbanking77-afro-xlmr-large
18
+
19
+ This model is a fine-tuned version of [Davlan/afro-xlmr-large](https://huggingface.co/Davlan/afro-xlmr-large) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.2959
22
+ - F1: 0.5810
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 20
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
53
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|
54
+ | 4.2932 | 1.0 | 1958 | 4.0790 | 0.0315 |
55
+ | 2.9364 | 2.0 | 3916 | 2.7736 | 0.3511 |
56
+ | 2.288 | 3.0 | 5874 | 2.3849 | 0.4881 |
57
+ | 1.992 | 4.0 | 7832 | 2.2629 | 0.5396 |
58
+ | 1.6931 | 5.0 | 9790 | 2.2066 | 0.5694 |
59
+ | 1.3725 | 6.0 | 11748 | 2.2224 | 0.5770 |
60
+ | 1.2085 | 7.0 | 13706 | 2.2959 | 0.5810 |
61
+ | 0.9111 | 8.0 | 15664 | 2.4032 | 0.5704 |
62
+ | 0.8359 | 9.0 | 17622 | 2.4982 | 0.5719 |
63
+ | 0.6609 | 10.0 | 19580 | 2.6449 | 0.5720 |
64
+ | 0.4818 | 11.0 | 21538 | 2.7611 | 0.5691 |
65
+ | 0.417 | 12.0 | 23496 | 2.9075 | 0.5677 |
66
+ | 0.285 | 13.0 | 25454 | 3.0922 | 0.5570 |
67
+ | 0.1873 | 14.0 | 27412 | 3.2292 | 0.5582 |
68
+ | 0.1321 | 15.0 | 29370 | 3.3421 | 0.5646 |
69
+ | 0.0938 | 16.0 | 31328 | 3.4509 | 0.5694 |
70
+ | 0.0704 | 17.0 | 33286 | 3.5159 | 0.5695 |
71
+ | 0.0423 | 18.0 | 35244 | 3.5586 | 0.5740 |
72
+ | 0.0262 | 19.0 | 37202 | 3.6021 | 0.5652 |
73
+ | 0.0228 | 20.0 | 39160 | 3.6177 | 0.5654 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.57.1
79
+ - Pytorch 2.8.0+cu128
80
+ - Datasets 4.2.0
81
+ - Tokenizers 0.22.1
config.json CHANGED
@@ -1,174 +1,174 @@
1
  {
2
- "_name_or_path": "Davlan/afro-xlmr-large",
3
  "architectures": [
4
  "XLMRobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
 
9
  "eos_token_id": 2,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
  "id2label": {
14
- "0": "transaction charged twice",
15
- "1": "verify top up",
16
  "10": "automatic top up",
17
- "11": "pin blocked",
18
- "12": "disposable card limits",
19
- "13": "receiving money",
20
- "14": "verify my identity",
21
- "15": "getting spare card",
22
- "16": "exchange charge",
23
- "17": "terminate account",
24
- "18": "card acceptance",
25
- "19": "getting virtual card",
26
- "2": "card about to expire",
27
- "20": "visa or mastercard",
28
- "21": "pending top up",
29
- "22": "balance not updated after bank transfer",
30
- "23": "card arrival",
31
- "24": "change pin",
32
- "25": "card swallowed",
33
- "26": "direct debit payment not recognised",
34
- "27": "pending cash withdrawal",
35
- "28": "atm support",
36
- "29": "cash withdrawal not recognised",
37
- "3": "passcode forgotten",
38
- "30": "balance not updated after cheque or cash deposit",
39
- "31": "card linking",
40
- "32": "transfer not received by recipient",
41
- "33": "contactless not working",
42
- "34": "top up limits",
43
- "35": "beneficiary not allowed",
44
- "36": "top up reverted",
45
- "37": "cancel transfer",
46
- "38": "cash withdrawal charge",
47
- "39": "card payment fee charged",
48
- "4": "card not working",
49
- "40": "lost or stolen phone",
50
- "41": "age limit",
51
- "42": "transfer fee charged",
52
- "43": "pending transfer",
53
- "44": "activate my card",
54
- "45": "country support",
55
- "46": "supported cards and currencies",
56
- "47": "card delivery estimate",
57
- "48": "transfer timing",
58
- "49": "why verify identity",
59
- "5": "declined card payment",
60
- "50": "card payment not recognised",
61
- "51": "virtual card not working",
62
- "52": "fiat currency support",
63
- "53": "get disposable virtual card",
64
- "54": "get physical card",
65
- "55": "wrong amount of cash received",
66
- "56": "exchange via app",
67
- "57": "apple pay or google pay",
68
- "58": "extra charge on statement",
69
- "59": "lost or stolen card",
70
  "6": "failed transfer",
71
- "60": "declined cash withdrawal",
72
- "61": "declined transfer",
73
- "62": "top up by card charge",
74
- "63": "exchange rate",
75
- "64": "transfer into account",
76
- "65": "Refund not showing up",
77
- "66": "pending card payment",
78
- "67": "top up failed",
79
- "68": "card payment wrong exchange rate",
80
- "69": "compromised card",
81
- "7": "unable to verify identity",
82
- "70": "wrong exchange rate for cash withdrawal",
83
- "71": "top up by bank transfer charge",
84
- "72": "request refund",
85
- "73": "reverted card payment?",
86
- "74": "edit personal details",
87
- "75": "order physical card",
88
- "76": "topping up by card",
89
- "8": "top up by cash or cheque",
90
- "9": "verify source of funds"
91
  },
92
  "initializer_range": 0.02,
93
  "intermediate_size": 4096,
94
  "label2id": {
95
- "Refund not showing up": "65",
96
- "activate my card": "44",
97
- "age limit": "41",
98
- "apple pay or google pay": "57",
99
- "atm support": "28",
100
  "automatic top up": "10",
101
- "balance not updated after bank transfer": "22",
102
- "balance not updated after cheque or cash deposit": "30",
103
- "beneficiary not allowed": "35",
104
- "cancel transfer": "37",
105
- "card about to expire": "2",
106
- "card acceptance": "18",
107
- "card arrival": "23",
108
- "card delivery estimate": "47",
109
- "card linking": "31",
110
- "card not working": "4",
111
- "card payment fee charged": "39",
112
- "card payment not recognised": "50",
113
- "card payment wrong exchange rate": "68",
114
- "card swallowed": "25",
115
- "cash withdrawal charge": "38",
116
- "cash withdrawal not recognised": "29",
117
- "change pin": "24",
118
- "compromised card": "69",
119
- "contactless not working": "33",
120
- "country support": "45",
121
- "declined card payment": "5",
122
- "declined cash withdrawal": "60",
123
- "declined transfer": "61",
124
- "direct debit payment not recognised": "26",
125
- "disposable card limits": "12",
126
- "edit personal details": "74",
127
- "exchange charge": "16",
128
- "exchange rate": "63",
129
- "exchange via app": "56",
130
- "extra charge on statement": "58",
131
  "failed transfer": "6",
132
- "fiat currency support": "52",
133
- "get disposable virtual card": "53",
134
- "get physical card": "54",
135
- "getting spare card": "15",
136
- "getting virtual card": "19",
137
- "lost or stolen card": "59",
138
- "lost or stolen phone": "40",
139
- "order physical card": "75",
140
- "passcode forgotten": "3",
141
- "pending card payment": "66",
142
- "pending cash withdrawal": "27",
143
- "pending top up": "21",
144
- "pending transfer": "43",
145
- "pin blocked": "11",
146
- "receiving money": "13",
147
- "request refund": "72",
148
- "reverted card payment?": "73",
149
- "supported cards and currencies": "46",
150
- "terminate account": "17",
151
- "top up by bank transfer charge": "71",
152
- "top up by card charge": "62",
153
- "top up by cash or cheque": "8",
154
- "top up failed": "67",
155
- "top up limits": "34",
156
- "top up reverted": "36",
157
- "topping up by card": "76",
158
- "transaction charged twice": "0",
159
- "transfer fee charged": "42",
160
- "transfer into account": "64",
161
- "transfer not received by recipient": "32",
162
- "transfer timing": "48",
163
- "unable to verify identity": "7",
164
- "verify my identity": "14",
165
- "verify source of funds": "9",
166
- "verify top up": "1",
167
- "virtual card not working": "51",
168
- "visa or mastercard": "20",
169
- "why verify identity": "49",
170
- "wrong amount of cash received": "55",
171
- "wrong exchange rate for cash withdrawal": "70"
172
  },
173
  "layer_norm_eps": 1e-05,
174
  "max_position_embeddings": 514,
@@ -179,8 +179,7 @@
179
  "pad_token_id": 1,
180
  "position_embedding_type": "absolute",
181
  "problem_type": "single_label_classification",
182
- "torch_dtype": "float32",
183
- "transformers_version": "4.45.2",
184
  "type_vocab_size": 1,
185
  "use_cache": true,
186
  "vocab_size": 250002
 
1
  {
 
2
  "architectures": [
3
  "XLMRobertaForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
7
  "classifier_dropout": null,
8
+ "dtype": "float32",
9
  "eos_token_id": 2,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
  "id2label": {
14
+ "0": "compromised card",
15
+ "1": "wrong amount of cash received",
16
  "10": "automatic top up",
17
+ "11": "card about to expire",
18
+ "12": "get disposable virtual card",
19
+ "13": "declined cash withdrawal",
20
+ "14": "top up by bank transfer charge",
21
+ "15": "virtual card not working",
22
+ "16": "supported cards and currencies",
23
+ "17": "exchange rate",
24
+ "18": "why verify identity",
25
+ "19": "balance not updated after cheque or cash deposit",
26
+ "2": "order physical card",
27
+ "20": "Refund not showing up",
28
+ "21": "visa or mastercard",
29
+ "22": "card payment not recognised",
30
+ "23": "card swallowed",
31
+ "24": "fiat currency support",
32
+ "25": "pending transfer",
33
+ "26": "wrong exchange rate for cash withdrawal",
34
+ "27": "extra charge on statement",
35
+ "28": "lost or stolen phone",
36
+ "29": "transfer fee charged",
37
+ "3": "get physical card",
38
+ "30": "getting virtual card",
39
+ "31": "pending top up",
40
+ "32": "transfer timing",
41
+ "33": "declined transfer",
42
+ "34": "card payment wrong exchange rate",
43
+ "35": "cash withdrawal charge",
44
+ "36": "passcode forgotten",
45
+ "37": "top up failed",
46
+ "38": "activate my card",
47
+ "39": "card linking",
48
+ "4": "request refund",
49
+ "40": "card arrival",
50
+ "41": "apple pay or google pay",
51
+ "42": "card not working",
52
+ "43": "cancel transfer",
53
+ "44": "edit personal details",
54
+ "45": "beneficiary not allowed",
55
+ "46": "transaction charged twice",
56
+ "47": "top up reverted",
57
+ "48": "transfer not received by recipient",
58
+ "49": "card delivery estimate",
59
+ "5": "getting spare card",
60
+ "50": "verify top up",
61
+ "51": "topping up by card",
62
+ "52": "transfer into account",
63
+ "53": "terminate account",
64
+ "54": "pin blocked",
65
+ "55": "lost or stolen card",
66
+ "56": "verify source of funds",
67
+ "57": "country support",
68
+ "58": "top up limits",
69
+ "59": "balance not updated after bank transfer",
70
  "6": "failed transfer",
71
+ "60": "pending cash withdrawal",
72
+ "61": "top up by cash or cheque",
73
+ "62": "contactless not working",
74
+ "63": "declined card payment",
75
+ "64": "exchange via app",
76
+ "65": "reverted card payment?",
77
+ "66": "age limit",
78
+ "67": "top up by card charge",
79
+ "68": "receiving money",
80
+ "69": "pending card payment",
81
+ "7": "disposable card limits",
82
+ "70": "change pin",
83
+ "71": "exchange charge",
84
+ "72": "atm support",
85
+ "73": "card payment fee charged",
86
+ "74": "direct debit payment not recognised",
87
+ "75": "cash withdrawal not recognised",
88
+ "76": "verify my identity",
89
+ "8": "card acceptance",
90
+ "9": "unable to verify identity"
91
  },
92
  "initializer_range": 0.02,
93
  "intermediate_size": 4096,
94
  "label2id": {
95
+ "Refund not showing up": "20",
96
+ "activate my card": "38",
97
+ "age limit": "66",
98
+ "apple pay or google pay": "41",
99
+ "atm support": "72",
100
  "automatic top up": "10",
101
+ "balance not updated after bank transfer": "59",
102
+ "balance not updated after cheque or cash deposit": "19",
103
+ "beneficiary not allowed": "45",
104
+ "cancel transfer": "43",
105
+ "card about to expire": "11",
106
+ "card acceptance": "8",
107
+ "card arrival": "40",
108
+ "card delivery estimate": "49",
109
+ "card linking": "39",
110
+ "card not working": "42",
111
+ "card payment fee charged": "73",
112
+ "card payment not recognised": "22",
113
+ "card payment wrong exchange rate": "34",
114
+ "card swallowed": "23",
115
+ "cash withdrawal charge": "35",
116
+ "cash withdrawal not recognised": "75",
117
+ "change pin": "70",
118
+ "compromised card": "0",
119
+ "contactless not working": "62",
120
+ "country support": "57",
121
+ "declined card payment": "63",
122
+ "declined cash withdrawal": "13",
123
+ "declined transfer": "33",
124
+ "direct debit payment not recognised": "74",
125
+ "disposable card limits": "7",
126
+ "edit personal details": "44",
127
+ "exchange charge": "71",
128
+ "exchange rate": "17",
129
+ "exchange via app": "64",
130
+ "extra charge on statement": "27",
131
  "failed transfer": "6",
132
+ "fiat currency support": "24",
133
+ "get disposable virtual card": "12",
134
+ "get physical card": "3",
135
+ "getting spare card": "5",
136
+ "getting virtual card": "30",
137
+ "lost or stolen card": "55",
138
+ "lost or stolen phone": "28",
139
+ "order physical card": "2",
140
+ "passcode forgotten": "36",
141
+ "pending card payment": "69",
142
+ "pending cash withdrawal": "60",
143
+ "pending top up": "31",
144
+ "pending transfer": "25",
145
+ "pin blocked": "54",
146
+ "receiving money": "68",
147
+ "request refund": "4",
148
+ "reverted card payment?": "65",
149
+ "supported cards and currencies": "16",
150
+ "terminate account": "53",
151
+ "top up by bank transfer charge": "14",
152
+ "top up by card charge": "67",
153
+ "top up by cash or cheque": "61",
154
+ "top up failed": "37",
155
+ "top up limits": "58",
156
+ "top up reverted": "47",
157
+ "topping up by card": "51",
158
+ "transaction charged twice": "46",
159
+ "transfer fee charged": "29",
160
+ "transfer into account": "52",
161
+ "transfer not received by recipient": "48",
162
+ "transfer timing": "32",
163
+ "unable to verify identity": "9",
164
+ "verify my identity": "76",
165
+ "verify source of funds": "56",
166
+ "verify top up": "50",
167
+ "virtual card not working": "15",
168
+ "visa or mastercard": "21",
169
+ "why verify identity": "18",
170
+ "wrong amount of cash received": "1",
171
+ "wrong exchange rate for cash withdrawal": "26"
172
  },
173
  "layer_norm_eps": 1e-05,
174
  "max_position_embeddings": 514,
 
179
  "pad_token_id": 1,
180
  "position_embedding_type": "absolute",
181
  "problem_type": "single_label_classification",
182
+ "transformers_version": "4.57.1",
 
183
  "type_vocab_size": 1,
184
  "use_cache": true,
185
  "vocab_size": 250002
logs/events.out.tfevents.1761173384.961e2edd6759.2204.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e57fec913dd13d8288048b9abd9b855b00d631f2469a5fb486c0446dd841adb
3
+ size 58762
logs/events.out.tfevents.1761180025.961e2edd6759.2204.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea3431478f7859c9f7b5a3a8a75074431d6a1e13575fa5071f7936fa49f5047
3
+ size 411
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9002cf367f1962976bbca9eb7642d061cfa07f246a79c63eb4940f38419e1aa2
3
  size 2239926172
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4ece5cb4a5f072d059d967caee4f8c32a64181148819e67c59f88e873ef57e2
3
  size 2239926172
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ffb37461c391f096759f4a9bbbc329da0f36952f88bab061fcf84940c022e98
3
+ size 17082999
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "extra_special_tokens": {},
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 512,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6461dddee52f8a40b3c434de67088a0b127eaaa42465dbe853edc5384d7140f
3
- size 5649
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ea749683995fb4ada4b1eac35bade205d12c358c36973f7d1fc24c4959dd3d
3
+ size 5905