marsyas/gtzan
Updated • 4.37k • 18
How to use kclee111/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="kclee111/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("kclee111/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("kclee111/distilhubert-finetuned-gtzan", device_map="auto")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.9198 | 1.0 | 113 | 1.8298 | 0.49 |
| 1.2106 | 2.0 | 226 | 1.1905 | 0.68 |
| 0.9757 | 3.0 | 339 | 0.9692 | 0.75 |
| 0.7117 | 4.0 | 452 | 0.8159 | 0.73 |
| 0.5184 | 5.0 | 565 | 0.6510 | 0.79 |
| 0.3797 | 6.0 | 678 | 0.5643 | 0.85 |
| 0.3364 | 7.0 | 791 | 0.5896 | 0.84 |
| 0.1232 | 8.0 | 904 | 0.5961 | 0.85 |
| 0.2065 | 9.0 | 1017 | 0.5676 | 0.85 |
| 0.0881 | 10.0 | 1130 | 0.5561 | 0.84 |
Base model
ntu-spml/distilhubert