marsyas/gtzan
Updated • 6.58k • 17
How to use veluchs/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="veluchs/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("veluchs/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("veluchs/distilhubert-finetuned-gtzan", device_map="auto")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 |
|---|---|---|---|---|
| 1.9891 | 0.99 | 56 | 1.9587 | 0.4 |
| 1.5271 | 2.0 | 113 | 1.4658 | 0.56 |
| 1.074 | 2.99 | 169 | 0.9198 | 0.79 |
| 0.8036 | 4.0 | 226 | 0.9191 | 0.7 |
| 0.5017 | 4.99 | 282 | 0.7299 | 0.8 |
| 0.3405 | 6.0 | 339 | 0.6682 | 0.8 |
| 0.2178 | 6.99 | 395 | 0.6877 | 0.82 |
| 0.116 | 8.0 | 452 | 0.6092 | 0.83 |
| 0.0616 | 8.99 | 508 | 0.6579 | 0.85 |
| 0.0229 | 10.0 | 565 | 0.8793 | 0.8 |
| 0.0128 | 10.99 | 621 | 0.6722 | 0.87 |
| 0.0094 | 12.0 | 678 | 0.7586 | 0.87 |
| 0.0073 | 12.99 | 734 | 0.7636 | 0.87 |
| 0.007 | 14.0 | 791 | 0.7728 | 0.87 |
| 0.0073 | 14.87 | 840 | 0.7713 | 0.87 |