arielcerdap commited on
Commit
ed8104e
1 Parent(s): a5205d6

Training in progress, epoch 1

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ base_model: MIT/ast-finetuned-audioset-10-10-0.4593
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - marsyas/gtzan
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: ast-finetuned-audioset-10-10-0.4593-finetuned-gtzan
12
+ results:
13
+ - task:
14
+ name: Audio Classification
15
+ type: audio-classification
16
+ dataset:
17
+ name: GTZAN
18
+ type: marsyas/gtzan
19
+ config: all
20
+ split: train
21
+ args: all
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.87
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # ast-finetuned-audioset-10-10-0.4593-finetuned-gtzan
32
+
33
+ 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.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.5353
36
+ - Accuracy: 0.87
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 8
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 10
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | 0.7308 | 1.0 | 113 | 0.7053 | 0.75 |
70
+ | 0.4194 | 2.0 | 226 | 0.9210 | 0.75 |
71
+ | 0.0957 | 3.0 | 339 | 0.8840 | 0.81 |
72
+ | 0.0274 | 4.0 | 452 | 0.6910 | 0.87 |
73
+ | 0.0868 | 5.0 | 565 | 0.5857 | 0.86 |
74
+ | 0.0003 | 6.0 | 678 | 0.5424 | 0.88 |
75
+ | 0.0002 | 7.0 | 791 | 0.5522 | 0.87 |
76
+ | 0.0002 | 8.0 | 904 | 0.5394 | 0.87 |
77
+ | 0.0002 | 9.0 | 1017 | 0.5369 | 0.87 |
78
+ | 0.0001 | 10.0 | 1130 | 0.5353 | 0.87 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.42.4
84
+ - Pytorch 2.4.0+cu121
85
+ - Datasets 2.21.0
86
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "blues",
13
+ "1": "classical",
14
+ "2": "country",
15
+ "3": "disco",
16
+ "4": "hiphop",
17
+ "5": "jazz",
18
+ "6": "metal",
19
+ "7": "pop",
20
+ "8": "reggae",
21
+ "9": "rock"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "blues": "0",
27
+ "classical": "1",
28
+ "country": "2",
29
+ "disco": "3",
30
+ "hiphop": "4",
31
+ "jazz": "5",
32
+ "metal": "6",
33
+ "pop": "7",
34
+ "reggae": "8",
35
+ "rock": "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
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.42.4"
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a49dc6efb8962119a28af8c7ddf5760362390a734927c24bfafef287582649e8
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
+ }
runs/Aug28_18-41-55_eef470b56748/events.out.tfevents.1724870684.eef470b56748.680.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eb7c40d5da70361509d97688bd88aef9c7e7d9dbf37944b774b0a6f22c9e18b
3
+ size 56492
runs/Aug28_19-45-37_eef470b56748/events.out.tfevents.1724874339.eef470b56748.680.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:720dbd06fa39d33adabcb1ed11135f67c025007cdcd3e873b09630a4cb3a0bf7
3
+ size 5328
runs/Aug28_19-47-08_eef470b56748/events.out.tfevents.1724874429.eef470b56748.680.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a8f173e24950c05fa3b229a26e5bec00be6d20825cf4191a85f0484c055cb4c
3
+ size 10406
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf71c701d237d56281f228c12930dede0aa940e8462972874a70ba3fcb8a6616
3
+ size 5176