marsyas/gtzan
Updated • 1.82k • 17
How to use StatsGary/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="StatsGary/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("StatsGary/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("StatsGary/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 |
|---|---|---|---|---|
| 0.5455 | 1.0 | 57 | 0.7144 | 0.76 |
| 0.5342 | 2.0 | 114 | 0.8039 | 0.75 |
| 0.1636 | 3.0 | 171 | 0.6388 | 0.83 |
| 0.1868 | 4.0 | 228 | 0.6027 | 0.81 |
| 0.0643 | 5.0 | 285 | 0.6728 | 0.83 |
| 0.0418 | 6.0 | 342 | 0.6726 | 0.82 |
| 0.0925 | 7.0 | 399 | 0.9795 | 0.81 |
| 0.0047 | 8.0 | 456 | 1.0072 | 0.82 |
| 0.0296 | 9.0 | 513 | 0.9450 | 0.82 |
| 0.0031 | 10.0 | 570 | 0.9462 | 0.82 |
Base model
ntu-spml/distilhubert