KasuleTrevor commited on
Commit
11ba9ba
1 Parent(s): c183ad7

End of training

Browse files
Files changed (3) hide show
  1. README.md +167 -0
  2. generation_config.json +256 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ language:
4
+ - ln
5
+ license: apache-2.0
6
+ base_model: openai/whisper-small
7
+ tags:
8
+ - generated_from_trainer
9
+ datasets:
10
+ - DigitalUmuganda/AfriVoice
11
+ metrics:
12
+ - wer
13
+ model-index:
14
+ - name: Whisper Small Hi - Sanchit Gandhi
15
+ results:
16
+ - task:
17
+ name: Automatic Speech Recognition
18
+ type: automatic-speech-recognition
19
+ dataset:
20
+ name: AfriVoice
21
+ type: DigitalUmuganda/AfriVoice
22
+ args: 'config: sw, split: test'
23
+ metrics:
24
+ - name: Wer
25
+ type: wer
26
+ value: 0.34790486103080065
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # Whisper Small Hi - Sanchit Gandhi
33
+
34
+ This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the AfriVoice dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 1.1668
37
+ - Wer: 0.3479
38
+ - Cer: 0.1439
39
+
40
+ ## Model description
41
+
42
+ More information needed
43
+
44
+ ## Intended uses & limitations
45
+
46
+ More information needed
47
+
48
+ ## Training and evaluation data
49
+
50
+ More information needed
51
+
52
+ ## Training procedure
53
+
54
+ ### Training hyperparameters
55
+
56
+ The following hyperparameters were used during training:
57
+ - learning_rate: 3e-05
58
+ - train_batch_size: 16
59
+ - eval_batch_size: 16
60
+ - seed: 42
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 100
65
+ - mixed_precision_training: Native AMP
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
70
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
71
+ | 1.6425 | 1.0 | 123 | 1.0239 | 0.5476 | 0.2091 |
72
+ | 0.8057 | 2.0 | 246 | 0.7465 | 0.4388 | 0.1797 |
73
+ | 0.563 | 3.0 | 369 | 0.6723 | 0.3866 | 0.1537 |
74
+ | 0.4016 | 4.0 | 492 | 0.6578 | 0.3876 | 0.1594 |
75
+ | 0.2677 | 5.0 | 615 | 0.6799 | 0.3976 | 0.1730 |
76
+ | 0.1708 | 6.0 | 738 | 0.7148 | 0.3929 | 0.1585 |
77
+ | 0.1146 | 7.0 | 861 | 0.7365 | 0.3840 | 0.1574 |
78
+ | 0.0786 | 8.0 | 984 | 0.7790 | 0.3839 | 0.1555 |
79
+ | 0.0646 | 9.0 | 1107 | 0.8027 | 0.3846 | 0.1584 |
80
+ | 0.0587 | 10.0 | 1230 | 0.8323 | 0.3857 | 0.1589 |
81
+ | 0.0527 | 11.0 | 1353 | 0.8354 | 0.3870 | 0.1548 |
82
+ | 0.0442 | 12.0 | 1476 | 0.8494 | 0.3800 | 0.1554 |
83
+ | 0.0352 | 13.0 | 1599 | 0.8863 | 0.3957 | 0.1577 |
84
+ | 0.0317 | 14.0 | 1722 | 0.8744 | 0.4027 | 0.1716 |
85
+ | 0.0289 | 15.0 | 1845 | 0.8952 | 0.3723 | 0.1566 |
86
+ | 0.0249 | 16.0 | 1968 | 0.9174 | 0.3728 | 0.1513 |
87
+ | 0.022 | 17.0 | 2091 | 0.9266 | 0.3764 | 0.1608 |
88
+ | 0.0197 | 18.0 | 2214 | 0.9473 | 0.3840 | 0.1608 |
89
+ | 0.0182 | 19.0 | 2337 | 0.9502 | 0.3780 | 0.1549 |
90
+ | 0.0161 | 20.0 | 2460 | 0.9454 | 0.3731 | 0.1536 |
91
+ | 0.0139 | 21.0 | 2583 | 0.9579 | 0.3716 | 0.1557 |
92
+ | 0.0128 | 22.0 | 2706 | 0.9722 | 0.3658 | 0.1510 |
93
+ | 0.0107 | 23.0 | 2829 | 0.9775 | 0.3738 | 0.1585 |
94
+ | 0.0116 | 24.0 | 2952 | 0.9750 | 0.3721 | 0.1587 |
95
+ | 0.0118 | 25.0 | 3075 | 0.9746 | 0.3706 | 0.1584 |
96
+ | 0.0108 | 26.0 | 3198 | 1.0020 | 0.3743 | 0.1617 |
97
+ | 0.0092 | 27.0 | 3321 | 0.9905 | 0.3639 | 0.1531 |
98
+ | 0.0086 | 28.0 | 3444 | 1.0039 | 0.3683 | 0.1546 |
99
+ | 0.0092 | 29.0 | 3567 | 1.0071 | 0.3697 | 0.1557 |
100
+ | 0.0071 | 30.0 | 3690 | 1.0074 | 0.3656 | 0.1502 |
101
+ | 0.0049 | 31.0 | 3813 | 1.0162 | 0.3621 | 0.1558 |
102
+ | 0.0074 | 32.0 | 3936 | 1.0396 | 0.3667 | 0.1592 |
103
+ | 0.0057 | 33.0 | 4059 | 1.0447 | 0.3684 | 0.1592 |
104
+ | 0.005 | 34.0 | 4182 | 1.0465 | 0.3658 | 0.1541 |
105
+ | 0.0051 | 35.0 | 4305 | 1.0388 | 0.3662 | 0.1539 |
106
+ | 0.0061 | 36.0 | 4428 | 1.0512 | 0.3581 | 0.1470 |
107
+ | 0.005 | 37.0 | 4551 | 1.0480 | 0.3668 | 0.1552 |
108
+ | 0.005 | 38.0 | 4674 | 1.0476 | 0.3641 | 0.1558 |
109
+ | 0.0046 | 39.0 | 4797 | 1.0402 | 0.3656 | 0.1499 |
110
+ | 0.0028 | 40.0 | 4920 | 1.0726 | 0.3613 | 0.1481 |
111
+ | 0.0028 | 41.0 | 5043 | 1.0624 | 0.3575 | 0.1463 |
112
+ | 0.0018 | 42.0 | 5166 | 1.0882 | 0.3599 | 0.1510 |
113
+ | 0.0033 | 43.0 | 5289 | 1.0653 | 0.3594 | 0.1506 |
114
+ | 0.0042 | 44.0 | 5412 | 1.0725 | 0.3586 | 0.1494 |
115
+ | 0.0039 | 45.0 | 5535 | 1.0754 | 0.3610 | 0.1489 |
116
+ | 0.003 | 46.0 | 5658 | 1.0761 | 0.3682 | 0.1551 |
117
+ | 0.0026 | 47.0 | 5781 | 1.0815 | 0.3667 | 0.1561 |
118
+ | 0.0026 | 48.0 | 5904 | 1.0740 | 0.3676 | 0.1527 |
119
+ | 0.0026 | 49.0 | 6027 | 1.0762 | 0.3604 | 0.1501 |
120
+ | 0.0019 | 50.0 | 6150 | 1.1023 | 0.3563 | 0.1485 |
121
+ | 0.0016 | 51.0 | 6273 | 1.0775 | 0.3564 | 0.1475 |
122
+ | 0.0017 | 52.0 | 6396 | 1.0821 | 0.3535 | 0.1479 |
123
+ | 0.001 | 53.0 | 6519 | 1.0904 | 0.3523 | 0.1448 |
124
+ | 0.0005 | 54.0 | 6642 | 1.0975 | 0.3523 | 0.1453 |
125
+ | 0.0004 | 55.0 | 6765 | 1.1008 | 0.3503 | 0.1463 |
126
+ | 0.0003 | 56.0 | 6888 | 1.1026 | 0.3547 | 0.1493 |
127
+ | 0.0001 | 57.0 | 7011 | 1.1079 | 0.3510 | 0.1454 |
128
+ | 0.0001 | 58.0 | 7134 | 1.1128 | 0.3503 | 0.1449 |
129
+ | 0.0001 | 59.0 | 7257 | 1.1175 | 0.3501 | 0.1454 |
130
+ | 0.0001 | 60.0 | 7380 | 1.1217 | 0.3503 | 0.1448 |
131
+ | 0.0001 | 61.0 | 7503 | 1.1255 | 0.3506 | 0.1449 |
132
+ | 0.0 | 62.0 | 7626 | 1.1289 | 0.3499 | 0.1446 |
133
+ | 0.0 | 63.0 | 7749 | 1.1320 | 0.3501 | 0.1447 |
134
+ | 0.0 | 64.0 | 7872 | 1.1349 | 0.3493 | 0.1443 |
135
+ | 0.0 | 65.0 | 7995 | 1.1377 | 0.3491 | 0.1442 |
136
+ | 0.0 | 66.0 | 8118 | 1.1403 | 0.3490 | 0.1441 |
137
+ | 0.0 | 67.0 | 8241 | 1.1427 | 0.3486 | 0.1442 |
138
+ | 0.0 | 68.0 | 8364 | 1.1452 | 0.3486 | 0.1441 |
139
+ | 0.0 | 69.0 | 8487 | 1.1474 | 0.3489 | 0.1441 |
140
+ | 0.0 | 70.0 | 8610 | 1.1495 | 0.3490 | 0.1441 |
141
+ | 0.0 | 71.0 | 8733 | 1.1517 | 0.3485 | 0.1439 |
142
+ | 0.0 | 72.0 | 8856 | 1.1538 | 0.3484 | 0.1437 |
143
+ | 0.0 | 73.0 | 8979 | 1.1557 | 0.3483 | 0.1437 |
144
+ | 0.0 | 74.0 | 9102 | 1.1577 | 0.3483 | 0.1437 |
145
+ | 0.0 | 75.0 | 9225 | 1.1597 | 0.3483 | 0.1438 |
146
+ | 0.0 | 76.0 | 9348 | 1.1615 | 0.3483 | 0.1438 |
147
+ | 0.0 | 77.0 | 9471 | 1.1633 | 0.3484 | 0.1441 |
148
+ | 0.0 | 78.0 | 9594 | 1.1651 | 0.3482 | 0.1439 |
149
+ | 0.0 | 79.0 | 9717 | 1.1668 | 0.3479 | 0.1439 |
150
+ | 0.0 | 80.0 | 9840 | 1.1685 | 0.3480 | 0.1439 |
151
+ | 0.0 | 81.0 | 9963 | 1.1701 | 0.3481 | 0.1439 |
152
+ | 0.0 | 82.0 | 10086 | 1.1717 | 0.3480 | 0.1439 |
153
+ | 0.0 | 83.0 | 10209 | 1.1732 | 0.3486 | 0.1441 |
154
+ | 0.0 | 84.0 | 10332 | 1.1747 | 0.3485 | 0.1437 |
155
+ | 0.0 | 85.0 | 10455 | 1.1761 | 0.3489 | 0.1438 |
156
+ | 0.0 | 86.0 | 10578 | 1.1774 | 0.3489 | 0.1439 |
157
+ | 0.0 | 87.0 | 10701 | 1.1788 | 0.3489 | 0.1437 |
158
+ | 0.0 | 88.0 | 10824 | 1.1800 | 0.3490 | 0.1436 |
159
+ | 0.0 | 89.0 | 10947 | 1.1812 | 0.3491 | 0.1438 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - Transformers 4.44.2
165
+ - Pytorch 2.1.0+cu118
166
+ - Datasets 3.0.0
167
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 5,
5
+ 3
6
+ ],
7
+ [
8
+ 5,
9
+ 9
10
+ ],
11
+ [
12
+ 8,
13
+ 0
14
+ ],
15
+ [
16
+ 8,
17
+ 4
18
+ ],
19
+ [
20
+ 8,
21
+ 7
22
+ ],
23
+ [
24
+ 8,
25
+ 8
26
+ ],
27
+ [
28
+ 9,
29
+ 0
30
+ ],
31
+ [
32
+ 9,
33
+ 7
34
+ ],
35
+ [
36
+ 9,
37
+ 9
38
+ ],
39
+ [
40
+ 10,
41
+ 5
42
+ ]
43
+ ],
44
+ "begin_suppress_tokens": [
45
+ 220,
46
+ 50257
47
+ ],
48
+ "bos_token_id": 50257,
49
+ "decoder_start_token_id": 50258,
50
+ "eos_token_id": 50257,
51
+ "is_multilingual": true,
52
+ "lang_to_id": {
53
+ "<|af|>": 50327,
54
+ "<|am|>": 50334,
55
+ "<|ar|>": 50272,
56
+ "<|as|>": 50350,
57
+ "<|az|>": 50304,
58
+ "<|ba|>": 50355,
59
+ "<|be|>": 50330,
60
+ "<|bg|>": 50292,
61
+ "<|bn|>": 50302,
62
+ "<|bo|>": 50347,
63
+ "<|br|>": 50309,
64
+ "<|bs|>": 50315,
65
+ "<|ca|>": 50270,
66
+ "<|cs|>": 50283,
67
+ "<|cy|>": 50297,
68
+ "<|da|>": 50285,
69
+ "<|de|>": 50261,
70
+ "<|el|>": 50281,
71
+ "<|en|>": 50259,
72
+ "<|es|>": 50262,
73
+ "<|et|>": 50307,
74
+ "<|eu|>": 50310,
75
+ "<|fa|>": 50300,
76
+ "<|fi|>": 50277,
77
+ "<|fo|>": 50338,
78
+ "<|fr|>": 50265,
79
+ "<|gl|>": 50319,
80
+ "<|gu|>": 50333,
81
+ "<|haw|>": 50352,
82
+ "<|ha|>": 50354,
83
+ "<|he|>": 50279,
84
+ "<|hi|>": 50276,
85
+ "<|hr|>": 50291,
86
+ "<|ht|>": 50339,
87
+ "<|hu|>": 50286,
88
+ "<|hy|>": 50312,
89
+ "<|id|>": 50275,
90
+ "<|is|>": 50311,
91
+ "<|it|>": 50274,
92
+ "<|ja|>": 50266,
93
+ "<|jw|>": 50356,
94
+ "<|ka|>": 50329,
95
+ "<|kk|>": 50316,
96
+ "<|km|>": 50323,
97
+ "<|kn|>": 50306,
98
+ "<|ko|>": 50264,
99
+ "<|la|>": 50294,
100
+ "<|lb|>": 50345,
101
+ "<|ln|>": 50353,
102
+ "<|lo|>": 50336,
103
+ "<|lt|>": 50293,
104
+ "<|lv|>": 50301,
105
+ "<|mg|>": 50349,
106
+ "<|mi|>": 50295,
107
+ "<|mk|>": 50308,
108
+ "<|ml|>": 50296,
109
+ "<|mn|>": 50314,
110
+ "<|mr|>": 50320,
111
+ "<|ms|>": 50282,
112
+ "<|mt|>": 50343,
113
+ "<|my|>": 50346,
114
+ "<|ne|>": 50313,
115
+ "<|nl|>": 50271,
116
+ "<|nn|>": 50342,
117
+ "<|no|>": 50288,
118
+ "<|oc|>": 50328,
119
+ "<|pa|>": 50321,
120
+ "<|pl|>": 50269,
121
+ "<|ps|>": 50340,
122
+ "<|pt|>": 50267,
123
+ "<|ro|>": 50284,
124
+ "<|ru|>": 50263,
125
+ "<|sa|>": 50344,
126
+ "<|sd|>": 50332,
127
+ "<|si|>": 50322,
128
+ "<|sk|>": 50298,
129
+ "<|sl|>": 50305,
130
+ "<|sn|>": 50324,
131
+ "<|so|>": 50326,
132
+ "<|sq|>": 50317,
133
+ "<|sr|>": 50303,
134
+ "<|su|>": 50357,
135
+ "<|sv|>": 50273,
136
+ "<|sw|>": 50318,
137
+ "<|ta|>": 50287,
138
+ "<|te|>": 50299,
139
+ "<|tg|>": 50331,
140
+ "<|th|>": 50289,
141
+ "<|tk|>": 50341,
142
+ "<|tl|>": 50348,
143
+ "<|tr|>": 50268,
144
+ "<|tt|>": 50351,
145
+ "<|uk|>": 50280,
146
+ "<|ur|>": 50290,
147
+ "<|uz|>": 50337,
148
+ "<|vi|>": 50278,
149
+ "<|yi|>": 50335,
150
+ "<|yo|>": 50325,
151
+ "<|zh|>": 50260
152
+ },
153
+ "language": "lingala",
154
+ "max_initial_timestamp_index": 50,
155
+ "max_length": 448,
156
+ "no_timestamps_token_id": 50363,
157
+ "pad_token_id": 50257,
158
+ "prev_sot_token_id": 50361,
159
+ "return_timestamps": false,
160
+ "suppress_tokens": [
161
+ 1,
162
+ 2,
163
+ 7,
164
+ 8,
165
+ 9,
166
+ 10,
167
+ 14,
168
+ 25,
169
+ 26,
170
+ 27,
171
+ 28,
172
+ 29,
173
+ 31,
174
+ 58,
175
+ 59,
176
+ 60,
177
+ 61,
178
+ 62,
179
+ 63,
180
+ 90,
181
+ 91,
182
+ 92,
183
+ 93,
184
+ 359,
185
+ 503,
186
+ 522,
187
+ 542,
188
+ 873,
189
+ 893,
190
+ 902,
191
+ 918,
192
+ 922,
193
+ 931,
194
+ 1350,
195
+ 1853,
196
+ 1982,
197
+ 2460,
198
+ 2627,
199
+ 3246,
200
+ 3253,
201
+ 3268,
202
+ 3536,
203
+ 3846,
204
+ 3961,
205
+ 4183,
206
+ 4667,
207
+ 6585,
208
+ 6647,
209
+ 7273,
210
+ 9061,
211
+ 9383,
212
+ 10428,
213
+ 10929,
214
+ 11938,
215
+ 12033,
216
+ 12331,
217
+ 12562,
218
+ 13793,
219
+ 14157,
220
+ 14635,
221
+ 15265,
222
+ 15618,
223
+ 16553,
224
+ 16604,
225
+ 18362,
226
+ 18956,
227
+ 20075,
228
+ 21675,
229
+ 22520,
230
+ 26130,
231
+ 26161,
232
+ 26435,
233
+ 28279,
234
+ 29464,
235
+ 31650,
236
+ 32302,
237
+ 32470,
238
+ 36865,
239
+ 42863,
240
+ 47425,
241
+ 49870,
242
+ 50254,
243
+ 50258,
244
+ 50358,
245
+ 50359,
246
+ 50360,
247
+ 50361,
248
+ 50362
249
+ ],
250
+ "task": "transcribe",
251
+ "task_to_id": {
252
+ "transcribe": 50359,
253
+ "translate": 50358
254
+ },
255
+ "transformers_version": "4.44.2"
256
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b480f78882f592990f3a641c221a5eb19230db43d95f8b02d85013b6e4671462
3
  size 966995080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9719056e8dcbf177a7055e7688e456ab94f4b2716bb2085bed4793cdf838a6f0
3
  size 966995080