marsyas/gtzan
Updated • 4.24k • 18
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 |
|---|---|---|---|---|
| 1.8535 | 1.0 | 169 | 1.7264 | 0.5275 |
| 1.2570 | 2.0 | 338 | 1.2368 | 0.6995 |
| 1.0383 | 3.0 | 507 | 1.0339 | 0.7679 |
| 0.9262 | 4.0 | 676 | 1.0621 | 0.7563 |
| 0.7975 | 5.0 | 845 | 0.9497 | 0.8030 |
| 0.7666 | 6.0 | 1014 | 0.9493 | 0.8047 |
| 0.7252 | 7.0 | 1183 | 0.9272 | 0.8230 |
| 0.7026 | 8.0 | 1352 | 0.9323 | 0.8197 |
| 0.6705 | 9.0 | 1521 | 0.9310 | 0.8197 |
| 0.6881 | 10.0 | 1690 | 0.9350 | 0.8197 |
Base model
ntu-spml/distilhubert