Sanvoravong
commited on
End of training
Browse files- README.md +86 -0
- config.json +49 -0
- model.safetensors +3 -0
- preprocessor_config.json +13 -0
- runs/Jun19_01-37-28_95cc81b49e96/events.out.tfevents.1718761051.95cc81b49e96.665.0 +3 -0
- runs/Jun19_02-08-09_95cc81b49e96/events.out.tfevents.1718762891.95cc81b49e96.665.1 +3 -0
- runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718766231.95cc81b49e96.665.2 +3 -0
- runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718767843.95cc81b49e96.665.3 +3 -0
- runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718767933.95cc81b49e96.665.4 +3 -0
- runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718769529.95cc81b49e96.665.5 +3 -0
- training_args.bin +3 -0
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.94
|
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: 2.0656
|
36 |
+
- Accuracy: 0.94
|
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: 1e-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.0155 | 1.0 | 113 | 2.5288 | 0.86 |
|
70 |
+
| 0.7164 | 2.0 | 226 | 2.2767 | 0.88 |
|
71 |
+
| 0.8683 | 3.0 | 339 | 2.2711 | 0.87 |
|
72 |
+
| 0.0006 | 4.0 | 452 | 2.7214 | 0.89 |
|
73 |
+
| 0.4962 | 5.0 | 565 | 1.9165 | 0.92 |
|
74 |
+
| 0.0 | 6.0 | 678 | 3.1595 | 0.88 |
|
75 |
+
| 0.0 | 7.0 | 791 | 1.9683 | 0.91 |
|
76 |
+
| 0.0 | 8.0 | 904 | 1.9617 | 0.91 |
|
77 |
+
| 0.0 | 9.0 | 1017 | 2.0516 | 0.94 |
|
78 |
+
| 0.0 | 10.0 | 1130 | 2.0656 | 0.94 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.41.2
|
84 |
+
- Pytorch 2.3.0+cu121
|
85 |
+
- Datasets 2.20.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.41.2"
|
49 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:015e9c37651db750957da45a7d41ecedbcd8e6f881ceefe37202d0f06d3d1019
|
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/Jun19_01-37-28_95cc81b49e96/events.out.tfevents.1718761051.95cc81b49e96.665.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b495fab1104c1af7f00dd304a0c809f743f583f1d0552b2e5db142096e487fc
|
3 |
+
size 56464
|
runs/Jun19_02-08-09_95cc81b49e96/events.out.tfevents.1718762891.95cc81b49e96.665.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00afbf7d842c591e841cf4e4e3d77babf39498ae4d0d91d8d19d5e1a5e30bb99
|
3 |
+
size 107380
|
runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718766231.95cc81b49e96.665.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c268f8ebb2d0b4ec45de2ee26b266c21e4fd5368603a247b90f949aaaf912807
|
3 |
+
size 56464
|
runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718767843.95cc81b49e96.665.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61efae42ec11c1b9979159010a22db4fbc877bbc26352a020557b29aa77996f1
|
3 |
+
size 5703
|
runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718767933.95cc81b49e96.665.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca80f2c47eb2f07be4c676242e8bf22fb86429808a8eda47f354092fd8d4b5a8
|
3 |
+
size 29762
|
runs/Jun19_03-03-49_95cc81b49e96/events.out.tfevents.1718769529.95cc81b49e96.665.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ad051d5bdfeab65df70e216bc672b4eb789bfc07fe2bb0ac4b556b4a5ee3603
|
3 |
+
size 56513
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7637e93b137d4e51ee48fc4f8ce1db7f998c36bc2cb40984c69d62be66263968
|
3 |
+
size 5176
|