marsyas/gtzan
Updated • 1.7k • 17
How to use streamteck/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="streamteck/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("streamteck/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("streamteck/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.9685 | 1.0 | 113 | 1.8762 | 0.5 |
| 1.2448 | 2.0 | 226 | 1.2578 | 0.67 |
| 1.0675 | 3.0 | 339 | 1.0755 | 0.69 |
| 0.6778 | 4.0 | 452 | 0.7416 | 0.8 |
| 0.5237 | 5.0 | 565 | 0.6726 | 0.82 |
| 0.4327 | 6.0 | 678 | 0.6060 | 0.83 |
| 0.251 | 7.0 | 791 | 0.5492 | 0.85 |
| 0.1144 | 8.0 | 904 | 0.6163 | 0.8 |
| 0.144 | 9.0 | 1017 | 0.5960 | 0.84 |
| 0.1011 | 10.0 | 1130 | 0.6131 | 0.84 |
Base model
ntu-spml/distilhubert