galelka commited on
Commit
a567e78
1 Parent(s): 63f93f2

End of training

Browse files
Files changed (3) hide show
  1. README.md +87 -0
  2. generation_config.json +241 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ language:
4
+ - he
5
+ license: apache-2.0
6
+ base_model: openai/whisper-small
7
+ tags:
8
+ - generated_from_trainer
9
+ datasets:
10
+ - mozilla-foundation/common_voice_11_0
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: Common Voice 11.0
21
+ type: mozilla-foundation/common_voice_11_0
22
+ args: 'config: hi, split: test'
23
+ metrics:
24
+ - name: Wer
25
+ type: wer
26
+ value: 30.46731826511912
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 Common Voice 11.0 dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.5304
37
+ - Wer: 30.4673
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 1e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 32
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
+ - training_steps: 4000
66
+ - mixed_precision_training: Native AMP
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
71
+ |:-------------:|:-------:|:----:|:---------------:|:-------:|
72
+ | 0.3345 | 1.7778 | 500 | 0.4103 | 43.8302 |
73
+ | 0.1379 | 3.5556 | 1000 | 0.4276 | 37.6756 |
74
+ | 0.0612 | 5.3333 | 1500 | 0.4672 | 32.8039 |
75
+ | 0.0234 | 7.1111 | 2000 | 0.4806 | 32.9948 |
76
+ | 0.0167 | 8.8889 | 2500 | 0.4829 | 31.0247 |
77
+ | 0.0074 | 10.6667 | 3000 | 0.5092 | 34.4762 |
78
+ | 0.0023 | 12.4444 | 3500 | 0.5247 | 29.9786 |
79
+ | 0.0008 | 14.2222 | 4000 | 0.5304 | 30.4673 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.45.2
85
+ - Pytorch 2.4.1+cu121
86
+ - Datasets 3.0.1
87
+ - Tokenizers 0.20.1
generation_config.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 2,
5
+ 4
6
+ ],
7
+ [
8
+ 2,
9
+ 11
10
+ ],
11
+ [
12
+ 3,
13
+ 3
14
+ ],
15
+ [
16
+ 3,
17
+ 6
18
+ ],
19
+ [
20
+ 3,
21
+ 11
22
+ ],
23
+ [
24
+ 3,
25
+ 14
26
+ ]
27
+ ],
28
+ "begin_suppress_tokens": [
29
+ 220,
30
+ 50257
31
+ ],
32
+ "bos_token_id": 50257,
33
+ "decoder_start_token_id": 50258,
34
+ "eos_token_id": 50257,
35
+ "is_multilingual": true,
36
+ "lang_to_id": {
37
+ "<|af|>": 50327,
38
+ "<|am|>": 50334,
39
+ "<|ar|>": 50272,
40
+ "<|as|>": 50350,
41
+ "<|az|>": 50304,
42
+ "<|ba|>": 50355,
43
+ "<|be|>": 50330,
44
+ "<|bg|>": 50292,
45
+ "<|bn|>": 50302,
46
+ "<|bo|>": 50347,
47
+ "<|br|>": 50309,
48
+ "<|bs|>": 50315,
49
+ "<|ca|>": 50270,
50
+ "<|cs|>": 50283,
51
+ "<|cy|>": 50297,
52
+ "<|da|>": 50285,
53
+ "<|de|>": 50261,
54
+ "<|el|>": 50281,
55
+ "<|en|>": 50259,
56
+ "<|es|>": 50262,
57
+ "<|et|>": 50307,
58
+ "<|eu|>": 50310,
59
+ "<|fa|>": 50300,
60
+ "<|fi|>": 50277,
61
+ "<|fo|>": 50338,
62
+ "<|fr|>": 50265,
63
+ "<|gl|>": 50319,
64
+ "<|gu|>": 50333,
65
+ "<|haw|>": 50352,
66
+ "<|ha|>": 50354,
67
+ "<|he|>": 50279,
68
+ "<|hi|>": 50276,
69
+ "<|hr|>": 50291,
70
+ "<|ht|>": 50339,
71
+ "<|hu|>": 50286,
72
+ "<|hy|>": 50312,
73
+ "<|id|>": 50275,
74
+ "<|is|>": 50311,
75
+ "<|it|>": 50274,
76
+ "<|ja|>": 50266,
77
+ "<|jw|>": 50356,
78
+ "<|ka|>": 50329,
79
+ "<|kk|>": 50316,
80
+ "<|km|>": 50323,
81
+ "<|kn|>": 50306,
82
+ "<|ko|>": 50264,
83
+ "<|la|>": 50294,
84
+ "<|lb|>": 50345,
85
+ "<|ln|>": 50353,
86
+ "<|lo|>": 50336,
87
+ "<|lt|>": 50293,
88
+ "<|lv|>": 50301,
89
+ "<|mg|>": 50349,
90
+ "<|mi|>": 50295,
91
+ "<|mk|>": 50308,
92
+ "<|ml|>": 50296,
93
+ "<|mn|>": 50314,
94
+ "<|mr|>": 50320,
95
+ "<|ms|>": 50282,
96
+ "<|mt|>": 50343,
97
+ "<|my|>": 50346,
98
+ "<|ne|>": 50313,
99
+ "<|nl|>": 50271,
100
+ "<|nn|>": 50342,
101
+ "<|no|>": 50288,
102
+ "<|oc|>": 50328,
103
+ "<|pa|>": 50321,
104
+ "<|pl|>": 50269,
105
+ "<|ps|>": 50340,
106
+ "<|pt|>": 50267,
107
+ "<|ro|>": 50284,
108
+ "<|ru|>": 50263,
109
+ "<|sa|>": 50344,
110
+ "<|sd|>": 50332,
111
+ "<|si|>": 50322,
112
+ "<|sk|>": 50298,
113
+ "<|sl|>": 50305,
114
+ "<|sn|>": 50324,
115
+ "<|so|>": 50326,
116
+ "<|sq|>": 50317,
117
+ "<|sr|>": 50303,
118
+ "<|su|>": 50357,
119
+ "<|sv|>": 50273,
120
+ "<|sw|>": 50318,
121
+ "<|ta|>": 50287,
122
+ "<|te|>": 50299,
123
+ "<|tg|>": 50331,
124
+ "<|th|>": 50289,
125
+ "<|tk|>": 50341,
126
+ "<|tl|>": 50348,
127
+ "<|tr|>": 50268,
128
+ "<|tt|>": 50351,
129
+ "<|uk|>": 50280,
130
+ "<|ur|>": 50290,
131
+ "<|uz|>": 50337,
132
+ "<|vi|>": 50278,
133
+ "<|yi|>": 50335,
134
+ "<|yo|>": 50325,
135
+ "<|yue|>": 50358,
136
+ "<|zh|>": 50260
137
+ },
138
+ "language": "hebrew",
139
+ "max_initial_timestamp_index": 50,
140
+ "max_length": 448,
141
+ "no_timestamps_token_id": 50364,
142
+ "pad_token_id": 50257,
143
+ "prev_sot_token_id": 50362,
144
+ "return_timestamps": false,
145
+ "suppress_tokens": [
146
+ 1,
147
+ 2,
148
+ 7,
149
+ 8,
150
+ 9,
151
+ 10,
152
+ 14,
153
+ 25,
154
+ 26,
155
+ 27,
156
+ 28,
157
+ 29,
158
+ 31,
159
+ 58,
160
+ 59,
161
+ 60,
162
+ 61,
163
+ 62,
164
+ 63,
165
+ 90,
166
+ 91,
167
+ 92,
168
+ 93,
169
+ 359,
170
+ 503,
171
+ 522,
172
+ 542,
173
+ 873,
174
+ 893,
175
+ 902,
176
+ 918,
177
+ 922,
178
+ 931,
179
+ 1350,
180
+ 1853,
181
+ 1982,
182
+ 2460,
183
+ 2627,
184
+ 3246,
185
+ 3253,
186
+ 3268,
187
+ 3536,
188
+ 3846,
189
+ 3961,
190
+ 4183,
191
+ 4667,
192
+ 6585,
193
+ 6647,
194
+ 7273,
195
+ 9061,
196
+ 9383,
197
+ 10428,
198
+ 10929,
199
+ 11938,
200
+ 12033,
201
+ 12331,
202
+ 12562,
203
+ 13793,
204
+ 14157,
205
+ 14635,
206
+ 15265,
207
+ 15618,
208
+ 16553,
209
+ 16604,
210
+ 18362,
211
+ 18956,
212
+ 20075,
213
+ 21675,
214
+ 22520,
215
+ 26130,
216
+ 26161,
217
+ 26435,
218
+ 28279,
219
+ 29464,
220
+ 31650,
221
+ 32302,
222
+ 32470,
223
+ 36865,
224
+ 42863,
225
+ 47425,
226
+ 49870,
227
+ 50254,
228
+ 50258,
229
+ 50359,
230
+ 50360,
231
+ 50361,
232
+ 50362,
233
+ 50363
234
+ ],
235
+ "task": "transcribe",
236
+ "task_to_id": {
237
+ "transcribe": 50360,
238
+ "translate": 50359
239
+ },
240
+ "transformers_version": "4.45.2"
241
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef290463e6a15c7d8d4e7d5720d4aa89cbffcc538db306140848418bb4f8d4d8
3
  size 3235581408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acf213d058503f21bfa7626ba9364b8d4c55ba87f16385244775e16873a2561b
3
  size 3235581408