marsyas/gtzan
Updated • 1.77k • 17
How to use Kodamn47/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Kodamn47/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Kodamn47/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Kodamn47/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 |
|---|---|---|---|---|
| 0.74 | 1.0 | 112 | 0.6136 | 0.81 |
| 0.6137 | 2.0 | 225 | 0.7364 | 0.76 |
| 0.5996 | 3.0 | 337 | 0.5322 | 0.88 |
| 0.516 | 4.0 | 450 | 0.9805 | 0.73 |
| 0.4013 | 5.0 | 562 | 0.5349 | 0.86 |
| 0.1779 | 6.0 | 675 | 0.6328 | 0.82 |
| 0.1356 | 7.0 | 787 | 0.5007 | 0.85 |
| 0.1938 | 8.0 | 900 | 0.5199 | 0.86 |
| 0.3675 | 9.0 | 1012 | 0.4209 | 0.9 |
| 0.1299 | 9.96 | 1120 | 0.4487 | 0.88 |
Base model
ntu-spml/distilhubert