abnerh commited on
Commit
6fcd768
1 Parent(s): 0c9f4b9

End of training

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-audioset-10-10-0.4593-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: train
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.88
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-audioset-10-10-0.4593-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.4169
37
+ - Accuracy: 0.88
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: 5e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - lr_scheduler_warmup_ratio: 0.1
63
+ - num_epochs: 10
64
+ - mixed_precision_training: Native AMP
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 0.8145 | 1.0 | 113 | 0.5792 | 0.8 |
71
+ | 0.3418 | 2.0 | 226 | 0.6835 | 0.78 |
72
+ | 0.0731 | 3.0 | 339 | 0.8945 | 0.69 |
73
+ | 0.074 | 4.0 | 452 | 0.5540 | 0.85 |
74
+ | 0.0023 | 5.0 | 565 | 0.5311 | 0.85 |
75
+ | 0.0004 | 6.0 | 678 | 0.4524 | 0.87 |
76
+ | 0.0003 | 7.0 | 791 | 0.4318 | 0.89 |
77
+ | 0.0001 | 8.0 | 904 | 0.4217 | 0.88 |
78
+ | 0.0001 | 9.0 | 1017 | 0.4192 | 0.88 |
79
+ | 0.0001 | 10.0 | 1130 | 0.4169 | 0.88 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.44.2
85
+ - Pytorch 2.4.1+cu121
86
+ - Datasets 3.0.1
87
+ - 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.44.2"
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a7233ef776d14e9044d925dbb70057ee8ae83583ff802a2b8baaeb94452b55f
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/Oct16_09-21-09_fd9e71d47b25/events.out.tfevents.1729070487.fd9e71d47b25.240.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af76f79489d0a3d2ff09edd87ba4bddb608d2a20a489c0b2f52974166b36ac5d
3
+ size 31104
runs/Oct16_09-33-13_fd9e71d47b25/events.out.tfevents.1729071200.fd9e71d47b25.240.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0065fc90e70277f0bc1b708bdcf75819a1ca4526e8405805e149ee086db1935
3
+ size 12206
runs/Oct16_09-33-13_fd9e71d47b25/events.out.tfevents.1729071400.fd9e71d47b25.240.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b90a7734380ff2a7bdff777737af9a3224bce21fb748ec20f0439b5a0dbad38d
3
+ size 56563
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e8e4a9829fdd4c2f5cdf323aca7a234701b1b9c5dc8a27eec04eb42b77ad2aa
3
+ size 5240