marsyas/gtzan
Updated โข 6.61k โข 19
How to use cahill/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="cahill/distilhubert-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("cahill/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("cahill/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 |
|---|---|---|---|---|
| 2.1709 | 1.0 | 57 | 2.0557 | 0.49 |
| 1.5706 | 2.0 | 114 | 1.4771 | 0.67 |
| 1.281 | 3.0 | 171 | 1.1843 | 0.71 |
| 0.9681 | 4.0 | 228 | 1.0212 | 0.75 |
| 0.8235 | 5.0 | 285 | 0.8551 | 0.8 |
| 0.7163 | 6.0 | 342 | 0.7483 | 0.82 |
| 0.6457 | 7.0 | 399 | 0.7269 | 0.82 |
| 0.4788 | 8.0 | 456 | 0.6759 | 0.83 |
| 0.4501 | 9.0 | 513 | 0.6511 | 0.82 |
| 0.4386 | 10.0 | 570 | 0.6341 | 0.82 |
Base model
ntu-spml/distilhubert