marsyas/gtzan
Updated • 1.61k • 17
How to use xiaoyi-fastlabs/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="xiaoyi-fastlabs/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("xiaoyi-fastlabs/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("xiaoyi-fastlabs/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.9394 | 1.0 | 113 | 1.8436 | 0.53 |
| 1.2068 | 2.0 | 226 | 1.2503 | 0.64 |
| 1.0451 | 3.0 | 339 | 0.9855 | 0.72 |
| 0.6302 | 4.0 | 452 | 0.8493 | 0.77 |
| 0.4594 | 5.0 | 565 | 0.6346 | 0.81 |
| 0.2671 | 6.0 | 678 | 0.5415 | 0.85 |
| 0.2603 | 7.0 | 791 | 0.6119 | 0.82 |
| 0.1141 | 8.0 | 904 | 0.5004 | 0.86 |
| 0.114 | 9.0 | 1017 | 0.5738 | 0.81 |
| 0.0734 | 10.0 | 1130 | 0.5230 | 0.87 |
Base model
ntu-spml/distilhubert