marsyas/gtzan
Updated • 1.82k • 17
How to use kfahn/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="kfahn/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("kfahn/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("kfahn/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.9391 | 1.0 | 113 | 1.7463 | 0.42 |
| 1.3438 | 2.0 | 226 | 1.1953 | 0.64 |
| 1.04 | 3.0 | 339 | 0.9436 | 0.72 |
| 0.8608 | 4.0 | 452 | 0.8464 | 0.74 |
| 0.5644 | 5.0 | 565 | 0.6846 | 0.8 |
| 0.4311 | 6.0 | 678 | 0.7118 | 0.77 |
| 0.509 | 7.0 | 791 | 0.5660 | 0.83 |
| 0.2548 | 8.0 | 904 | 0.5486 | 0.85 |