WpythonW commited on
Commit
aec4da1
·
verified ·
1 Parent(s): eac38ed

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MIT/ast-finetuned-audioset-10-10-0.4593",
3
+ "architectures": [
4
+ "ASTForAudioClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "frequency_stride": 10,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "fake",
13
+ "1": "real"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "fake": 0,
19
+ "real": 1
20
+ },
21
+ "layer_norm_eps": 1e-12,
22
+ "max_length": 1024,
23
+ "model_type": "audio-spectrogram-transformer",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "num_mel_bins": 128,
27
+ "patch_size": 16,
28
+ "problem_type": "multi_label_classification",
29
+ "qkv_bias": true,
30
+ "time_stride": 10,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.47.0"
33
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aabdabde05f0dbfb26fd6a822fc3db4420a22ff10e65cb702df578694077059d
3
+ size 344790040
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9ae175e7dee7586f6ad2db059a6a116349cbce8ae34b268514947db42946e61
3
+ size 689692538
preprocessor_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "ASTFeatureExtractor",
4
+ "feature_size": 1,
5
+ "max_length": 1024,
6
+ "mean": -4.2677393,
7
+ "num_mel_bins": 128,
8
+ "padding_side": "right",
9
+ "padding_value": 0.0,
10
+ "return_attention_mask": false,
11
+ "sampling_rate": 16000,
12
+ "std": 4.5689974
13
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5edb34d031c0c2b447f3eaadb401a4c1e7e7e6d8c096e28b7092e01a8bd48c92
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffad90ba2d44400541fefd6b35ec89711836fc8e20c4def302be896c6abce095
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9785056294779939,
3
+ "best_model_checkpoint": "./results/checkpoint-32",
4
+ "epoch": 8.0,
5
+ "eval_steps": 16,
6
+ "global_step": 32,
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
+ "eval_accuracy": 0.5972529906956137,
14
+ "eval_f1": 0.26037428803905616,
15
+ "eval_loss": 0.7424784898757935,
16
+ "eval_precision": 0.6374501992031872,
17
+ "eval_recall": 0.16359918200409,
18
+ "eval_roc_auc": 0.5462249232928973,
19
+ "eval_runtime": 102.4283,
20
+ "eval_samples_per_second": 22.035,
21
+ "eval_steps_per_second": 0.351,
22
+ "step": 0
23
+ },
24
+ {
25
+ "epoch": 0.25,
26
+ "grad_norm": 494253.4375,
27
+ "learning_rate": 5e-06,
28
+ "loss": 0.6566,
29
+ "step": 1
30
+ },
31
+ {
32
+ "epoch": 0.5,
33
+ "grad_norm": 401098.4375,
34
+ "learning_rate": 1e-05,
35
+ "loss": 0.691,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 0.75,
40
+ "grad_norm": 300705.59375,
41
+ "learning_rate": 1.5e-05,
42
+ "loss": 0.6193,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 1.0,
47
+ "grad_norm": 282439.5625,
48
+ "learning_rate": 2e-05,
49
+ "loss": 0.5831,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 1.25,
54
+ "grad_norm": 312752.5625,
55
+ "learning_rate": 2.5e-05,
56
+ "loss": 0.6175,
57
+ "step": 5
58
+ },
59
+ {
60
+ "epoch": 1.5,
61
+ "grad_norm": 235615.21875,
62
+ "learning_rate": 3e-05,
63
+ "loss": 0.45,
64
+ "step": 6
65
+ },
66
+ {
67
+ "epoch": 1.75,
68
+ "grad_norm": 319933.5,
69
+ "learning_rate": 3.5e-05,
70
+ "loss": 0.3565,
71
+ "step": 7
72
+ },
73
+ {
74
+ "epoch": 2.0,
75
+ "grad_norm": 296006.78125,
76
+ "learning_rate": 4e-05,
77
+ "loss": 0.3097,
78
+ "step": 8
79
+ },
80
+ {
81
+ "epoch": 2.25,
82
+ "grad_norm": 736140.375,
83
+ "learning_rate": 4.5e-05,
84
+ "loss": 0.4737,
85
+ "step": 9
86
+ },
87
+ {
88
+ "epoch": 2.5,
89
+ "grad_norm": 228276.40625,
90
+ "learning_rate": 5e-05,
91
+ "loss": 0.1787,
92
+ "step": 10
93
+ },
94
+ {
95
+ "epoch": 2.75,
96
+ "grad_norm": 346536.21875,
97
+ "learning_rate": 4.772727272727273e-05,
98
+ "loss": 0.1988,
99
+ "step": 11
100
+ },
101
+ {
102
+ "epoch": 3.0,
103
+ "grad_norm": 467928.8125,
104
+ "learning_rate": 4.545454545454546e-05,
105
+ "loss": 0.2059,
106
+ "step": 12
107
+ },
108
+ {
109
+ "epoch": 3.25,
110
+ "grad_norm": 198952.125,
111
+ "learning_rate": 4.318181818181819e-05,
112
+ "loss": 0.1082,
113
+ "step": 13
114
+ },
115
+ {
116
+ "epoch": 3.5,
117
+ "grad_norm": 427120.96875,
118
+ "learning_rate": 4.0909090909090915e-05,
119
+ "loss": 0.1321,
120
+ "step": 14
121
+ },
122
+ {
123
+ "epoch": 3.75,
124
+ "grad_norm": 586828.875,
125
+ "learning_rate": 3.8636363636363636e-05,
126
+ "loss": 0.2194,
127
+ "step": 15
128
+ },
129
+ {
130
+ "epoch": 4.0,
131
+ "grad_norm": 316196.65625,
132
+ "learning_rate": 3.6363636363636364e-05,
133
+ "loss": 0.1268,
134
+ "step": 16
135
+ },
136
+ {
137
+ "epoch": 4.0,
138
+ "eval_accuracy": 0.8759415152857776,
139
+ "eval_f1": 0.8360655737704918,
140
+ "eval_loss": 0.26443684101104736,
141
+ "eval_precision": 0.9780821917808219,
142
+ "eval_recall": 0.7300613496932515,
143
+ "eval_roc_auc": 0.858775788216446,
144
+ "eval_runtime": 102.1683,
145
+ "eval_samples_per_second": 22.091,
146
+ "eval_steps_per_second": 0.352,
147
+ "step": 16
148
+ },
149
+ {
150
+ "epoch": 4.25,
151
+ "grad_norm": 290404.625,
152
+ "learning_rate": 3.409090909090909e-05,
153
+ "loss": 0.0596,
154
+ "step": 17
155
+ },
156
+ {
157
+ "epoch": 4.5,
158
+ "grad_norm": 183575.28125,
159
+ "learning_rate": 3.181818181818182e-05,
160
+ "loss": 0.0991,
161
+ "step": 18
162
+ },
163
+ {
164
+ "epoch": 4.75,
165
+ "grad_norm": 52958.6171875,
166
+ "learning_rate": 2.954545454545455e-05,
167
+ "loss": 0.0233,
168
+ "step": 19
169
+ },
170
+ {
171
+ "epoch": 5.0,
172
+ "grad_norm": 366309.96875,
173
+ "learning_rate": 2.7272727272727273e-05,
174
+ "loss": 0.0678,
175
+ "step": 20
176
+ },
177
+ {
178
+ "epoch": 5.25,
179
+ "grad_norm": 133315.859375,
180
+ "learning_rate": 2.5e-05,
181
+ "loss": 0.0393,
182
+ "step": 21
183
+ },
184
+ {
185
+ "epoch": 5.5,
186
+ "grad_norm": 63111.57421875,
187
+ "learning_rate": 2.272727272727273e-05,
188
+ "loss": 0.0136,
189
+ "step": 22
190
+ },
191
+ {
192
+ "epoch": 5.75,
193
+ "grad_norm": 58023.6875,
194
+ "learning_rate": 2.0454545454545457e-05,
195
+ "loss": 0.0117,
196
+ "step": 23
197
+ },
198
+ {
199
+ "epoch": 6.0,
200
+ "grad_norm": 58158.015625,
201
+ "learning_rate": 1.8181818181818182e-05,
202
+ "loss": 0.0143,
203
+ "step": 24
204
+ },
205
+ {
206
+ "epoch": 6.25,
207
+ "grad_norm": 27386.134765625,
208
+ "learning_rate": 1.590909090909091e-05,
209
+ "loss": 0.0077,
210
+ "step": 25
211
+ },
212
+ {
213
+ "epoch": 6.5,
214
+ "grad_norm": 38601.58203125,
215
+ "learning_rate": 1.3636363636363637e-05,
216
+ "loss": 0.0084,
217
+ "step": 26
218
+ },
219
+ {
220
+ "epoch": 6.75,
221
+ "grad_norm": 241114.9375,
222
+ "learning_rate": 1.1363636363636365e-05,
223
+ "loss": 0.2064,
224
+ "step": 27
225
+ },
226
+ {
227
+ "epoch": 7.0,
228
+ "grad_norm": 53962.51953125,
229
+ "learning_rate": 9.090909090909091e-06,
230
+ "loss": 0.012,
231
+ "step": 28
232
+ },
233
+ {
234
+ "epoch": 7.25,
235
+ "grad_norm": 20690.81640625,
236
+ "learning_rate": 6.818181818181818e-06,
237
+ "loss": 0.0069,
238
+ "step": 29
239
+ },
240
+ {
241
+ "epoch": 7.5,
242
+ "grad_norm": 8544.26171875,
243
+ "learning_rate": 4.5454545454545455e-06,
244
+ "loss": 0.0036,
245
+ "step": 30
246
+ },
247
+ {
248
+ "epoch": 7.75,
249
+ "grad_norm": 5743.671875,
250
+ "learning_rate": 2.2727272727272728e-06,
251
+ "loss": 0.0029,
252
+ "step": 31
253
+ },
254
+ {
255
+ "epoch": 8.0,
256
+ "grad_norm": 85053.53125,
257
+ "learning_rate": 0.0,
258
+ "loss": 0.009,
259
+ "step": 32
260
+ },
261
+ {
262
+ "epoch": 8.0,
263
+ "eval_accuracy": 0.9813912272928667,
264
+ "eval_f1": 0.9785056294779939,
265
+ "eval_loss": 0.04325682297348976,
266
+ "eval_precision": 0.9795081967213115,
267
+ "eval_recall": 0.9775051124744376,
268
+ "eval_roc_auc": 0.9809339479494941,
269
+ "eval_runtime": 102.2325,
270
+ "eval_samples_per_second": 22.077,
271
+ "eval_steps_per_second": 0.352,
272
+ "step": 32
273
+ }
274
+ ],
275
+ "logging_steps": 1,
276
+ "max_steps": 32,
277
+ "num_input_tokens_seen": 0,
278
+ "num_train_epochs": 8,
279
+ "save_steps": 16,
280
+ "stateful_callbacks": {
281
+ "TrainerControl": {
282
+ "args": {
283
+ "should_epoch_stop": false,
284
+ "should_evaluate": false,
285
+ "should_log": false,
286
+ "should_save": true,
287
+ "should_training_stop": true
288
+ },
289
+ "attributes": {}
290
+ }
291
+ },
292
+ "total_flos": 6.507152629825536e+16,
293
+ "train_batch_size": 32,
294
+ "trial_name": null,
295
+ "trial_params": null
296
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67332344abfb6c6a9b3076c9aee1f4d6953494d719b71fcce7b9f3bdfe8e9612
3
+ size 5304