marsyas/gtzan
Updated • 5k • 18
How to use ceefax/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="ceefax/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("ceefax/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("ceefax/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 | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.7683 | 1.0 | 113 | 1.8297 | 0.53 |
| 1.175 | 2.0 | 226 | 1.2060 | 0.67 |
| 0.9578 | 3.0 | 339 | 0.9063 | 0.72 |
| 0.5966 | 4.0 | 452 | 0.7675 | 0.76 |
| 0.461 | 5.0 | 565 | 0.6908 | 0.77 |
| 0.2916 | 6.0 | 678 | 0.5942 | 0.85 |
| 0.2538 | 7.0 | 791 | 0.6129 | 0.82 |
| 0.3156 | 8.0 | 904 | 0.5881 | 0.82 |
| 0.2019 | 9.0 | 1017 | 0.5949 | 0.81 |
| 0.1736 | 10.0 | 1130 | 0.5778 | 0.81 |