marsyas/gtzan
Updated • 1.78k • 17
How to use deeeed/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="deeeed/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("deeeed/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("deeeed/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 |
|---|---|---|---|---|
| 0.2883 | 1.0 | 113 | 0.6665 | 0.79 |
| 0.1746 | 2.0 | 226 | 0.7713 | 0.78 |
| 0.0996 | 3.0 | 339 | 0.6460 | 0.85 |
| 0.0895 | 4.0 | 452 | 0.6780 | 0.85 |
| 0.0154 | 5.0 | 565 | 0.8219 | 0.85 |
| 0.0044 | 6.0 | 678 | 0.8064 | 0.82 |
| 0.0033 | 7.0 | 791 | 0.9176 | 0.82 |
| 0.0023 | 8.0 | 904 | 0.8912 | 0.85 |
| 0.0024 | 9.0 | 1017 | 0.8974 | 0.86 |
| 0.0022 | 10.0 | 1130 | 0.8984 | 0.86 |
Base model
ntu-spml/distilhubert