marsyas/gtzan
Updated • 1.84k • 17
How to use jensg/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="jensg/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("jensg/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("jensg/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.1211 | 1.0 | 57 | 1.9967 | 0.4 |
| 1.6311 | 2.0 | 114 | 1.5599 | 0.58 |
| 1.2082 | 3.0 | 171 | 1.2194 | 0.72 |
| 1.1853 | 4.0 | 228 | 1.0276 | 0.75 |
| 0.7278 | 5.0 | 285 | 0.9232 | 0.78 |
| 0.6999 | 6.0 | 342 | 0.7392 | 0.82 |
| 0.4983 | 7.0 | 399 | 0.6779 | 0.84 |
| 0.5142 | 8.0 | 456 | 0.6483 | 0.83 |
| 0.417 | 9.0 | 513 | 0.6554 | 0.82 |
| 0.3725 | 10.0 | 570 | 0.5991 | 0.83 |
Base model
ntu-spml/distilhubert