marsyas/gtzan
Updated • 4.55k • 18
How to use DavidFM43/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="DavidFM43/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("DavidFM43/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("DavidFM43/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 | Accuracy | Validation Loss |
|---|---|---|---|---|
| 1.278 | 1.0 | 112 | 0.57 | 1.3298 |
| 0.8315 | 2.0 | 225 | 0.73 | 0.9432 |
| 0.7709 | 3.0 | 337 | 0.72 | 0.9310 |
| 0.5427 | 4.0 | 450 | 0.72 | 0.8738 |
| 0.2645 | 4.98 | 560 | 0.79 | 0.6648 |
| 0.245 | 6.0 | 672 | 0.83 | 0.6147 |
| 0.1331 | 6.99 | 784 | 0.83 | 0.6305 |
| 0.1863 | 8.0 | 896 | 0.6356 | 0.84 |
| 0.0843 | 8.99 | 1008 | 0.6925 | 0.83 |