marsyas/gtzan
Updated • 8.69k • 17
How to use mitro99/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="mitro99/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("mitro99/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("mitro99/distilhubert-finetuned-gtzan")This model is a fine-tuned version of ntu-spml/distilhubert on the GTZAN dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.2592 | 0.99 | 28 | 2.2167 | 0.25 |
| 1.8769 | 1.98 | 56 | 1.8139 | 0.49 |
| 1.5783 | 2.97 | 84 | 1.5107 | 0.61 |
| 1.3068 | 4.0 | 113 | 1.2779 | 0.68 |
| 1.1062 | 4.99 | 141 | 1.0318 | 0.8 |
| 1.0125 | 5.98 | 169 | 0.9156 | 0.83 |
| 0.8787 | 6.97 | 197 | 0.8099 | 0.86 |
| 0.7658 | 8.0 | 226 | 0.7804 | 0.85 |
| 0.7811 | 8.99 | 254 | 0.7448 | 0.83 |
| 0.6369 | 9.98 | 282 | 0.6841 | 0.84 |
| 0.4859 | 10.97 | 310 | 0.6353 | 0.85 |
| 0.4705 | 12.0 | 339 | 0.6193 | 0.87 |
| 0.4571 | 12.99 | 367 | 0.6090 | 0.86 |
| 0.3999 | 13.98 | 395 | 0.5912 | 0.86 |
| 0.4007 | 14.87 | 420 | 0.5960 | 0.85 |
Base model
ntu-spml/distilhubert