KasuleTrevor
commited on
Commit
•
71ccd7e
1
Parent(s):
1bb3472
End of training
Browse files- README.md +10 -8
- generation_config.json +2 -10
- model.safetensors +1 -1
README.md
CHANGED
@@ -11,7 +11,7 @@ datasets:
|
|
11 |
metrics:
|
12 |
- wer
|
13 |
model-index:
|
14 |
-
- name: Whisper Small
|
15 |
results:
|
16 |
- task:
|
17 |
name: Automatic Speech Recognition
|
@@ -23,18 +23,18 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Wer
|
25 |
type: wer
|
26 |
-
value:
|
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
|
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:
|
37 |
-
- Wer:
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -62,15 +62,17 @@ The following hyperparameters were used during training:
|
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_steps: 500
|
65 |
-
- num_epochs:
|
66 |
- mixed_precision_training: Native AMP
|
67 |
|
68 |
### Training results
|
69 |
|
70 |
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
71 |
|:-------------:|:-------:|:----:|:---------------:|:-------:|
|
72 |
-
| 0.
|
73 |
-
| 0.
|
|
|
|
|
74 |
|
75 |
|
76 |
### Framework versions
|
|
|
11 |
metrics:
|
12 |
- wer
|
13 |
model-index:
|
14 |
+
- name: Whisper Small
|
15 |
results:
|
16 |
- task:
|
17 |
name: Automatic Speech Recognition
|
|
|
23 |
metrics:
|
24 |
- name: Wer
|
25 |
type: wer
|
26 |
+
value: 37.234493658687015
|
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
|
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.0151
|
37 |
+
- Wer: 37.2345
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_steps: 500
|
65 |
+
- num_epochs: 40
|
66 |
- mixed_precision_training: Native AMP
|
67 |
|
68 |
### Training results
|
69 |
|
70 |
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
71 |
|:-------------:|:-------:|:----:|:---------------:|:-------:|
|
72 |
+
| 0.1977 | 8.1301 | 500 | 0.7429 | 41.9683 |
|
73 |
+
| 0.0059 | 16.2602 | 1000 | 0.9167 | 38.4064 |
|
74 |
+
| 0.001 | 24.3902 | 1500 | 0.9849 | 37.3501 |
|
75 |
+
| 0.0007 | 32.5203 | 2000 | 1.0151 | 37.2345 |
|
76 |
|
77 |
|
78 |
### Framework versions
|
generation_config.json
CHANGED
@@ -48,16 +48,6 @@
|
|
48 |
"bos_token_id": 50257,
|
49 |
"decoder_start_token_id": 50258,
|
50 |
"eos_token_id": 50257,
|
51 |
-
"forced_decoder_ids": [
|
52 |
-
[
|
53 |
-
1,
|
54 |
-
null
|
55 |
-
],
|
56 |
-
[
|
57 |
-
2,
|
58 |
-
50359
|
59 |
-
]
|
60 |
-
],
|
61 |
"is_multilingual": true,
|
62 |
"lang_to_id": {
|
63 |
"<|af|>": 50327,
|
@@ -160,6 +150,7 @@
|
|
160 |
"<|yo|>": 50325,
|
161 |
"<|zh|>": 50260
|
162 |
},
|
|
|
163 |
"max_initial_timestamp_index": 50,
|
164 |
"max_length": 448,
|
165 |
"no_timestamps_token_id": 50363,
|
@@ -256,6 +247,7 @@
|
|
256 |
50361,
|
257 |
50362
|
258 |
],
|
|
|
259 |
"task_to_id": {
|
260 |
"transcribe": 50359,
|
261 |
"translate": 50358
|
|
|
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,
|
|
|
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,
|
|
|
247 |
50361,
|
248 |
50362
|
249 |
],
|
250 |
+
"task": "transcribe",
|
251 |
"task_to_id": {
|
252 |
"transcribe": 50359,
|
253 |
"translate": 50358
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 966995080
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd3eef14dcb4e427a0b71fe7a92f40f71dc89c0f157471c2bd970487925446dd
|
3 |
size 966995080
|