marsyas/gtzan
Updated • 1.85k • 17
How to use derek-thomas/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="derek-thomas/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("derek-thomas/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("derek-thomas/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 |
|---|---|---|---|---|
| 2.0694 | 1.0 | 57 | 2.0452 | 0.42 |
| 1.6795 | 2.0 | 114 | 1.5549 | 0.55 |
| 1.1745 | 3.0 | 171 | 1.2160 | 0.73 |
| 1.1069 | 4.0 | 228 | 1.0979 | 0.73 |
| 0.7755 | 5.0 | 285 | 0.9282 | 0.73 |
| 0.7111 | 6.0 | 342 | 0.8393 | 0.78 |
| 0.5609 | 7.0 | 399 | 0.7911 | 0.79 |
| 0.4891 | 8.0 | 456 | 0.7098 | 0.81 |
| 0.518 | 9.0 | 513 | 0.7079 | 0.8 |
| 0.5737 | 10.0 | 570 | 0.7072 | 0.81 |