marsyas/gtzan
Updated • 1.83k • 17
How to use trissondon/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="trissondon/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("trissondon/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("trissondon/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.9712 | 1.0 | 113 | 1.9122 | 0.47 |
| 1.2031 | 2.0 | 226 | 1.3221 | 0.61 |
| 0.9693 | 3.0 | 339 | 0.9988 | 0.72 |
| 0.871 | 4.0 | 452 | 0.8685 | 0.77 |
| 0.4698 | 5.0 | 565 | 0.7312 | 0.81 |
| 0.4306 | 6.0 | 678 | 0.7236 | 0.78 |
| 0.2482 | 7.0 | 791 | 0.8157 | 0.76 |
| 0.2672 | 8.0 | 904 | 0.5917 | 0.85 |
| 0.1592 | 9.0 | 1017 | 0.6369 | 0.83 |
| 0.1181 | 10.0 | 1130 | 0.6580 | 0.83 |
Base model
ntu-spml/distilhubert