shreyahegde
commited on
Commit
•
d42befe
1
Parent(s):
09b743d
End of training
Browse files- README.md +70 -1
- config.json +129 -0
- model.safetensors +3 -0
- preprocessor_config.json +13 -0
- runs/Apr16_06-20-57_d86b394b49b0/events.out.tfevents.1713248458.d86b394b49b0.1349.0 +3 -0
- runs/Apr16_06-22-04_d86b394b49b0/events.out.tfevents.1713248534.d86b394b49b0.1349.1 +3 -0
- runs/Apr16_06-26-39_d86b394b49b0/events.out.tfevents.1713248800.d86b394b49b0.3419.0 +3 -0
- runs/Apr16_06-26-39_d86b394b49b0/events.out.tfevents.1713255041.d86b394b49b0.3419.1 +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,72 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: bsd-3-clause
|
3 |
+
base_model: MIT/ast-finetuned-audioset-10-10-0.450
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: ast-finetuned-audioset-10-10-0.450_ESC50
|
10 |
+
results: []
|
11 |
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# ast-finetuned-audioset-10-10-0.450_ESC50
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.450](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.450) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2887
|
21 |
+
- Accuracy: 0.9275
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 1e-05
|
41 |
+
- train_batch_size: 6
|
42 |
+
- eval_batch_size: 6
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 24
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 10
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
55 |
+
| 2.7745 | 0.99 | 66 | 2.3340 | 0.605 |
|
56 |
+
| 0.7521 | 1.99 | 133 | 0.8978 | 0.8875 |
|
57 |
+
| 0.2307 | 3.0 | 200 | 0.5545 | 0.8975 |
|
58 |
+
| 0.0903 | 4.0 | 267 | 0.4063 | 0.925 |
|
59 |
+
| 0.03 | 4.99 | 333 | 0.3488 | 0.92 |
|
60 |
+
| 0.0123 | 5.99 | 400 | 0.2987 | 0.925 |
|
61 |
+
| 0.0101 | 7.0 | 467 | 0.2887 | 0.9275 |
|
62 |
+
| 0.0067 | 8.0 | 534 | 0.2808 | 0.9275 |
|
63 |
+
| 0.0055 | 8.99 | 600 | 0.2784 | 0.9275 |
|
64 |
+
| 0.0051 | 9.89 | 660 | 0.2778 | 0.9275 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.39.3
|
70 |
+
- Pytorch 2.2.1+cu121
|
71 |
+
- Datasets 2.18.0
|
72 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "MIT/ast-finetuned-audioset-10-10-0.450",
|
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": "dog",
|
13 |
+
"1": "rooster",
|
14 |
+
"2": "pig",
|
15 |
+
"3": "cow",
|
16 |
+
"4": "frog",
|
17 |
+
"5": "cat",
|
18 |
+
"6": "hen",
|
19 |
+
"7": "insects",
|
20 |
+
"8": "sheep",
|
21 |
+
"9": "crow",
|
22 |
+
"10": "rain",
|
23 |
+
"11": "sea_waves",
|
24 |
+
"12": "crackling_fire",
|
25 |
+
"13": "crickets",
|
26 |
+
"14": "chirping_birds",
|
27 |
+
"15": "water_drops",
|
28 |
+
"16": "wind",
|
29 |
+
"17": "pouring_water",
|
30 |
+
"18": "toilet_flush",
|
31 |
+
"19": "thunderstorm",
|
32 |
+
"20": "crying_baby",
|
33 |
+
"21": "sneezing",
|
34 |
+
"22": "clapping",
|
35 |
+
"23": "breathing",
|
36 |
+
"24": "coughing",
|
37 |
+
"25": "footsteps",
|
38 |
+
"26": "laughing",
|
39 |
+
"27": "brushing_teeth",
|
40 |
+
"28": "snoring",
|
41 |
+
"29": "drinking_sipping",
|
42 |
+
"30": "door_wood_knock",
|
43 |
+
"31": "mouse_click",
|
44 |
+
"32": "keyboard_typing",
|
45 |
+
"33": "door_wood_creaks",
|
46 |
+
"34": "can_opening",
|
47 |
+
"35": "washing_machine",
|
48 |
+
"36": "vacuum_cleaner",
|
49 |
+
"37": "clock_alarm",
|
50 |
+
"38": "clock_tick",
|
51 |
+
"39": "glass_breaking",
|
52 |
+
"40": "helicopter",
|
53 |
+
"41": "chainsaw",
|
54 |
+
"42": "siren",
|
55 |
+
"43": "car_horn",
|
56 |
+
"44": "engine",
|
57 |
+
"45": "train",
|
58 |
+
"46": "church_bells",
|
59 |
+
"47": "airplane",
|
60 |
+
"48": "fireworks",
|
61 |
+
"49": "hand_saw"
|
62 |
+
},
|
63 |
+
"initializer_range": 0.02,
|
64 |
+
"intermediate_size": 3072,
|
65 |
+
"label2id": {
|
66 |
+
"airplane": 47,
|
67 |
+
"breathing": 23,
|
68 |
+
"brushing_teeth": 27,
|
69 |
+
"can_opening": 34,
|
70 |
+
"car_horn": 43,
|
71 |
+
"cat": 5,
|
72 |
+
"chainsaw": 41,
|
73 |
+
"chirping_birds": 14,
|
74 |
+
"church_bells": 46,
|
75 |
+
"clapping": 22,
|
76 |
+
"clock_alarm": 37,
|
77 |
+
"clock_tick": 38,
|
78 |
+
"coughing": 24,
|
79 |
+
"cow": 3,
|
80 |
+
"crackling_fire": 12,
|
81 |
+
"crickets": 13,
|
82 |
+
"crow": 9,
|
83 |
+
"crying_baby": 20,
|
84 |
+
"dog": 0,
|
85 |
+
"door_wood_creaks": 33,
|
86 |
+
"door_wood_knock": 30,
|
87 |
+
"drinking_sipping": 29,
|
88 |
+
"engine": 44,
|
89 |
+
"fireworks": 48,
|
90 |
+
"footsteps": 25,
|
91 |
+
"frog": 4,
|
92 |
+
"glass_breaking": 39,
|
93 |
+
"hand_saw": 49,
|
94 |
+
"helicopter": 40,
|
95 |
+
"hen": 6,
|
96 |
+
"insects": 7,
|
97 |
+
"keyboard_typing": 32,
|
98 |
+
"laughing": 26,
|
99 |
+
"mouse_click": 31,
|
100 |
+
"pig": 2,
|
101 |
+
"pouring_water": 17,
|
102 |
+
"rain": 10,
|
103 |
+
"rooster": 1,
|
104 |
+
"sea_waves": 11,
|
105 |
+
"sheep": 8,
|
106 |
+
"siren": 42,
|
107 |
+
"sneezing": 21,
|
108 |
+
"snoring": 28,
|
109 |
+
"thunderstorm": 19,
|
110 |
+
"toilet_flush": 18,
|
111 |
+
"train": 45,
|
112 |
+
"vacuum_cleaner": 36,
|
113 |
+
"washing_machine": 35,
|
114 |
+
"water_drops": 15,
|
115 |
+
"wind": 16
|
116 |
+
},
|
117 |
+
"layer_norm_eps": 1e-12,
|
118 |
+
"max_length": 1024,
|
119 |
+
"model_type": "audio-spectrogram-transformer",
|
120 |
+
"num_attention_heads": 12,
|
121 |
+
"num_hidden_layers": 12,
|
122 |
+
"num_mel_bins": 128,
|
123 |
+
"patch_size": 16,
|
124 |
+
"problem_type": "single_label_classification",
|
125 |
+
"qkv_bias": true,
|
126 |
+
"time_stride": 10,
|
127 |
+
"torch_dtype": "float32",
|
128 |
+
"transformers_version": "4.39.3"
|
129 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bc01752ed54f1d27ff2ae6cfb51c873eaa63453381ce9df6f046087f9df692c
|
3 |
+
size 344937696
|
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/Apr16_06-20-57_d86b394b49b0/events.out.tfevents.1713248458.d86b394b49b0.1349.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a48041ea72bff316e7fd5c593392a49eda4ca0ce365fbf8b9046070cd88b49e4
|
3 |
+
size 6952
|
runs/Apr16_06-22-04_d86b394b49b0/events.out.tfevents.1713248534.d86b394b49b0.1349.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9384e7361977904104ca66f2fbd3cf524cdc209de39f1678afde7b5d60e2e64f
|
3 |
+
size 34653
|
runs/Apr16_06-26-39_d86b394b49b0/events.out.tfevents.1713248800.d86b394b49b0.3419.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a53198bbc8fc2c18ba873fd4387b18b3179c018726150d3006e449066303e982
|
3 |
+
size 24408
|
runs/Apr16_06-26-39_d86b394b49b0/events.out.tfevents.1713255041.d86b394b49b0.3419.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52500a6fe8b402d120cd70bd6780ab333b90db9279dd612273f74bdbe491a1f4
|
3 |
+
size 411
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1aebfd73f38d521ee28efc1bd8e87b47326d041ee82c2def6d38159cbda60b71
|
3 |
+
size 5048
|