marsyas/gtzan
Updated • 1.89k • 17
How to use salym/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="salym/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("salym/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("salym/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.9893 | 1.0 | 113 | 1.8741 | 0.52 |
| 1.226 | 2.0 | 226 | 1.2133 | 0.68 |
| 1.0168 | 3.0 | 339 | 1.0044 | 0.71 |
| 0.657 | 4.0 | 452 | 0.8143 | 0.75 |
| 0.4526 | 5.0 | 565 | 0.6556 | 0.82 |
| 0.5037 | 6.0 | 678 | 0.6259 | 0.79 |
| 0.2173 | 7.0 | 791 | 0.6018 | 0.81 |
| 0.1015 | 8.0 | 904 | 0.6096 | 0.82 |
| 0.1529 | 9.0 | 1017 | 0.5950 | 0.83 |
| 0.0752 | 10.0 | 1130 | 0.5907 | 0.84 |
Base model
ntu-spml/distilhubert