marsyas/gtzan
Updated • 1.75k • 17
How to use 0xtimi/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="0xtimi/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("0xtimi/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("0xtimi/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.2428 | 1.0 | 29 | 2.1699 | 0.41 |
| 1.9123 | 2.0 | 58 | 1.7838 | 0.58 |
| 1.6039 | 3.0 | 87 | 1.6371 | 0.56 |
| 1.3626 | 4.0 | 116 | 1.3458 | 0.66 |
| 1.2336 | 5.0 | 145 | 1.1972 | 0.69 |
| 1.1113 | 6.0 | 174 | 1.1061 | 0.71 |
| 1.0793 | 7.0 | 203 | 1.0137 | 0.75 |
| 0.9753 | 8.0 | 232 | 0.9772 | 0.77 |
| 0.8941 | 9.0 | 261 | 0.9584 | 0.75 |
| 0.8812 | 10.0 | 290 | 0.9310 | 0.76 |
Base model
ntu-spml/distilhubert