Makkoen commited on
Commit
ec39f8a
·
verified ·
1 Parent(s): 17d6b4a

Model save

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: openai/whisper-medium.en
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - wer
8
+ model-index:
9
+ - name: whisper-medium.en-cit-do015-wd0-lr1e-06-SF-400
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # whisper-medium.en-cit-do015-wd0-lr1e-06-SF-400
17
+
18
+ This model is a fine-tuned version of [openai/whisper-medium.en](https://huggingface.co/openai/whisper-medium.en) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.7217
21
+ - Wer Ortho: 29.6283
22
+ - Wer: 19.5551
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 1e-06
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - distributed_type: multi-GPU
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 16
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 200
51
+ - training_steps: 500
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Wer Ortho | Wer |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:-------:|
58
+ | 1.6015 | 4.0 | 100 | 1.1045 | 41.2901 | 30.3911 |
59
+ | 0.8237 | 8.0 | 200 | 0.7959 | 31.3776 | 20.4880 |
60
+ | 0.5824 | 12.0 | 300 | 0.7417 | 29.7741 | 19.3757 |
61
+ | 0.4724 | 16.0 | 400 | 0.7256 | 29.5554 | 19.4474 |
62
+ | 0.4232 | 20.0 | 500 | 0.7217 | 29.6283 | 19.5551 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.44.0
68
+ - Pytorch 1.13.1+cu117
69
+ - Datasets 2.20.0
70
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -2,7 +2,7 @@
2
  "_name_or_path": "openai/whisper-medium.en",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
- "apply_spec_augment": true,
6
  "architectures": [
7
  "WhisperForConditionalGeneration"
8
  ],
@@ -19,7 +19,7 @@
19
  "decoder_layerdrop": 0.0,
20
  "decoder_layers": 24,
21
  "decoder_start_token_id": 50257,
22
- "dropout": 0.15,
23
  "encoder_attention_heads": 16,
24
  "encoder_ffn_dim": 4096,
25
  "encoder_layerdrop": 0.0,
 
2
  "_name_or_path": "openai/whisper-medium.en",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
  "architectures": [
7
  "WhisperForConditionalGeneration"
8
  ],
 
19
  "decoder_layerdrop": 0.0,
20
  "decoder_layers": 24,
21
  "decoder_start_token_id": 50257,
22
+ "dropout": 0,
23
  "encoder_attention_heads": 16,
24
  "encoder_ffn_dim": 4096,
25
  "encoder_layerdrop": 0.0,
generation_config.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 11,
5
+ 4
6
+ ],
7
+ [
8
+ 14,
9
+ 1
10
+ ],
11
+ [
12
+ 14,
13
+ 12
14
+ ],
15
+ [
16
+ 14,
17
+ 14
18
+ ],
19
+ [
20
+ 15,
21
+ 4
22
+ ],
23
+ [
24
+ 16,
25
+ 0
26
+ ],
27
+ [
28
+ 16,
29
+ 4
30
+ ],
31
+ [
32
+ 16,
33
+ 9
34
+ ],
35
+ [
36
+ 17,
37
+ 12
38
+ ],
39
+ [
40
+ 17,
41
+ 14
42
+ ],
43
+ [
44
+ 18,
45
+ 7
46
+ ],
47
+ [
48
+ 18,
49
+ 10
50
+ ],
51
+ [
52
+ 18,
53
+ 15
54
+ ],
55
+ [
56
+ 20,
57
+ 0
58
+ ],
59
+ [
60
+ 20,
61
+ 3
62
+ ],
63
+ [
64
+ 20,
65
+ 9
66
+ ],
67
+ [
68
+ 20,
69
+ 14
70
+ ],
71
+ [
72
+ 21,
73
+ 12
74
+ ]
75
+ ],
76
+ "begin_suppress_tokens": [
77
+ 220,
78
+ 50256
79
+ ],
80
+ "bos_token_id": 50257,
81
+ "decoder_start_token_id": 50257,
82
+ "eos_token_id": 50256,
83
+ "is_multilingual": false,
84
+ "max_initial_timestamp_index": 50,
85
+ "max_length": 448,
86
+ "no_timestamps_token_id": 50362,
87
+ "pad_token_id": 50256,
88
+ "prev_sot_token_id": 50360,
89
+ "return_timestamps": false,
90
+ "suppress_tokens": [
91
+ 1,
92
+ 2,
93
+ 7,
94
+ 8,
95
+ 9,
96
+ 10,
97
+ 14,
98
+ 25,
99
+ 26,
100
+ 27,
101
+ 28,
102
+ 29,
103
+ 31,
104
+ 58,
105
+ 59,
106
+ 60,
107
+ 61,
108
+ 62,
109
+ 63,
110
+ 90,
111
+ 91,
112
+ 92,
113
+ 93,
114
+ 357,
115
+ 366,
116
+ 438,
117
+ 532,
118
+ 685,
119
+ 705,
120
+ 796,
121
+ 930,
122
+ 1058,
123
+ 1220,
124
+ 1267,
125
+ 1279,
126
+ 1303,
127
+ 1343,
128
+ 1377,
129
+ 1391,
130
+ 1635,
131
+ 1782,
132
+ 1875,
133
+ 2162,
134
+ 2361,
135
+ 2488,
136
+ 3467,
137
+ 4008,
138
+ 4211,
139
+ 4600,
140
+ 4808,
141
+ 5299,
142
+ 5855,
143
+ 6329,
144
+ 7203,
145
+ 9609,
146
+ 9959,
147
+ 10563,
148
+ 10786,
149
+ 11420,
150
+ 11709,
151
+ 11907,
152
+ 13163,
153
+ 13697,
154
+ 13700,
155
+ 14808,
156
+ 15306,
157
+ 16410,
158
+ 16791,
159
+ 17992,
160
+ 19203,
161
+ 19510,
162
+ 20724,
163
+ 22305,
164
+ 22935,
165
+ 27007,
166
+ 30109,
167
+ 30420,
168
+ 33409,
169
+ 34949,
170
+ 40283,
171
+ 40493,
172
+ 40549,
173
+ 47282,
174
+ 49146,
175
+ 50257,
176
+ 50357,
177
+ 50358,
178
+ 50359,
179
+ 50360,
180
+ 50361
181
+ ],
182
+ "task": "transcribe",
183
+ "task_to_id": {
184
+ "transcribe": 50360,
185
+ "translate": 50359
186
+ },
187
+ "transformers_version": "4.44.0"
188
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19ab1077d35e82e1ba7a5275ed3d373f072c7e05e62a1678e96dac6f8a810546
3
  size 1634043280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a1dc496b29e889558d21f8ba3c4996bb24004693d95398a9d7aef05689dee9e
3
  size 1634043280
runs/Aug13_14-10-31_whisper-finetuning/events.out.tfevents.1723558248.whisper-finetuning CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d1ccb6c218bee9762cd8298ac73d67a2e1b9cd9b9029f8c4f80570f4fab9872
3
- size 9628
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2216e7fa08f3d09975dcccc63f628e534acf46c9766fc53c26e8ff0a5602f41
3
+ size 9982