marsyas/gtzan
Updated • 1.84k • 17
How to use mjavadf/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="mjavadf/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("mjavadf/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("mjavadf/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.9673 | 1.0 | 113 | 1.8630 | 0.52 |
| 1.2473 | 2.0 | 226 | 1.2624 | 0.65 |
| 1.0745 | 3.0 | 339 | 1.0512 | 0.68 |
| 0.7251 | 4.0 | 452 | 0.8825 | 0.75 |
| 0.5696 | 5.0 | 565 | 0.6549 | 0.85 |
| 0.3387 | 6.0 | 678 | 0.5806 | 0.84 |
| 0.2367 | 7.0 | 791 | 0.6163 | 0.83 |
| 0.13 | 8.0 | 904 | 0.6484 | 0.83 |
| 0.1232 | 9.0 | 1017 | 0.5800 | 0.85 |
| 0.1115 | 10.0 | 1130 | 0.5727 | 0.87 |
Base model
ntu-spml/distilhubert