marsyas/gtzan
Updated • 6.61k • 17
How to use Janos98/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Janos98/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Janos98/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Janos98/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 |
|---|---|---|---|---|
| 4.1776 | 1.0 | 57 | 1.9664 | 0.47 |
| 3.3353 | 2.0 | 114 | 1.6160 | 0.58 |
| 2.9788 | 3.0 | 171 | 1.4171 | 0.61 |
| 2.3562 | 4.0 | 228 | 1.2566 | 0.67 |
| 1.9113 | 5.0 | 285 | 1.0231 | 0.8 |
| 1.9340 | 6.0 | 342 | 0.9178 | 0.81 |
| 1.7634 | 7.0 | 399 | 0.8589 | 0.8 |
| 1.4341 | 8.0 | 456 | 0.7970 | 0.82 |
| 1.3195 | 9.0 | 513 | 0.7285 | 0.87 |
| 1.1860 | 10.0 | 570 | 0.7008 | 0.83 |
| 1.1085 | 11.0 | 627 | 0.6904 | 0.82 |
| 1.0258 | 12.0 | 684 | 0.6866 | 0.82 |
Base model
ntu-spml/distilhubert