marsyas/gtzan
Updated • 1.82k • 17
How to use vineetsharma/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="vineetsharma/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("vineetsharma/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("vineetsharma/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.735 | 1.0 | 113 | 1.7670 | 0.48 |
| 1.2344 | 2.0 | 226 | 1.2200 | 0.69 |
| 1.0264 | 3.0 | 339 | 0.8847 | 0.8 |
| 0.6698 | 4.0 | 452 | 0.7208 | 0.82 |
| 0.503 | 5.0 | 565 | 0.6785 | 0.78 |
| 0.3042 | 6.0 | 678 | 0.5969 | 0.84 |
| 0.2176 | 7.0 | 791 | 0.5525 | 0.86 |
| 0.3577 | 8.0 | 904 | 0.5487 | 0.85 |
| 0.137 | 9.0 | 1017 | 0.5064 | 0.87 |
| 0.1305 | 10.0 | 1130 | 0.5214 | 0.86 |
Base model
ntu-spml/distilhubert