HamzaSidhu786
commited on
Commit
•
a69420e
1
Parent(s):
11fe960
End of training
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
@@ -8,7 +8,7 @@ datasets:
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
-
- name: distilhubert-finetuned-gtzan
|
12 |
results:
|
13 |
- task:
|
14 |
name: Audio Classification
|
@@ -22,18 +22,18 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
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 |
-
# distilhubert-finetuned-gtzan
|
32 |
|
33 |
-
This model is a fine-tuned version of [
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -53,39 +53,44 @@ More information needed
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 5e-05
|
56 |
-
- train_batch_size:
|
57 |
-
- eval_batch_size:
|
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:
|
63 |
- mixed_precision_training: Native AMP
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
-
| 2.
|
70 |
-
| 1.
|
71 |
-
| 1.
|
72 |
-
|
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
|
86 |
### Framework versions
|
87 |
|
88 |
-
- Transformers 4.
|
89 |
-
- Pytorch 2.3.
|
90 |
- Datasets 2.20.0
|
91 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: facebook/wav2vec2-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
+
- name: HamzaSidhu786/distilhubert-finetuned-gtzan
|
12 |
results:
|
13 |
- task:
|
14 |
name: Audio Classification
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.83
|
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 |
+
# HamzaSidhu786/distilhubert-finetuned-gtzan
|
32 |
|
33 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the GTZAN dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.8269
|
36 |
+
- Accuracy: 0.83
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
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: 20
|
63 |
- mixed_precision_training: Native AMP
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 2.1788 | 1.0 | 57 | 2.0907 | 0.39 |
|
70 |
+
| 1.6561 | 2.0 | 114 | 1.5747 | 0.62 |
|
71 |
+
| 1.3464 | 3.0 | 171 | 1.4279 | 0.57 |
|
72 |
+
| 1.1727 | 4.0 | 228 | 1.1862 | 0.68 |
|
73 |
+
| 0.9399 | 5.0 | 285 | 1.0572 | 0.66 |
|
74 |
+
| 0.931 | 6.0 | 342 | 1.1268 | 0.66 |
|
75 |
+
| 0.7375 | 7.0 | 399 | 0.8744 | 0.77 |
|
76 |
+
| 0.5798 | 8.0 | 456 | 0.8596 | 0.78 |
|
77 |
+
| 0.5668 | 9.0 | 513 | 0.8253 | 0.76 |
|
78 |
+
| 0.4972 | 10.0 | 570 | 0.8273 | 0.76 |
|
79 |
+
| 0.2375 | 11.0 | 627 | 0.8192 | 0.76 |
|
80 |
+
| 0.1913 | 12.0 | 684 | 0.7618 | 0.83 |
|
81 |
+
| 0.2132 | 13.0 | 741 | 0.8249 | 0.82 |
|
82 |
+
| 0.0823 | 14.0 | 798 | 0.8962 | 0.81 |
|
83 |
+
| 0.0444 | 15.0 | 855 | 0.9376 | 0.78 |
|
84 |
+
| 0.0375 | 16.0 | 912 | 0.8609 | 0.81 |
|
85 |
+
| 0.0298 | 17.0 | 969 | 0.8741 | 0.83 |
|
86 |
+
| 0.0808 | 18.0 | 1026 | 0.8911 | 0.84 |
|
87 |
+
| 0.0453 | 19.0 | 1083 | 0.8756 | 0.84 |
|
88 |
+
| 0.0229 | 20.0 | 1140 | 0.8269 | 0.83 |
|
89 |
|
90 |
|
91 |
### Framework versions
|
92 |
|
93 |
+
- Transformers 4.42.4
|
94 |
+
- Pytorch 2.3.1+cu121
|
95 |
- Datasets 2.20.0
|
96 |
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 378310592
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25be54db583ae5d1a2e317de44b02d84e9a218687cc8eb27672dad2bb7c16b37
|
3 |
size 378310592
|
runs/Aug03_20-36-27_c3c751c6bd7c/events.out.tfevents.1722717439.c3c751c6bd7c.231.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:279b8522e3e7041b0a90aafa2e7ec1d3aec336d291fb3e2e729d7b9ed0ed3154
|
3 |
+
size 61835
|