marsyas/gtzan
Updated • 1.62k • 17
How to use Drazic/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Drazic/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Drazic/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Drazic/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.8997 | 1.0 | 113 | 1.8274 | 0.51 |
| 1.1428 | 2.0 | 226 | 1.2306 | 0.67 |
| 1.0012 | 3.0 | 339 | 0.9782 | 0.73 |
| 0.6743 | 4.0 | 452 | 0.8846 | 0.75 |
| 0.5596 | 5.0 | 565 | 0.8065 | 0.79 |
| 0.4598 | 6.0 | 678 | 0.7410 | 0.78 |
| 0.3191 | 7.0 | 791 | 0.6906 | 0.81 |
| 0.1543 | 8.0 | 904 | 0.6774 | 0.8 |
| 0.1643 | 9.0 | 1017 | 0.7075 | 0.79 |
| 0.1437 | 10.0 | 1130 | 0.7100 | 0.8 |
Base model
ntu-spml/distilhubert