marsyas/gtzan
Updated • 1.71k • 17
How to use Semoule/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Semoule/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Semoule/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Semoule/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.9155 | 1.0 | 112 | 1.9092 | 0.42 |
| 1.2216 | 2.0 | 225 | 1.3236 | 0.61 |
| 0.9667 | 3.0 | 337 | 0.9840 | 0.75 |
| 0.8565 | 4.0 | 450 | 0.8011 | 0.8 |
| 0.5423 | 5.0 | 562 | 0.7550 | 0.77 |
| 0.4098 | 6.0 | 675 | 0.7600 | 0.75 |
| 0.2576 | 7.0 | 787 | 0.6959 | 0.81 |
| 0.1524 | 8.0 | 900 | 0.5586 | 0.82 |
| 0.1526 | 9.0 | 1012 | 0.5674 | 0.84 |
| 0.1845 | 9.96 | 1120 | 0.5992 | 0.84 |
Base model
ntu-spml/distilhubert