marsyas/gtzan
Updated • 4.37k • 18
How to use Agneev/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Agneev/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Agneev/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Agneev/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 |
|---|---|---|---|---|
| 2.0253 | 0.99 | 28 | 1.8206 | 0.38 |
| 1.3127 | 1.98 | 56 | 1.1930 | 0.64 |
| 0.9726 | 2.97 | 84 | 0.9269 | 0.69 |
| 1.2272 | 4.0 | 113 | 1.1682 | 0.66 |
| 0.6441 | 4.99 | 141 | 0.9781 | 0.71 |
| 0.5447 | 5.98 | 169 | 0.8603 | 0.74 |
| 0.3067 | 6.97 | 197 | 0.6313 | 0.86 |
| 0.1481 | 8.0 | 226 | 0.5746 | 0.89 |
| 0.0599 | 8.99 | 254 | 0.7602 | 0.84 |
| 0.0306 | 9.91 | 280 | 0.8119 | 0.81 |
Base model
ntu-spml/distilhubert