marsyas/gtzan
Updated • 1.87k • 17
How to use karanjakhar/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="karanjakhar/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("karanjakhar/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("karanjakhar/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.0235 | 0.99 | 28 | 1.0778 | 0.83 |
| 0.0072 | 1.98 | 56 | 1.0815 | 0.83 |
| 0.0004 | 2.97 | 84 | 1.1249 | 0.82 |
| 0.0003 | 4.0 | 113 | 1.1113 | 0.81 |
| 0.0002 | 4.99 | 141 | 1.1442 | 0.79 |
| 0.0137 | 5.98 | 169 | 1.0623 | 0.84 |
| 0.0048 | 6.97 | 197 | 1.0193 | 0.86 |
| 0.0087 | 8.0 | 226 | 1.0578 | 0.84 |
| 0.0055 | 8.99 | 254 | 1.0279 | 0.86 |
| 0.005 | 9.91 | 280 | 1.0283 | 0.86 |
Base model
ntu-spml/distilhubert