edmundchan70 commited on
Commit
d921588
1 Parent(s): 10ac693

Model save

Browse files
README.md CHANGED
@@ -1,86 +1,91 @@
1
- ---
2
- language:
3
- - zh
4
- license: apache-2.0
5
- base_model: openai/whisper-small
6
- tags:
7
- - generated_from_trainer
8
- datasets:
9
- - edmundchan70/Cantonese_fine_tune
10
- metrics:
11
- - wer
12
- model-index:
13
- - name: Whisper Small fine tune test - Edmund
14
- results:
15
- - task:
16
- name: Automatic Speech Recognition
17
- type: automatic-speech-recognition
18
- dataset:
19
- name: Preach_speech_finetuning
20
- type: edmundchan70/Cantonese_fine_tune
21
- args: 'config: chinese, split: test'
22
- metrics:
23
- - name: Wer
24
- type: wer
25
- value: 30.744849445324878
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 Small fine tune test - Edmund
32
-
33
- This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Preach_speech_finetuning dataset.
34
- It achieves the following results on the evaluation set:
35
- - Loss: 0.1941
36
- - Wer: 30.7448
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: 1.25e-05
56
- - train_batch_size: 16
57
- - eval_batch_size: 8
58
- - seed: 42
59
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
- - lr_scheduler_type: linear
61
- - lr_scheduler_warmup_ratio: 0.1
62
- - num_epochs: 10
63
- - mixed_precision_training: Native AMP
64
-
65
- ### Training results
66
-
67
- | Training Loss | Epoch | Step | Validation Loss | Wer |
68
- |:-------------:|:-----:|:----:|:---------------:|:-------:|
69
- | No log | 1.0 | 156 | 0.1469 | 22.1870 |
70
- | No log | 2.0 | 312 | 0.1667 | 27.2583 |
71
- | No log | 3.0 | 468 | 0.1770 | 27.7338 |
72
- | 0.0778 | 4.0 | 624 | 0.1847 | 29.7940 |
73
- | 0.0778 | 5.0 | 780 | 0.1970 | 30.4279 |
74
- | 0.0778 | 6.0 | 936 | 0.1845 | 29.7940 |
75
- | 0.0083 | 7.0 | 1092 | 0.1922 | 30.2694 |
76
- | 0.0083 | 8.0 | 1248 | 0.1926 | 29.6355 |
77
- | 0.0083 | 9.0 | 1404 | 0.1932 | 30.1109 |
78
- | 0.0009 | 10.0 | 1560 | 0.1941 | 30.7448 |
79
-
80
-
81
- ### Framework versions
82
-
83
- - Transformers 4.44.0
84
- - Pytorch 2.3.1+cu121
85
- - Datasets 2.21.0
86
- - Tokenizers 0.19.1
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: edmundchan70/Cantonese_finetune_whisper
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - audiofolder
8
+ metrics:
9
+ - wer
10
+ model-index:
11
+ - name: model_output
12
+ results:
13
+ - task:
14
+ name: Automatic Speech Recognition
15
+ type: automatic-speech-recognition
16
+ dataset:
17
+ name: audiofolder
18
+ type: audiofolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Wer
24
+ type: wer
25
+ value: 30.476190476190478
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
+ # model_output
32
+
33
+ This model is a fine-tuned version of [edmundchan70/Cantonese_finetune_whisper](https://huggingface.co/edmundchan70/Cantonese_finetune_whisper) on the audiofolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.1966
36
+ - Wer: 30.4762
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: 1.25e-05
56
+ - train_batch_size: 16
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 15
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
68
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|
69
+ | No log | 1.0 | 156 | 0.1196 | 17.1429 |
70
+ | No log | 2.0 | 312 | 0.1553 | 24.6032 |
71
+ | No log | 3.0 | 468 | 0.1655 | 26.5079 |
72
+ | 0.0806 | 4.0 | 624 | 0.1820 | 29.5238 |
73
+ | 0.0806 | 5.0 | 780 | 0.1792 | 30.1587 |
74
+ | 0.0806 | 6.0 | 936 | 0.1998 | 31.5873 |
75
+ | 0.0131 | 7.0 | 1092 | 0.1954 | 31.2698 |
76
+ | 0.0131 | 8.0 | 1248 | 0.1923 | 30.6349 |
77
+ | 0.0131 | 9.0 | 1404 | 0.1905 | 31.2698 |
78
+ | 0.0016 | 10.0 | 1560 | 0.1954 | 31.2698 |
79
+ | 0.0016 | 11.0 | 1716 | 0.1931 | 31.1111 |
80
+ | 0.0016 | 12.0 | 1872 | 0.1953 | 30.4762 |
81
+ | 0.0005 | 13.0 | 2028 | 0.1960 | 30.6349 |
82
+ | 0.0005 | 14.0 | 2184 | 0.1964 | 30.6349 |
83
+ | 0.0005 | 15.0 | 2340 | 0.1966 | 30.4762 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.44.0
89
+ - Pytorch 2.4.0+cu124
90
+ - Datasets 2.21.0
91
+ - Tokenizers 0.19.1
generation_config.json CHANGED
@@ -1,256 +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": "Chinese",
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.0"
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": "Chinese",
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.0"
256
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b681dae39488b007901f9e64dd458b169c79f9cc22a9e02caf77cec0edc74ec
3
  size 966995080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3d293f76772eefb310ed84e5ae92a13f5aac52581f2f97ff3b2d6ba36498859
3
  size 966995080
runs/Aug18_10-45-52_DESKTOP-7EFIMON/events.out.tfevents.1723992357.DESKTOP-7EFIMON.17688.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f80bf5d1aa913b42e49ca26b38cca2bbbb50667f34eac98eacb7a0a15af3b223
3
- size 12387
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff50c1448efa52772ddf2044ba4d21b8d51d07bce86502885968220b04a1dcb6
3
+ size 12741