Audio Classification
Transformers
TensorBoard
Safetensors
hubert
Generated from Trainer
Eval Results (legacy)
Instructions to use mmcgovern574/distilhubert-finetuned-gtzan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mmcgovern574/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="mmcgovern574/distilhubert-finetuned-gtzan")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("mmcgovern574/distilhubert-finetuned-gtzan") model = AutoModelForAudioClassification.from_pretrained("mmcgovern574/distilhubert-finetuned-gtzan", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6c60f99
1
Parent(s): c6be4d2
End of training
Browse files- README.md +26 -26
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -22,7 +22,7 @@ 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
|
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 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.
|
| 36 |
-
- Accuracy: 0.
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -52,9 +52,9 @@ More information needed
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
-
- learning_rate:
|
| 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
|
|
@@ -66,26 +66,26 @@ The following hyperparameters were used during training:
|
|
| 66 |
|
| 67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
| 0.
|
| 78 |
-
| 0.
|
| 79 |
-
| 0.
|
| 80 |
-
| 0.
|
| 81 |
-
| 0.
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
| 87 |
-
| 0.
|
| 88 |
-
| 0.
|
| 89 |
|
| 90 |
|
| 91 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.88
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 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.8080
|
| 36 |
+
- Accuracy: 0.88
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 52 |
### Training hyperparameters
|
| 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
|
|
|
|
| 66 |
|
| 67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 69 |
+
| 1.7263 | 1.0 | 113 | 1.6331 | 0.59 |
|
| 70 |
+
| 1.1167 | 2.0 | 226 | 1.2046 | 0.65 |
|
| 71 |
+
| 0.774 | 3.0 | 339 | 0.8365 | 0.8 |
|
| 72 |
+
| 0.6507 | 4.0 | 452 | 0.7015 | 0.81 |
|
| 73 |
+
| 0.5046 | 5.0 | 565 | 0.6722 | 0.81 |
|
| 74 |
+
| 0.2632 | 6.0 | 678 | 0.6743 | 0.82 |
|
| 75 |
+
| 0.203 | 7.0 | 791 | 0.7351 | 0.84 |
|
| 76 |
+
| 0.0902 | 8.0 | 904 | 0.5898 | 0.86 |
|
| 77 |
+
| 0.0215 | 9.0 | 1017 | 0.6213 | 0.87 |
|
| 78 |
+
| 0.0097 | 10.0 | 1130 | 0.6948 | 0.86 |
|
| 79 |
+
| 0.1171 | 11.0 | 1243 | 0.6228 | 0.87 |
|
| 80 |
+
| 0.0054 | 12.0 | 1356 | 0.7101 | 0.86 |
|
| 81 |
+
| 0.0035 | 13.0 | 1469 | 0.7626 | 0.87 |
|
| 82 |
+
| 0.0028 | 14.0 | 1582 | 0.7659 | 0.86 |
|
| 83 |
+
| 0.0027 | 15.0 | 1695 | 0.6993 | 0.87 |
|
| 84 |
+
| 0.0023 | 16.0 | 1808 | 0.7345 | 0.87 |
|
| 85 |
+
| 0.0023 | 17.0 | 1921 | 0.8363 | 0.86 |
|
| 86 |
+
| 0.0018 | 18.0 | 2034 | 0.7779 | 0.88 |
|
| 87 |
+
| 0.0018 | 19.0 | 2147 | 0.8275 | 0.87 |
|
| 88 |
+
| 0.0018 | 20.0 | 2260 | 0.8080 | 0.88 |
|
| 89 |
|
| 90 |
|
| 91 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 94771728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:875227b799512a178e40b703d62b51b27764a8e25265da81873144d1d4fae7ee
|
| 3 |
size 94771728
|