marsyas/gtzan
Updated • 1.75k • 17
How to use kazeric/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="kazeric/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("kazeric/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("kazeric/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.0001 | 1.0 | 113 | 1.9086 | 0.46 |
| 1.2981 | 2.0 | 226 | 1.3272 | 0.66 |
| 1.0905 | 3.0 | 339 | 1.1106 | 0.68 |
| 0.686 | 4.0 | 452 | 0.8421 | 0.72 |
| 0.6157 | 5.0 | 565 | 0.7170 | 0.81 |
| 0.49 | 6.0 | 678 | 0.5918 | 0.85 |
| 0.3198 | 7.0 | 791 | 0.5032 | 0.84 |
| 0.1341 | 8.0 | 904 | 0.5434 | 0.82 |
| 0.1452 | 9.0 | 1017 | 0.5093 | 0.85 |
| 0.1037 | 10.0 | 1130 | 0.5137 | 0.86 |
Base model
ntu-spml/distilhubert