marsyas/gtzan
Updated • 1.89k • 17
How to use CornerINCorner/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="CornerINCorner/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("CornerINCorner/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("CornerINCorner/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.3797 | 1.0 | 57 | 1.7501 | 0.41 |
| 1.1585 | 2.0 | 114 | 1.3004 | 0.55 |
| 1.1663 | 3.0 | 171 | 1.1380 | 0.64 |
| 0.8421 | 4.0 | 228 | 1.0330 | 0.7 |
| 0.5175 | 5.0 | 285 | 0.7122 | 0.82 |
| 0.492 | 6.0 | 342 | 0.6735 | 0.79 |
| 0.2152 | 7.0 | 399 | 0.9674 | 0.79 |
| 0.1405 | 8.0 | 456 | 0.7406 | 0.84 |
| 0.0698 | 9.0 | 513 | 0.9159 | 0.83 |
| 0.0116 | 10.0 | 570 | 1.0726 | 0.85 |