idaracecilia
commited on
Commit
•
cb9f0e6
1
Parent(s):
498ff66
End of training
Browse files- README.md +84 -0
- generation_config.json +137 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- eng
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: openai/whisper-base.en
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- fyp
|
10 |
+
metrics:
|
11 |
+
- wer
|
12 |
+
model-index:
|
13 |
+
- name: Whisper Fine tuned Base
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Automatic Speech Recognition
|
17 |
+
type: automatic-speech-recognition
|
18 |
+
dataset:
|
19 |
+
name: Fyp Dataset
|
20 |
+
type: fyp
|
21 |
+
args: 'config: eng, split: test'
|
22 |
+
metrics:
|
23 |
+
- name: Wer
|
24 |
+
type: wer
|
25 |
+
value: 15.01856226797165
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# Whisper Fine tuned Base
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [openai/whisper-base.en](https://huggingface.co/openai/whisper-base.en) on the Fyp Dataset dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3550
|
36 |
+
- Wer: 15.0186
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 0.0001
|
56 |
+
- train_batch_size: 8
|
57 |
+
- eval_batch_size: 5
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 2
|
60 |
+
- total_train_batch_size: 16
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_steps: 2
|
64 |
+
- num_epochs: 3
|
65 |
+
- mixed_precision_training: Native AMP
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|
|
71 |
+
| 0.3123 | 0.5 | 25 | 0.4652 | 20.1147 |
|
72 |
+
| 0.3282 | 1.0 | 50 | 0.3655 | 16.2673 |
|
73 |
+
| 0.0376 | 1.5 | 75 | 0.3693 | 15.4573 |
|
74 |
+
| 0.0468 | 2.0 | 100 | 0.3754 | 20.2497 |
|
75 |
+
| 0.0067 | 2.5 | 125 | 0.3585 | 15.3898 |
|
76 |
+
| 0.0098 | 3.0 | 150 | 0.3550 | 15.0186 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.44.0
|
82 |
+
- Pytorch 2.3.1+cu121
|
83 |
+
- Datasets 2.21.0
|
84 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
3,
|
5 |
+
3
|
6 |
+
],
|
7 |
+
[
|
8 |
+
4,
|
9 |
+
7
|
10 |
+
],
|
11 |
+
[
|
12 |
+
5,
|
13 |
+
1
|
14 |
+
],
|
15 |
+
[
|
16 |
+
5,
|
17 |
+
5
|
18 |
+
],
|
19 |
+
[
|
20 |
+
5,
|
21 |
+
7
|
22 |
+
]
|
23 |
+
],
|
24 |
+
"begin_suppress_tokens": [
|
25 |
+
220,
|
26 |
+
50256
|
27 |
+
],
|
28 |
+
"bos_token_id": 50257,
|
29 |
+
"decoder_start_token_id": 50257,
|
30 |
+
"eos_token_id": 50256,
|
31 |
+
"forced_decoder_ids": [
|
32 |
+
[
|
33 |
+
1,
|
34 |
+
50362
|
35 |
+
]
|
36 |
+
],
|
37 |
+
"is_multilingual": false,
|
38 |
+
"max_initial_timestamp_index": 50,
|
39 |
+
"max_length": 448,
|
40 |
+
"no_timestamps_token_id": 50362,
|
41 |
+
"pad_token_id": 50256,
|
42 |
+
"prev_sot_token_id": 50360,
|
43 |
+
"return_timestamps": false,
|
44 |
+
"suppress_tokens": [
|
45 |
+
1,
|
46 |
+
2,
|
47 |
+
7,
|
48 |
+
8,
|
49 |
+
9,
|
50 |
+
10,
|
51 |
+
14,
|
52 |
+
25,
|
53 |
+
26,
|
54 |
+
27,
|
55 |
+
28,
|
56 |
+
29,
|
57 |
+
31,
|
58 |
+
58,
|
59 |
+
59,
|
60 |
+
60,
|
61 |
+
61,
|
62 |
+
62,
|
63 |
+
63,
|
64 |
+
90,
|
65 |
+
91,
|
66 |
+
92,
|
67 |
+
93,
|
68 |
+
357,
|
69 |
+
366,
|
70 |
+
438,
|
71 |
+
532,
|
72 |
+
685,
|
73 |
+
705,
|
74 |
+
796,
|
75 |
+
930,
|
76 |
+
1058,
|
77 |
+
1220,
|
78 |
+
1267,
|
79 |
+
1279,
|
80 |
+
1303,
|
81 |
+
1343,
|
82 |
+
1377,
|
83 |
+
1391,
|
84 |
+
1635,
|
85 |
+
1782,
|
86 |
+
1875,
|
87 |
+
2162,
|
88 |
+
2361,
|
89 |
+
2488,
|
90 |
+
3467,
|
91 |
+
4008,
|
92 |
+
4211,
|
93 |
+
4600,
|
94 |
+
4808,
|
95 |
+
5299,
|
96 |
+
5855,
|
97 |
+
6329,
|
98 |
+
7203,
|
99 |
+
9609,
|
100 |
+
9959,
|
101 |
+
10563,
|
102 |
+
10786,
|
103 |
+
11420,
|
104 |
+
11709,
|
105 |
+
11907,
|
106 |
+
13163,
|
107 |
+
13697,
|
108 |
+
13700,
|
109 |
+
14808,
|
110 |
+
15306,
|
111 |
+
16410,
|
112 |
+
16791,
|
113 |
+
17992,
|
114 |
+
19203,
|
115 |
+
19510,
|
116 |
+
20724,
|
117 |
+
22305,
|
118 |
+
22935,
|
119 |
+
27007,
|
120 |
+
30109,
|
121 |
+
30420,
|
122 |
+
33409,
|
123 |
+
34949,
|
124 |
+
40283,
|
125 |
+
40493,
|
126 |
+
40549,
|
127 |
+
47282,
|
128 |
+
49146,
|
129 |
+
50257,
|
130 |
+
50357,
|
131 |
+
50358,
|
132 |
+
50359,
|
133 |
+
50360,
|
134 |
+
50361
|
135 |
+
],
|
136 |
+
"transformers_version": "4.44.0"
|
137 |
+
}
|