marsyas/gtzan
Updated • 1.78k • 18
How to use cthiriet/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="cthiriet/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("cthiriet/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("cthiriet/distilhubert-finetuned-gtzan", device_map="auto")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 | Accuracy | Validation Loss |
|---|---|---|---|---|
| 2.123 | 0.99 | 56 | 0.34 | 2.0351 |
| 1.5133 | 2.0 | 113 | 0.63 | 1.4339 |
| 1.2081 | 2.99 | 169 | 0.7 | 1.1070 |
| 1.007 | 4.0 | 226 | 0.78 | 0.9590 |
| 0.7952 | 4.99 | 282 | 0.79 | 0.8661 |
| 0.6369 | 6.0 | 339 | 0.75 | 0.8490 |
| 0.5794 | 6.99 | 392 | 0.6839 | 0.82 |
| 0.4896 | 8.0 | 449 | 0.6623 | 0.84 |
| 0.5667 | 8.99 | 505 | 0.6228 | 0.83 |
| 0.46 | 9.96 | 560 | 0.6028 | 0.87 |
Base model
ntu-spml/distilhubert