marsyas/gtzan
Updated • 1.82k • 17
How to use adbcode/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="adbcode/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("adbcode/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("adbcode/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.2237 | 1.0 | 113 | 2.1326 | 0.39 |
| 1.6826 | 2.0 | 226 | 1.6199 | 0.55 |
| 1.337 | 3.0 | 339 | 1.2402 | 0.68 |
| 1.1666 | 4.0 | 452 | 1.0541 | 0.74 |
| 0.9228 | 5.0 | 565 | 0.8920 | 0.79 |
| 0.6978 | 6.0 | 678 | 0.7836 | 0.8 |
| 0.7301 | 7.0 | 791 | 0.6265 | 0.84 |
| 0.3828 | 8.0 | 904 | 0.5773 | 0.83 |
| 0.4556 | 9.0 | 1017 | 0.5133 | 0.84 |
| 0.293 | 10.0 | 1130 | 0.4869 | 0.87 |
| 0.1572 | 11.0 | 1243 | 0.4663 | 0.86 |
| 0.1201 | 12.0 | 1356 | 0.5136 | 0.82 |
| 0.1012 | 13.0 | 1469 | 0.4456 | 0.86 |
| 0.0958 | 14.0 | 1582 | 0.4376 | 0.87 |
| 0.0809 | 15.0 | 1695 | 0.4340 | 0.86 |
Base model
ntu-spml/distilhubert