captaincool21 commited on
Commit
e6abf40
·
verified ·
1 Parent(s): 9589488

End of training

Browse files
Files changed (5) hide show
  1. README.md +104 -0
  2. config.json +48 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +13 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: bsd-3-clause
4
+ base_model: MIT/ast-finetuned-audioset-10-10-0.4593
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - marsyas/gtzan
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: ast-finetuned-gtzan
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: GTZAN
19
+ type: marsyas/gtzan
20
+ config: all
21
+ split: None
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.9
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # ast-finetuned-gtzan
33
+
34
+ This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) on the GTZAN dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.3410
37
+ - Accuracy: 0.9
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 3e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 2
61
+ - total_train_batch_size: 16
62
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 25
66
+ - mixed_precision_training: Native AMP
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
72
+ | 1.627 | 1.0 | 50 | 0.8714 | 0.795 |
73
+ | 0.4145 | 2.0 | 100 | 0.5660 | 0.825 |
74
+ | 0.2344 | 3.0 | 150 | 0.4988 | 0.85 |
75
+ | 0.1334 | 4.0 | 200 | 0.3726 | 0.87 |
76
+ | 0.0341 | 5.0 | 250 | 0.3637 | 0.895 |
77
+ | 0.0172 | 6.0 | 300 | 0.4197 | 0.87 |
78
+ | 0.0338 | 7.0 | 350 | 0.5035 | 0.87 |
79
+ | 0.002 | 8.0 | 400 | 0.5825 | 0.86 |
80
+ | 0.001 | 9.0 | 450 | 0.4126 | 0.895 |
81
+ | 0.0093 | 10.0 | 500 | 0.4564 | 0.89 |
82
+ | 0.0056 | 11.0 | 550 | 0.4783 | 0.84 |
83
+ | 0.0162 | 12.0 | 600 | 0.3161 | 0.89 |
84
+ | 0.0019 | 13.0 | 650 | 0.4062 | 0.875 |
85
+ | 0.0005 | 14.0 | 700 | 0.3630 | 0.895 |
86
+ | 0.0098 | 15.0 | 750 | 0.3410 | 0.9 |
87
+ | 0.008 | 16.0 | 800 | 0.3385 | 0.89 |
88
+ | 0.0001 | 17.0 | 850 | 0.3434 | 0.895 |
89
+ | 0.0067 | 18.0 | 900 | 0.3414 | 0.885 |
90
+ | 0.0064 | 19.0 | 950 | 0.3453 | 0.895 |
91
+ | 0.0001 | 20.0 | 1000 | 0.3422 | 0.885 |
92
+ | 0.0001 | 21.0 | 1050 | 0.3520 | 0.89 |
93
+ | 0.0036 | 22.0 | 1100 | 0.3403 | 0.89 |
94
+ | 0.0001 | 23.0 | 1150 | 0.3394 | 0.89 |
95
+ | 0.0001 | 24.0 | 1200 | 0.3407 | 0.89 |
96
+ | 0.0026 | 25.0 | 1250 | 0.3417 | 0.89 |
97
+
98
+
99
+ ### Framework versions
100
+
101
+ - Transformers 4.57.3
102
+ - Pytorch 2.9.0+cu128
103
+ - Datasets 2.18.0
104
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ASTForAudioClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "frequency_stride": 10,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1,
28
+ "LABEL_2": 2,
29
+ "LABEL_3": 3,
30
+ "LABEL_4": 4,
31
+ "LABEL_5": 5,
32
+ "LABEL_6": 6,
33
+ "LABEL_7": 7,
34
+ "LABEL_8": 8,
35
+ "LABEL_9": 9
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "max_length": 1024,
39
+ "model_type": "audio-spectrogram-transformer",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "num_mel_bins": 128,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "time_stride": 10,
47
+ "transformers_version": "4.57.3"
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab7d26f6316475074b0871f5ab086cf6d80cc6f3cb7d401663c2afc7ccc51b73
3
+ size 344814656
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f828476600a05bc88a6cd915c4e8cdbe6518e9f8051f8632381718b1aced3374
3
+ size 5841