Huma10 commited on
Commit
5b5761a
·
verified ·
1 Parent(s): 6039e7e

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-base.en",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForAudioClassification"
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": 512,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.9,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 50256,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50362
32
+ ]
33
+ ],
34
+ "id2label": {
35
+ "0": "NoStutteredWords",
36
+ "1": "WordRep",
37
+ "2": "SoundRep",
38
+ "3": "Prolongation",
39
+ "4": "Interjection",
40
+ "5": "Block"
41
+ },
42
+ "init_std": 0.02,
43
+ "is_encoder_decoder": true,
44
+ "label2id": {
45
+ "Block": 5,
46
+ "Interjection": 4,
47
+ "NoStutteredWords": 0,
48
+ "Prolongation": 3,
49
+ "SoundRep": 2,
50
+ "WordRep": 1
51
+ },
52
+ "mask_feature_length": 10,
53
+ "mask_feature_min_masks": 0,
54
+ "mask_feature_prob": 0.0,
55
+ "mask_time_length": 10,
56
+ "mask_time_min_masks": 2,
57
+ "mask_time_prob": 0.05,
58
+ "max_length": 448,
59
+ "max_source_positions": 1500,
60
+ "max_target_positions": 448,
61
+ "median_filter_width": 7,
62
+ "model_type": "whisper",
63
+ "num_hidden_layers": 6,
64
+ "num_mel_bins": 80,
65
+ "pad_token_id": 50256,
66
+ "scale_embedding": false,
67
+ "suppress_tokens": [
68
+ 1,
69
+ 2,
70
+ 7,
71
+ 8,
72
+ 9,
73
+ 10,
74
+ 14,
75
+ 25,
76
+ 26,
77
+ 27,
78
+ 28,
79
+ 29,
80
+ 31,
81
+ 58,
82
+ 59,
83
+ 60,
84
+ 61,
85
+ 62,
86
+ 63,
87
+ 90,
88
+ 91,
89
+ 92,
90
+ 93,
91
+ 357,
92
+ 366,
93
+ 438,
94
+ 532,
95
+ 685,
96
+ 705,
97
+ 796,
98
+ 930,
99
+ 1058,
100
+ 1220,
101
+ 1267,
102
+ 1279,
103
+ 1303,
104
+ 1343,
105
+ 1377,
106
+ 1391,
107
+ 1635,
108
+ 1782,
109
+ 1875,
110
+ 2162,
111
+ 2361,
112
+ 2488,
113
+ 3467,
114
+ 4008,
115
+ 4211,
116
+ 4600,
117
+ 4808,
118
+ 5299,
119
+ 5855,
120
+ 6329,
121
+ 7203,
122
+ 9609,
123
+ 9959,
124
+ 10563,
125
+ 10786,
126
+ 11420,
127
+ 11709,
128
+ 11907,
129
+ 13163,
130
+ 13697,
131
+ 13700,
132
+ 14808,
133
+ 15306,
134
+ 16410,
135
+ 16791,
136
+ 17992,
137
+ 19203,
138
+ 19510,
139
+ 20724,
140
+ 22305,
141
+ 22935,
142
+ 27007,
143
+ 30109,
144
+ 30420,
145
+ 33409,
146
+ 34949,
147
+ 40283,
148
+ 40493,
149
+ 40549,
150
+ 47282,
151
+ 49146,
152
+ 50257,
153
+ 50357,
154
+ 50358,
155
+ 50359,
156
+ 50360,
157
+ 50361
158
+ ],
159
+ "torch_dtype": "float32",
160
+ "transformers_version": "4.31.0",
161
+ "use_cache": true,
162
+ "use_weighted_layer_sum": false,
163
+ "vocab_size": 51864
164
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b8c4455a0f97089bd4e56761f0eca5e4dd4a0c393b2a751001a197ded7294e5
3
+ size 165870947
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 3.0,
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:0b03851f954cf1cb74951cf614583e98df7de572b30242023009897a3e4a5bbe
3
+ size 82925687
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbdf234bdc48b4ee1ebe2c987f483f5e7dac1f9dd0afaaf17e15768fcc1fbd65
3
+ size 14503
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a82b6eb0c2879a2af3438ce57fec8a4399eb1ab63340856426f3235c2b5ac4b
3
+ size 623
trainer_state.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6411932110786438,
3
+ "best_model_checkpoint": "G:/My Drive/Thesis-best-model/Whisper_e_base-en-dropout=0.0\\checkpoint-825",
4
+ "epoch": 2.0,
5
+ "global_step": 1650,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.61,
12
+ "learning_rate": 2.3484848484848487e-05,
13
+ "loss": 0.921,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_accuracy": 0.8005087209302325,
19
+ "eval_f1": 0.7782251233544938,
20
+ "eval_loss": 0.6411932110786438,
21
+ "eval_precision": 0.7638742227416849,
22
+ "eval_recall": 0.8005087209302325,
23
+ "eval_runtime": 54.6075,
24
+ "eval_samples_per_second": 50.396,
25
+ "eval_steps_per_second": 6.3,
26
+ "step": 825
27
+ },
28
+ {
29
+ "epoch": 1.21,
30
+ "learning_rate": 2.1969696969696972e-05,
31
+ "loss": 0.5733,
32
+ "step": 1000
33
+ },
34
+ {
35
+ "epoch": 1.82,
36
+ "learning_rate": 2.0454545454545457e-05,
37
+ "loss": 0.4501,
38
+ "step": 1500
39
+ },
40
+ {
41
+ "epoch": 2.0,
42
+ "eval_accuracy": 0.8135901162790697,
43
+ "eval_f1": 0.7999960344419578,
44
+ "eval_loss": 0.6439159512519836,
45
+ "eval_precision": 0.7974439877300139,
46
+ "eval_recall": 0.8135901162790697,
47
+ "eval_runtime": 55.8052,
48
+ "eval_samples_per_second": 49.314,
49
+ "eval_steps_per_second": 6.164,
50
+ "step": 1650
51
+ }
52
+ ],
53
+ "max_steps": 8250,
54
+ "num_train_epochs": 10,
55
+ "total_flos": 3.7914100650432e+16,
56
+ "trial_name": null,
57
+ "trial_params": null
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252d0954d5ff4f565666b1789bd3f377b3c99d93238bcdda34f53d48cd5d7588
3
+ size 4079