sulaimank commited on
Commit
4f49d4b
·
verified ·
1 Parent(s): 8145e7d

End of training

Browse files
Files changed (2) hide show
  1. README.md +98 -195
  2. generation_config.json +253 -0
README.md CHANGED
@@ -1,199 +1,102 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
1
  ---
2
  library_name: transformers
3
+ license: apache-2.0
4
+ base_model: openai/whisper-small
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - wer
9
+ model-index:
10
+ - name: whisper-small-lg-CV-v4
11
+ results: []
12
  ---
13
 
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # whisper-small-lg-CV-v4
18
+
19
+ This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4866
22
+ - Wer: 0.1829
23
+ - Cer: 0.0436
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 1e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 4
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 16
48
+ - optimizer: Use adamw_hf with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 80
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
57
+ |:-------------:|:-----:|:------:|:---------------:|:------:|:------:|
58
+ | 1.545 | 1.0 | 4442 | 0.5612 | 0.8131 | 0.3503 |
59
+ | 0.4678 | 2.0 | 8884 | 0.3652 | 0.8879 | 0.3107 |
60
+ | 0.3088 | 3.0 | 13326 | 0.3027 | 0.5332 | 0.1688 |
61
+ | 0.2227 | 4.0 | 17768 | 0.2697 | 0.5612 | 0.2191 |
62
+ | 0.1615 | 5.0 | 22210 | 0.2638 | 0.2890 | 0.0834 |
63
+ | 0.1138 | 6.0 | 26652 | 0.2823 | 0.3445 | 0.1247 |
64
+ | 0.0783 | 7.0 | 31094 | 0.2914 | 0.2683 | 0.0754 |
65
+ | 0.0554 | 8.0 | 35536 | 0.3115 | 0.2488 | 0.0658 |
66
+ | 0.0396 | 9.0 | 39978 | 0.3147 | 0.2329 | 0.0524 |
67
+ | 0.0279 | 10.0 | 44420 | 0.3267 | 0.2213 | 0.0499 |
68
+ | 0.0207 | 11.0 | 48862 | 0.3438 | 0.2167 | 0.0494 |
69
+ | 0.0167 | 12.0 | 53304 | 0.3460 | 0.2090 | 0.0449 |
70
+ | 0.0138 | 13.0 | 57746 | 0.3553 | 0.2043 | 0.0447 |
71
+ | 0.0118 | 14.0 | 62188 | 0.3806 | 0.2167 | 0.0486 |
72
+ | 0.0101 | 15.0 | 66630 | 0.3755 | 0.2066 | 0.0463 |
73
+ | 0.0089 | 16.0 | 71072 | 0.3849 | 0.2045 | 0.0450 |
74
+ | 0.0079 | 17.0 | 75514 | 0.3918 | 0.1974 | 0.0447 |
75
+ | 0.0071 | 18.0 | 79956 | 0.3998 | 0.1968 | 0.0435 |
76
+ | 0.0064 | 19.0 | 84398 | 0.4117 | 0.2016 | 0.0442 |
77
+ | 0.0059 | 20.0 | 88840 | 0.4077 | 0.1985 | 0.0443 |
78
+ | 0.0052 | 21.0 | 93282 | 0.4198 | 0.1976 | 0.0434 |
79
+ | 0.005 | 22.0 | 97724 | 0.4248 | 0.1964 | 0.0427 |
80
+ | 0.0044 | 23.0 | 102166 | 0.4303 | 0.1964 | 0.0445 |
81
+ | 0.0038 | 24.0 | 106608 | 0.4429 | 0.1970 | 0.0439 |
82
+ | 0.0036 | 25.0 | 111050 | 0.4448 | 0.2014 | 0.0463 |
83
+ | 0.0035 | 26.0 | 115492 | 0.4585 | 0.1952 | 0.0435 |
84
+ | 0.003 | 27.0 | 119934 | 0.4450 | 0.1836 | 0.0404 |
85
+ | 0.003 | 28.0 | 124376 | 0.4620 | 0.1869 | 0.0409 |
86
+ | 0.0028 | 29.0 | 128818 | 0.4665 | 0.1885 | 0.0401 |
87
+ | 0.0026 | 30.0 | 133260 | 0.4837 | 0.1937 | 0.0440 |
88
+ | 0.0024 | 31.0 | 137702 | 0.4758 | 0.1850 | 0.0399 |
89
+ | 0.0023 | 32.0 | 142144 | 0.4879 | 0.1891 | 0.0418 |
90
+ | 0.0021 | 33.0 | 146586 | 0.4674 | 0.1883 | 0.0414 |
91
+ | 0.0019 | 34.0 | 151028 | 0.4782 | 0.1852 | 0.0413 |
92
+ | 0.0018 | 35.0 | 155470 | 0.4834 | 0.1840 | 0.0411 |
93
+ | 0.0016 | 36.0 | 159912 | 0.4990 | 0.1912 | 0.0428 |
94
+ | 0.0017 | 37.0 | 164354 | 0.4866 | 0.1829 | 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 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
+ "max_initial_timestamp_index": 50,
154
+ "max_length": 448,
155
+ "no_timestamps_token_id": 50363,
156
+ "pad_token_id": 50257,
157
+ "prev_sot_token_id": 50361,
158
+ "return_timestamps": false,
159
+ "suppress_tokens": [
160
+ 1,
161
+ 2,
162
+ 7,
163
+ 8,
164
+ 9,
165
+ 10,
166
+ 14,
167
+ 25,
168
+ 26,
169
+ 27,
170
+ 28,
171
+ 29,
172
+ 31,
173
+ 58,
174
+ 59,
175
+ 60,
176
+ 61,
177
+ 62,
178
+ 63,
179
+ 90,
180
+ 91,
181
+ 92,
182
+ 93,
183
+ 359,
184
+ 503,
185
+ 522,
186
+ 542,
187
+ 873,
188
+ 893,
189
+ 902,
190
+ 918,
191
+ 922,
192
+ 931,
193
+ 1350,
194
+ 1853,
195
+ 1982,
196
+ 2460,
197
+ 2627,
198
+ 3246,
199
+ 3253,
200
+ 3268,
201
+ 3536,
202
+ 3846,
203
+ 3961,
204
+ 4183,
205
+ 4667,
206
+ 6585,
207
+ 6647,
208
+ 7273,
209
+ 9061,
210
+ 9383,
211
+ 10428,
212
+ 10929,
213
+ 11938,
214
+ 12033,
215
+ 12331,
216
+ 12562,
217
+ 13793,
218
+ 14157,
219
+ 14635,
220
+ 15265,
221
+ 15618,
222
+ 16553,
223
+ 16604,
224
+ 18362,
225
+ 18956,
226
+ 20075,
227
+ 21675,
228
+ 22520,
229
+ 26130,
230
+ 26161,
231
+ 26435,
232
+ 28279,
233
+ 29464,
234
+ 31650,
235
+ 32302,
236
+ 32470,
237
+ 36865,
238
+ 42863,
239
+ 47425,
240
+ 49870,
241
+ 50254,
242
+ 50258,
243
+ 50360,
244
+ 50361,
245
+ 50362
246
+ ],
247
+ "task": "transcribe",
248
+ "task_to_id": {
249
+ "transcribe": 50359,
250
+ "translate": 50358
251
+ },
252
+ "transformers_version": "4.47.0"
253
+ }