sant commited on
Commit
e768523
·
verified ·
1 Parent(s): d095a1b

Upload model files

Browse files
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Enpas/Shukv2",
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": null,
11
+ "bos_token_id": 50257,
12
+ "classifier_proj_size": 256,
13
+ "d_model": 768,
14
+ "decoder_attention_heads": 12,
15
+ "decoder_ffn_dim": 3072,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 12,
18
+ "decoder_start_token_id": 50258,
19
+ "dropout": 0.0,
20
+ "encoder_attention_heads": 12,
21
+ "encoder_ffn_dim": 3072,
22
+ "encoder_layerdrop": 0.0,
23
+ "encoder_layers": 12,
24
+ "eos_token_id": 50257,
25
+ "forced_decoder_ids": null,
26
+ "init_std": 0.02,
27
+ "is_encoder_decoder": true,
28
+ "mask_feature_length": 10,
29
+ "mask_feature_min_masks": 0,
30
+ "mask_feature_prob": 0.0,
31
+ "mask_time_length": 10,
32
+ "mask_time_min_masks": 2,
33
+ "mask_time_prob": 0.05,
34
+ "max_length": null,
35
+ "max_source_positions": 1500,
36
+ "max_target_positions": 448,
37
+ "median_filter_width": 7,
38
+ "model_type": "whisper",
39
+ "num_hidden_layers": 12,
40
+ "num_mel_bins": 80,
41
+ "pad_token_id": 50257,
42
+ "scale_embedding": false,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.45.1",
45
+ "use_cache": false,
46
+ "use_weighted_layer_sum": false,
47
+ "vocab_size": 51865
48
+ }
generation_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 50257,
3
+ "decoder_start_token_id": 50258,
4
+ "eos_token_id": 50257,
5
+ "forced_decoder_ids": [
6
+ [
7
+ 1,
8
+ 50259
9
+ ],
10
+ [
11
+ 2,
12
+ 50359
13
+ ],
14
+ [
15
+ 3,
16
+ 50363
17
+ ]
18
+ ],
19
+ "pad_token_id": 50257,
20
+ "transformers_version": "4.45.1",
21
+ "use_cache": false
22
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11ed1308b0197b664afafb89a324c964fe1a9b13d8c0f169503cc8a5884da0c2
3
+ size 966995080
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b934b418ef4ab7a7360fe2ce1e5cd08221e8ad6b463fbc828c3d356e84195b
3
+ size 1925064044
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
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3540179bbcfe2a2e55d05fad49c806615d68122d33b057e8a5ff20ca08833829
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49054e3b5dea463b82349ae8b05bc44c24728fc8e9d56eee16e9fedd96e927d4
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 85.87243015287297,
3
+ "best_model_checkpoint": "./Shukv4/checkpoint-500",
4
+ "epoch": 2.688172043010753,
5
+ "eval_steps": 500,
6
+ "global_step": 500,
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.13440860215053763,
13
+ "grad_norm": 349994.25,
14
+ "learning_rate": 3.125e-06,
15
+ "loss": 0.5555,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.26881720430107525,
20
+ "grad_norm": 296199.8125,
21
+ "learning_rate": 6.25e-06,
22
+ "loss": 0.3776,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.4032258064516129,
27
+ "grad_norm": 218550.265625,
28
+ "learning_rate": 9.375000000000001e-06,
29
+ "loss": 0.286,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.5376344086021505,
34
+ "grad_norm": 241839.0,
35
+ "learning_rate": 1.25e-05,
36
+ "loss": 0.2629,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.6720430107526881,
41
+ "grad_norm": 224651.953125,
42
+ "learning_rate": 1.2152777777777779e-05,
43
+ "loss": 0.2473,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.8064516129032258,
48
+ "grad_norm": 247373.3125,
49
+ "learning_rate": 1.1805555555555555e-05,
50
+ "loss": 0.2225,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.9408602150537635,
55
+ "grad_norm": 232539.5,
56
+ "learning_rate": 1.1458333333333333e-05,
57
+ "loss": 0.1814,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 1.075268817204301,
62
+ "grad_norm": 208122.359375,
63
+ "learning_rate": 1.1111111111111112e-05,
64
+ "loss": 0.1379,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 1.2096774193548387,
69
+ "grad_norm": 203154.734375,
70
+ "learning_rate": 1.076388888888889e-05,
71
+ "loss": 0.0926,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 1.3440860215053765,
76
+ "grad_norm": 193545.453125,
77
+ "learning_rate": 1.0416666666666668e-05,
78
+ "loss": 0.0877,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 1.478494623655914,
83
+ "grad_norm": 159916.4375,
84
+ "learning_rate": 1.0069444444444445e-05,
85
+ "loss": 0.0759,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 1.6129032258064515,
90
+ "grad_norm": 203974.796875,
91
+ "learning_rate": 9.722222222222223e-06,
92
+ "loss": 0.0886,
93
+ "step": 300
94
+ },
95
+ {
96
+ "epoch": 1.7473118279569892,
97
+ "grad_norm": 176038.296875,
98
+ "learning_rate": 9.375000000000001e-06,
99
+ "loss": 0.0809,
100
+ "step": 325
101
+ },
102
+ {
103
+ "epoch": 1.881720430107527,
104
+ "grad_norm": 156732.640625,
105
+ "learning_rate": 9.027777777777777e-06,
106
+ "loss": 0.0598,
107
+ "step": 350
108
+ },
109
+ {
110
+ "epoch": 2.0161290322580645,
111
+ "grad_norm": 116201.7734375,
112
+ "learning_rate": 8.680555555555556e-06,
113
+ "loss": 0.0546,
114
+ "step": 375
115
+ },
116
+ {
117
+ "epoch": 2.150537634408602,
118
+ "grad_norm": 81153.625,
119
+ "learning_rate": 8.333333333333334e-06,
120
+ "loss": 0.0281,
121
+ "step": 400
122
+ },
123
+ {
124
+ "epoch": 2.28494623655914,
125
+ "grad_norm": 95937.9765625,
126
+ "learning_rate": 7.98611111111111e-06,
127
+ "loss": 0.0328,
128
+ "step": 425
129
+ },
130
+ {
131
+ "epoch": 2.4193548387096775,
132
+ "grad_norm": 105021.359375,
133
+ "learning_rate": 7.63888888888889e-06,
134
+ "loss": 0.0271,
135
+ "step": 450
136
+ },
137
+ {
138
+ "epoch": 2.553763440860215,
139
+ "grad_norm": 73798.6796875,
140
+ "learning_rate": 7.2916666666666674e-06,
141
+ "loss": 0.0317,
142
+ "step": 475
143
+ },
144
+ {
145
+ "epoch": 2.688172043010753,
146
+ "grad_norm": 111273.5546875,
147
+ "learning_rate": 6.944444444444445e-06,
148
+ "loss": 0.0286,
149
+ "step": 500
150
+ },
151
+ {
152
+ "epoch": 2.688172043010753,
153
+ "eval_loss": 0.032379038631916046,
154
+ "eval_runtime": 903.1767,
155
+ "eval_samples_per_second": 0.227,
156
+ "eval_steps_per_second": 0.029,
157
+ "eval_wer": 85.87243015287297,
158
+ "step": 500
159
+ }
160
+ ],
161
+ "logging_steps": 25,
162
+ "max_steps": 1000,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 6,
165
+ "save_steps": 500,
166
+ "stateful_callbacks": {
167
+ "TrainerControl": {
168
+ "args": {
169
+ "should_epoch_stop": false,
170
+ "should_evaluate": false,
171
+ "should_log": false,
172
+ "should_save": true,
173
+ "should_training_stop": false
174
+ },
175
+ "attributes": {}
176
+ }
177
+ },
178
+ "total_flos": 1.72804937711616e+18,
179
+ "train_batch_size": 12,
180
+ "trial_name": null,
181
+ "trial_params": null
182
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb8028a017a4460498ab21ed36604550dd2e3d30a0d4602d90806db216e3f5f7
3
+ size 5368