explorer7 commited on
Commit
75af00f
·
verified ·
1 Parent(s): 4b5030e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - gtzan
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: gtzan-ast-classifier
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: gtzan
19
+ type: gtzan
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.92
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
+ # gtzan-ast-classifier
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.2989
37
+ - Accuracy: 0.92
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: 2e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: linear
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.6403 | 1.0 | 113 | 0.4655 | 0.87 |
70
+ | 0.2874 | 2.0 | 226 | 0.6336 | 0.82 |
71
+ | 0.1274 | 3.0 | 339 | 0.4641 | 0.87 |
72
+ | 0.0465 | 4.0 | 452 | 0.5623 | 0.83 |
73
+ | 0.0285 | 5.0 | 565 | 0.3886 | 0.89 |
74
+ | 0.0042 | 6.0 | 678 | 0.2969 | 0.92 |
75
+ | 0.0006 | 7.0 | 791 | 0.3001 | 0.92 |
76
+ | 0.0003 | 8.0 | 904 | 0.3014 | 0.92 |
77
+ | 0.0003 | 9.0 | 1017 | 0.3009 | 0.92 |
78
+ | 0.0022 | 10.0 | 1130 | 0.2989 | 0.92 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.57.3
84
+ - Pytorch 2.9.0+cu126
85
+ - Datasets 2.16.1
86
+ - 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": "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
+ "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:8fe3b543c2afa9c8ee803ae6e9d94a2f6db178e42dcaaaf51c8d7679409ebe63
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/Jan07_12-41-53_c7e9d67fe56b/events.out.tfevents.1767789723.c7e9d67fe56b.2278.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1cb49574472327361ec54322babc600b2699c78b1308c136dd564a972a061aa
3
+ size 13570
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:891b9ade12a3809dd5f48c17deb388f85adff0e3be7c475866d1f6c945ae3261
3
+ size 5905