marsyas/gtzan
Updated • 4.45k • 18
How to use LenixC/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="LenixC/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("LenixC/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("LenixC/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.8732 | 1.0 | 113 | 1.9457 | 0.37 |
| 1.3925 | 2.0 | 226 | 1.4068 | 0.62 |
| 1.2338 | 3.0 | 339 | 1.0258 | 0.75 |
| 0.7905 | 4.0 | 452 | 0.8239 | 0.79 |
| 0.623 | 5.0 | 565 | 0.7121 | 0.78 |
| 0.4855 | 6.0 | 678 | 0.6421 | 0.83 |
| 0.3692 | 7.0 | 791 | 0.6564 | 0.79 |
| 0.4578 | 8.0 | 904 | 0.5604 | 0.87 |
| 0.3329 | 9.0 | 1017 | 0.5426 | 0.88 |
| 0.5075 | 10.0 | 1130 | 0.5409 | 0.87 |