marsyas/gtzan
Updated • 1.59k • 17
How to use Sandiago21/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Sandiago21/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Sandiago21/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Sandiago21/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 |
|---|---|---|---|---|
| 1.8758 | 1.0 | 57 | 1.7723 | 0.51 |
| 1.2291 | 2.0 | 114 | 1.1713 | 0.69 |
| 0.8029 | 3.0 | 171 | 0.8953 | 0.75 |
| 0.7314 | 4.0 | 228 | 0.8242 | 0.73 |
| 0.3424 | 5.0 | 285 | 0.6117 | 0.82 |
| 0.229 | 6.0 | 342 | 0.5272 | 0.82 |
| 0.1571 | 7.0 | 399 | 0.5470 | 0.87 |
| 0.0777 | 8.0 | 456 | 0.5393 | 0.88 |
| 0.0539 | 9.0 | 513 | 0.5087 | 0.88 |
| 0.0688 | 10.0 | 570 | 0.5358 | 0.88 |