marsyas/gtzan
Updated • 1.49k • 17
How to use JBJoyce/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="JBJoyce/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("JBJoyce/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("JBJoyce/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.7451 | 1.0 | 113 | 1.7870 | 0.46 |
| 1.3112 | 2.0 | 226 | 1.3802 | 0.6 |
| 1.0303 | 3.0 | 339 | 1.0234 | 0.71 |
| 0.7231 | 4.0 | 452 | 0.8570 | 0.75 |
| 0.5857 | 5.0 | 565 | 0.7428 | 0.78 |
| 0.3953 | 6.0 | 678 | 0.6162 | 0.85 |
| 0.2594 | 7.0 | 791 | 0.6163 | 0.84 |
| 0.3199 | 8.0 | 904 | 0.5505 | 0.85 |
| 0.1998 | 9.0 | 1017 | 0.5385 | 0.86 |
| 0.2329 | 10.0 | 1130 | 0.5382 | 0.88 |