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: ntu-spml/distilhubert
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.81
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 [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.9459
36
- - Accuracy: 0.81
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: 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: 15
63
  - mixed_precision_training: Native AMP
64
 
65
  ### Training results
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
- | 2.1346 | 1.0 | 113 | 2.0097 | 0.52 |
70
- | 1.3431 | 2.0 | 226 | 1.3485 | 0.63 |
71
- | 1.0836 | 3.0 | 339 | 1.0567 | 0.7 |
72
- | 0.707 | 4.0 | 452 | 0.9165 | 0.73 |
73
- | 0.6421 | 5.0 | 565 | 0.7648 | 0.79 |
74
- | 0.4217 | 6.0 | 678 | 0.8743 | 0.76 |
75
- | 0.2786 | 7.0 | 791 | 0.7573 | 0.8 |
76
- | 0.1399 | 8.0 | 904 | 0.8341 | 0.75 |
77
- | 0.0586 | 9.0 | 1017 | 0.8662 | 0.81 |
78
- | 0.0246 | 10.0 | 1130 | 0.9017 | 0.8 |
79
- | 0.0139 | 11.0 | 1243 | 0.8831 | 0.79 |
80
- | 0.0106 | 12.0 | 1356 | 0.9298 | 0.82 |
81
- | 0.0092 | 13.0 | 1469 | 0.9264 | 0.81 |
82
- | 0.0087 | 14.0 | 1582 | 0.9466 | 0.82 |
83
- | 0.0071 | 15.0 | 1695 | 0.9459 | 0.81 |
 
 
 
 
 
84
 
85
 
86
  ### Framework versions
87
 
88
- - Transformers 4.41.2
89
- - Pytorch 2.3.0+cu121
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:dcd412e586a3cf2ee5e49794375ba1259043cfbf825b3227c7417b39e2e42ff5
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:76e16aa892eaa8fd2d395734eb183bab039cd95feba7c6bf3e07ab210cc53703
3
- size 61158
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279b8522e3e7041b0a90aafa2e7ec1d3aec336d291fb3e2e729d7b9ed0ed3154
3
+ size 61835