Upload 9 files
Browse files- config.json +52 -0
- generation_config.json +188 -0
- optimizer.pt +3 -0
- preprocessor_config.json +14 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +97 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
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 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"begin_suppress_tokens": [
|
11 |
+
220,
|
12 |
+
50256
|
13 |
+
],
|
14 |
+
"bos_token_id": 50257,
|
15 |
+
"classifier_proj_size": 256,
|
16 |
+
"d_model": 1024,
|
17 |
+
"decoder_attention_heads": 16,
|
18 |
+
"decoder_ffn_dim": 4096,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 24,
|
21 |
+
"decoder_start_token_id": 50257,
|
22 |
+
"dropout": 0.0,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_ffn_dim": 4096,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 24,
|
27 |
+
"eos_token_id": 50256,
|
28 |
+
"forced_decoder_ids": null,
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 10,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.0,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.05,
|
37 |
+
"max_length": 448,
|
38 |
+
"max_source_positions": 1500,
|
39 |
+
"max_target_positions": 448,
|
40 |
+
"median_filter_width": 7,
|
41 |
+
"model_type": "whisper",
|
42 |
+
"num_hidden_layers": 24,
|
43 |
+
"num_mel_bins": 80,
|
44 |
+
"pad_token_id": 50256,
|
45 |
+
"scale_embedding": false,
|
46 |
+
"suppress_tokens": [],
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.32.1",
|
49 |
+
"use_cache": false,
|
50 |
+
"use_weighted_layer_sum": false,
|
51 |
+
"vocab_size": 51864
|
52 |
+
}
|
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 |
+
"forced_decoder_ids": [
|
84 |
+
[
|
85 |
+
1,
|
86 |
+
50362
|
87 |
+
]
|
88 |
+
],
|
89 |
+
"is_multilingual": false,
|
90 |
+
"max_initial_timestamp_index": 1,
|
91 |
+
"max_length": 448,
|
92 |
+
"no_timestamps_token_id": 50362,
|
93 |
+
"pad_token_id": 50256,
|
94 |
+
"return_timestamps": false,
|
95 |
+
"suppress_tokens": [
|
96 |
+
1,
|
97 |
+
2,
|
98 |
+
7,
|
99 |
+
8,
|
100 |
+
9,
|
101 |
+
10,
|
102 |
+
14,
|
103 |
+
25,
|
104 |
+
26,
|
105 |
+
27,
|
106 |
+
28,
|
107 |
+
29,
|
108 |
+
31,
|
109 |
+
58,
|
110 |
+
59,
|
111 |
+
60,
|
112 |
+
61,
|
113 |
+
62,
|
114 |
+
63,
|
115 |
+
90,
|
116 |
+
91,
|
117 |
+
92,
|
118 |
+
93,
|
119 |
+
357,
|
120 |
+
366,
|
121 |
+
438,
|
122 |
+
532,
|
123 |
+
685,
|
124 |
+
705,
|
125 |
+
796,
|
126 |
+
930,
|
127 |
+
1058,
|
128 |
+
1220,
|
129 |
+
1267,
|
130 |
+
1279,
|
131 |
+
1303,
|
132 |
+
1343,
|
133 |
+
1377,
|
134 |
+
1391,
|
135 |
+
1635,
|
136 |
+
1782,
|
137 |
+
1875,
|
138 |
+
2162,
|
139 |
+
2361,
|
140 |
+
2488,
|
141 |
+
3467,
|
142 |
+
4008,
|
143 |
+
4211,
|
144 |
+
4600,
|
145 |
+
4808,
|
146 |
+
5299,
|
147 |
+
5855,
|
148 |
+
6329,
|
149 |
+
7203,
|
150 |
+
9609,
|
151 |
+
9959,
|
152 |
+
10563,
|
153 |
+
10786,
|
154 |
+
11420,
|
155 |
+
11709,
|
156 |
+
11907,
|
157 |
+
13163,
|
158 |
+
13697,
|
159 |
+
13700,
|
160 |
+
14808,
|
161 |
+
15306,
|
162 |
+
16410,
|
163 |
+
16791,
|
164 |
+
17992,
|
165 |
+
19203,
|
166 |
+
19510,
|
167 |
+
20724,
|
168 |
+
22305,
|
169 |
+
22935,
|
170 |
+
27007,
|
171 |
+
30109,
|
172 |
+
30420,
|
173 |
+
33409,
|
174 |
+
34949,
|
175 |
+
40283,
|
176 |
+
40493,
|
177 |
+
40549,
|
178 |
+
47282,
|
179 |
+
49146,
|
180 |
+
50257,
|
181 |
+
50357,
|
182 |
+
50358,
|
183 |
+
50359,
|
184 |
+
50360,
|
185 |
+
50361
|
186 |
+
],
|
187 |
+
"transformers_version": "4.32.1"
|
188 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3facc8bb5704b2a580cf985e0f53bb10ab3ebed7599d63122d433081c00476fd
|
3 |
+
size 6111655462
|
preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_length": 30,
|
3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
4 |
+
"feature_size": 80,
|
5 |
+
"hop_length": 160,
|
6 |
+
"n_fft": 400,
|
7 |
+
"n_samples": 480000,
|
8 |
+
"nb_max_frames": 3000,
|
9 |
+
"padding_side": "right",
|
10 |
+
"padding_value": 0.0,
|
11 |
+
"processor_class": "WhisperProcessor",
|
12 |
+
"return_attention_mask": false,
|
13 |
+
"sampling_rate": 16000
|
14 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5863999c2b7f4619c90e2218676dbb8f5c10b55d24871fde6b0cecf16ea0f807
|
3 |
+
size 3055750873
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a65caae0119cc641863568b0115d7bd3facb5328451940fb68946b0042b534c1
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4d836e5467543147de17d36235494bcb9764bd4267930cdf3e8a519d986cb75
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 7.945455976651671,
|
3 |
+
"best_model_checkpoint": "./fine-tuned-whisper/openai/whisper-medium.en/lr_1e-05_warmup_500_epochs_0_batch_32_grad_acc_1_max_steps_10000/dataset_all/2023-09-03_13-50-57/checkpoint-1000",
|
4 |
+
"epoch": 1.2853470437017995,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.13,
|
13 |
+
"learning_rate": 1.9000000000000002e-06,
|
14 |
+
"loss": 1.4709,
|
15 |
+
"step": 100
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.26,
|
19 |
+
"learning_rate": 3.900000000000001e-06,
|
20 |
+
"loss": 0.7462,
|
21 |
+
"step": 200
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.39,
|
25 |
+
"learning_rate": 5.9e-06,
|
26 |
+
"loss": 0.4752,
|
27 |
+
"step": 300
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.51,
|
31 |
+
"learning_rate": 7.9e-06,
|
32 |
+
"loss": 0.4004,
|
33 |
+
"step": 400
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.64,
|
37 |
+
"learning_rate": 9.9e-06,
|
38 |
+
"loss": 0.3666,
|
39 |
+
"step": 500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.64,
|
43 |
+
"eval_loss": 0.2389795184135437,
|
44 |
+
"eval_runtime": 1258.9838,
|
45 |
+
"eval_samples_per_second": 2.998,
|
46 |
+
"eval_steps_per_second": 0.187,
|
47 |
+
"eval_wer": 8.123474880563847,
|
48 |
+
"step": 500
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 0.77,
|
52 |
+
"learning_rate": 9.9e-06,
|
53 |
+
"loss": 0.3843,
|
54 |
+
"step": 600
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.9,
|
58 |
+
"learning_rate": 9.794736842105263e-06,
|
59 |
+
"loss": 0.394,
|
60 |
+
"step": 700
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 1.03,
|
64 |
+
"learning_rate": 9.689473684210527e-06,
|
65 |
+
"loss": 0.3716,
|
66 |
+
"step": 800
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 1.16,
|
70 |
+
"learning_rate": 9.58421052631579e-06,
|
71 |
+
"loss": 0.2846,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.29,
|
76 |
+
"learning_rate": 9.478947368421053e-06,
|
77 |
+
"loss": 0.2842,
|
78 |
+
"step": 1000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 1.29,
|
82 |
+
"eval_loss": 0.22987066209316254,
|
83 |
+
"eval_runtime": 1262.8746,
|
84 |
+
"eval_samples_per_second": 2.988,
|
85 |
+
"eval_steps_per_second": 0.187,
|
86 |
+
"eval_wer": 7.945455976651671,
|
87 |
+
"step": 1000
|
88 |
+
}
|
89 |
+
],
|
90 |
+
"logging_steps": 100,
|
91 |
+
"max_steps": 10000,
|
92 |
+
"num_train_epochs": 13,
|
93 |
+
"save_steps": 500,
|
94 |
+
"total_flos": 3.264200675721216e+19,
|
95 |
+
"trial_name": null,
|
96 |
+
"trial_params": null
|
97 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d97af8d41443ee21d55ac7756dbf8b47c4cec969edcd7e745acb89493880855d
|
3 |
+
size 4411
|