Lakoc commited on
Commit
ea7acb7
1 Parent(s): de6b502

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn.snt.utt filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Lakoc/DeCRED_small_cv_2
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - common_voice_13_0
7
+ metrics:
8
+ - wer
9
+ model-index:
10
+ - name: DeCRED_linear_mixing_tuning
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
+ # DeCRED_linear_mixing_tuning
18
+
19
+ This model is a fine-tuned version of [Lakoc/DeCRED_small_cv_2](https://huggingface.co/Lakoc/DeCRED_small_cv_2) on the common_voice_13_0 dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.0590
22
+ - Cer: 0.0632
23
+ - Wer: 0.1471
24
+ - Mer: 0.1444
25
+ - Wil: 0.2408
26
+ - Wip: 0.7592
27
+ - Hits: 23158
28
+ - Substitutions: 2931
29
+ - Deletions: 484
30
+ - Insertions: 494
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 0.05
50
+ - train_batch_size: 256
51
+ - eval_batch_size: 64
52
+ - seed: 42
53
+ - distributed_type: multi-GPU
54
+ - gradient_accumulation_steps: 4
55
+ - total_train_batch_size: 1024
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 50.0
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Cer | Wer | Mer | Wil | Wip | Hits | Substitutions | Deletions | Insertions |
63
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:------:|:------:|:-----:|:-------------:|:---------:|:----------:|
64
+ | 1.185 | 2.67 | 20 | 1.1215 | 0.0646 | 0.1520 | 0.1492 | 0.2479 | 0.7521 | 23030 | 3013 | 530 | 496 |
65
+ | 1.0639 | 5.33 | 40 | 1.0717 | 0.0634 | 0.1480 | 0.1453 | 0.2420 | 0.7580 | 23124 | 2939 | 510 | 483 |
66
+ | 1.0957 | 8.0 | 60 | 1.0612 | 0.0628 | 0.1464 | 0.1438 | 0.2402 | 0.7598 | 23162 | 2929 | 482 | 480 |
67
+ | 1.0936 | 10.67 | 80 | 1.0595 | 0.0631 | 0.1469 | 0.1442 | 0.2407 | 0.7593 | 23158 | 2934 | 481 | 488 |
68
+ | 1.0804 | 13.33 | 100 | 1.0591 | 0.0630 | 0.1468 | 0.1441 | 0.2405 | 0.7595 | 23164 | 2929 | 480 | 492 |
69
+ | 1.1044 | 16.0 | 120 | 1.0591 | 0.0631 | 0.1469 | 0.1442 | 0.2405 | 0.7595 | 23162 | 2929 | 482 | 492 |
70
+ | 1.0836 | 18.67 | 140 | 1.0589 | 0.0631 | 0.1468 | 0.1442 | 0.2405 | 0.7595 | 23163 | 2929 | 481 | 492 |
71
+ | 1.0924 | 21.33 | 160 | 1.0590 | 0.0632 | 0.1471 | 0.1444 | 0.2408 | 0.7592 | 23158 | 2931 | 484 | 494 |
72
+ | 1.1048 | 24.0 | 180 | 1.0590 | 0.0632 | 0.1471 | 0.1444 | 0.2408 | 0.7592 | 23158 | 2931 | 484 | 494 |
73
+ | 1.0858 | 26.67 | 200 | 1.0589 | 0.0631 | 0.1470 | 0.1443 | 0.2407 | 0.7593 | 23160 | 2929 | 484 | 494 |
74
+ | 1.0953 | 29.33 | 220 | 1.0589 | 0.0631 | 0.1468 | 0.1442 | 0.2405 | 0.7595 | 23163 | 2929 | 481 | 492 |
75
+ | 1.1308 | 32.0 | 240 | 1.0590 | 0.0632 | 0.1471 | 0.1444 | 0.2408 | 0.7592 | 23158 | 2931 | 484 | 494 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.40.0.dev0
81
+ - Pytorch 2.2.0+rocm5.6
82
+ - Datasets 2.18.0
83
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Lakoc/DeCRED_small_cv_2",
3
+ "architectures": [
4
+ "JointCTCAttentionEncoderDecoder"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "ctc_weight": 0.3,
8
+ "decoder": {
9
+ "_name_or_path": "Lakoc/gpt2_256h_6l_add_head3_04",
10
+ "activation_function": "gelu_new",
11
+ "add_cross_attention": true,
12
+ "architectures": null,
13
+ "attn_pdrop": 0.1,
14
+ "average_logits": false,
15
+ "bad_words_ids": null,
16
+ "begin_suppress_tokens": null,
17
+ "bos_token_id": 0,
18
+ "chunk_size_feed_forward": 0,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": null,
21
+ "diversity_penalty": 0.0,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "embd_pdrop": 0.1,
25
+ "encoder_no_repeat_ngram_size": 0,
26
+ "eos_token_id": 1,
27
+ "exponential_decay_length_penalty": null,
28
+ "finetuning_task": null,
29
+ "forced_bos_token_id": null,
30
+ "forced_eos_token_id": null,
31
+ "head_locations": [
32
+ 3
33
+ ],
34
+ "head_weights": [
35
+ 0.6,
36
+ 0.4
37
+ ],
38
+ "id2label": {
39
+ "0": "LABEL_0",
40
+ "1": "LABEL_1"
41
+ },
42
+ "initializer_range": 0.02,
43
+ "is_decoder": true,
44
+ "is_encoder_decoder": false,
45
+ "label2id": {
46
+ "LABEL_0": 0,
47
+ "LABEL_1": 1
48
+ },
49
+ "layer_norm_epsilon": 1e-05,
50
+ "length_penalty": 1.0,
51
+ "max_length": 20,
52
+ "min_length": 0,
53
+ "model_type": "gpt2-multi-head",
54
+ "n_embd": 256,
55
+ "n_head": 4,
56
+ "n_inner": 2048,
57
+ "n_layer": 6,
58
+ "n_positions": 1024,
59
+ "no_repeat_ngram_size": 0,
60
+ "num_beam_groups": 1,
61
+ "num_beams": 1,
62
+ "num_return_sequences": 1,
63
+ "output_attentions": false,
64
+ "output_hidden_states": false,
65
+ "output_scores": false,
66
+ "pad_token_id": null,
67
+ "pos_emb_fixed": true,
68
+ "prefix": null,
69
+ "problem_type": null,
70
+ "pruned_heads": {},
71
+ "remove_invalid_values": false,
72
+ "reorder_and_upcast_attn": false,
73
+ "repetition_penalty": 1.0,
74
+ "resid_pdrop": 0.1,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "scale_attn_by_inverse_layer_idx": false,
78
+ "scale_attn_weights": true,
79
+ "sep_token_id": null,
80
+ "summary_activation": null,
81
+ "summary_first_dropout": 0.1,
82
+ "summary_proj_to_labels": true,
83
+ "summary_type": "cls_index",
84
+ "summary_use_proj": true,
85
+ "suppress_tokens": null,
86
+ "task_specific_params": null,
87
+ "temperature": 1.0,
88
+ "tf_legacy_loss": false,
89
+ "tie_additional_weights": false,
90
+ "tie_encoder_decoder": false,
91
+ "tie_word_embeddings": false,
92
+ "tokenizer_class": null,
93
+ "top_k": 50,
94
+ "top_p": 1.0,
95
+ "torch_dtype": null,
96
+ "torchscript": false,
97
+ "typical_p": 1.0,
98
+ "use_bfloat16": false,
99
+ "use_cache": true,
100
+ "vocab_size": 1000
101
+ },
102
+ "decoder_start_token_id": 0,
103
+ "encoder": {
104
+ "_name_or_path": "Lakoc/fisher_ebranchformer_enc_12_layers_fixed",
105
+ "activation_dropout": 0.1,
106
+ "adapter_attn_dim": null,
107
+ "adapter_kernel_size": 3,
108
+ "adapter_stride": 2,
109
+ "add_adapter": false,
110
+ "add_cross_attention": false,
111
+ "apply_spec_augment": false,
112
+ "architectures": null,
113
+ "attention_dropout": 0.1,
114
+ "bad_words_ids": null,
115
+ "begin_suppress_tokens": null,
116
+ "bos_token_id": 1,
117
+ "chunk_size_feed_forward": 0,
118
+ "classifier_proj_size": 256,
119
+ "codevector_dim": 256,
120
+ "conformer_conv_dropout": 0.1,
121
+ "contrastive_logits_temperature": 0.1,
122
+ "conv_bias": false,
123
+ "conv_depthwise_kernel_size": 31,
124
+ "conv_dim": [
125
+ 256,
126
+ 256
127
+ ],
128
+ "conv_kernel": [
129
+ 3,
130
+ 3
131
+ ],
132
+ "conv_padding": [
133
+ 1,
134
+ 1
135
+ ],
136
+ "conv_stride": [
137
+ 2,
138
+ 2
139
+ ],
140
+ "cross_attention_hidden_size": null,
141
+ "csgu_activation": "identity",
142
+ "csgu_conv_dropout": 0.1,
143
+ "csgu_kernel_size": 31,
144
+ "csgu_use_linear_after_conv": false,
145
+ "ctc_loss_reduction": "mean",
146
+ "ctc_zero_infinity": true,
147
+ "decoder_start_token_id": null,
148
+ "diversity_loss_weight": 0.1,
149
+ "diversity_penalty": 0.0,
150
+ "do_sample": false,
151
+ "do_stable_layer_norm": false,
152
+ "early_stopping": false,
153
+ "encoder_no_repeat_ngram_size": 0,
154
+ "eos_token_id": 2,
155
+ "exponential_decay_length_penalty": null,
156
+ "fe_position_embeddings": false,
157
+ "feat_extract_activation": "gelu",
158
+ "feat_extract_norm": "group",
159
+ "feat_proj_dropout": 0.0,
160
+ "feat_quantizer_dropout": 0.0,
161
+ "final_dropout": 0.1,
162
+ "finetuning_task": null,
163
+ "forced_bos_token_id": null,
164
+ "forced_eos_token_id": null,
165
+ "hidden_act": "gelu",
166
+ "hidden_dropout": 0.1,
167
+ "hidden_size": 256,
168
+ "id2label": {
169
+ "0": "LABEL_0",
170
+ "1": "LABEL_1"
171
+ },
172
+ "initializer_range": 0.02,
173
+ "intermediate_size": 1024,
174
+ "is_causal": false,
175
+ "is_decoder": false,
176
+ "is_encoder_decoder": false,
177
+ "label2id": {
178
+ "LABEL_0": 0,
179
+ "LABEL_1": 1
180
+ },
181
+ "layer_norm_eps": 1e-05,
182
+ "layerdrop": 0.0,
183
+ "length_penalty": 1.0,
184
+ "mask_feature_length": 10,
185
+ "mask_feature_min_masks": 0,
186
+ "mask_feature_prob": 0.0,
187
+ "mask_time_length": 10,
188
+ "mask_time_min_masks": 2,
189
+ "mask_time_prob": 0.05,
190
+ "max_length": 20,
191
+ "max_source_positions": 1024,
192
+ "merge_conv_kernel": 31,
193
+ "min_length": 0,
194
+ "model_type": "wav2vec2-ebranchformer",
195
+ "no_repeat_ngram_size": 0,
196
+ "num_adapter_layers": 3,
197
+ "num_attention_heads": 4,
198
+ "num_beam_groups": 1,
199
+ "num_beams": 1,
200
+ "num_codevector_groups": 2,
201
+ "num_codevectors_per_group": 320,
202
+ "num_conv_pos_embedding_groups": 16,
203
+ "num_conv_pos_embeddings": 128,
204
+ "num_fbanks": 80,
205
+ "num_feat_extract_layers": 2,
206
+ "num_hidden_layers": 12,
207
+ "num_mel_bins": 80,
208
+ "num_negatives": 100,
209
+ "num_return_sequences": 1,
210
+ "output_attentions": false,
211
+ "output_hidden_size": 256,
212
+ "output_hidden_states": false,
213
+ "output_scores": false,
214
+ "pad_token_id": 3,
215
+ "position_embeddings_type": "relative",
216
+ "prefix": null,
217
+ "problem_type": null,
218
+ "proj_codevector_dim": 256,
219
+ "pruned_heads": {},
220
+ "remove_invalid_values": false,
221
+ "repetition_penalty": 1.0,
222
+ "return_dict": true,
223
+ "return_dict_in_generate": false,
224
+ "rotary_embedding_base": 10000,
225
+ "sep_token_id": null,
226
+ "suppress_tokens": null,
227
+ "task_specific_params": null,
228
+ "tdnn_dilation": [
229
+ 1,
230
+ 2,
231
+ 3,
232
+ 1,
233
+ 1
234
+ ],
235
+ "tdnn_dim": [
236
+ 512,
237
+ 512,
238
+ 512,
239
+ 512,
240
+ 1500
241
+ ],
242
+ "tdnn_kernel": [
243
+ 5,
244
+ 3,
245
+ 3,
246
+ 1,
247
+ 1
248
+ ],
249
+ "temperature": 1.0,
250
+ "tf_legacy_loss": false,
251
+ "tie_encoder_decoder": false,
252
+ "tie_word_embeddings": true,
253
+ "tokenizer_class": null,
254
+ "top_k": 50,
255
+ "top_p": 1.0,
256
+ "torch_dtype": null,
257
+ "torchscript": false,
258
+ "typical_p": 1.0,
259
+ "use_bfloat16": false,
260
+ "use_fbanks": true,
261
+ "use_macaron_ff": true,
262
+ "use_weighted_layer_sum": false,
263
+ "vocab_size": 1000,
264
+ "xvector_output_dim": 512
265
+ },
266
+ "eos_token_id": 1,
267
+ "is_encoder_decoder": true,
268
+ "lsm_factor": 0.1,
269
+ "mask_token_id": 4,
270
+ "model_type": "joint_aed_ctc_speech-encoder-decoder",
271
+ "pad_token_id": 3,
272
+ "shared_lm_head": false,
273
+ "tie_word_embeddings": false,
274
+ "torch_dtype": "float32",
275
+ "transformers_version": "4.40.0.dev0"
276
+ }
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "apply_eos_space_trick": false,
3
+ "bos_token_id": 0,
4
+ "ctc_margin": 0,
5
+ "ctc_weight": 0.0,
6
+ "decoder_start_token_id": 0,
7
+ "eos_space_trick_weight": 0.0,
8
+ "eos_token_id": 1,
9
+ "lm_model": null,
10
+ "lm_weight": 0.0,
11
+ "max_length": 512,
12
+ "pad_token_id": 3,
13
+ "space_token_id": -1,
14
+ "transformers_version": "4.40.0.dev0"
15
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d38c60c905689cd2eb72d6225b6037af9e159ba63b6684421cdc867bd21ce74
3
+ size 144243304
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46.csv ADDED
The diff for this file is too large to render. See raw diff
 
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn ADDED
The diff for this file is too large to render. See raw diff
 
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn.dtl ADDED
The diff for this file is too large to render. See raw diff
 
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn.snt.utt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f90be3dde6e2a07d762777ce7503e51592a2400ef55baa2c15c3e70b36d12798
3
+ size 11431046
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn.sys ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+ SYSTEM SUMMARY PERCENTAGES by SPEAKER
5
+
6
+ ,-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
7
+ |/scratch/project_465000836/ipoloka/huggingface_asr/experiments/decred/commonvoice/DeCRED_linear_mixing_tuning/predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_hyp.trn|
8
+ |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
9
+ | SPKR | # Snt # Wrd | Corr Sub Del Ins Err S.Err |
10
+ |--------------------+-------------------------------------------+--------------------------------------------------------------------------------------------------------------------|
11
+ | utt | 16365 144023 | 83.2 14.2 2.6 2.7 19.5 63.1 |
12
+ |=====================================================================================================================================================================================|
13
+ | Sum/Avg | 16365 144023 | 83.2 14.2 2.6 2.7 19.5 63.1 |
14
+ |=====================================================================================================================================================================================|
15
+ | Mean | 16365.0 144023.0 | 83.2 14.2 2.6 2.7 19.5 63.1 |
16
+ | S.D. | 0.0 0.0 | 0.0 0.0 0.0 0.0 0.0 0.0 |
17
+ | Median | 16365.0 144023.0 | 83.2 14.2 2.6 2.7 19.5 63.1 |
18
+ `-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'
predictions_common_voice_13_en_common_voice_13_en_test_wer19.46_ref.trn ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d149e7d20e1596cfcc0fbf07335f4e8275568f7a342982420a9e80721de1adb
3
+ size 5688