marsyas/gtzan
Updated • 4.37k • 18
How to use oyemade/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="oyemade/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("oyemade/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("oyemade/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 | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.0761 | 1.0 | 113 | 1.9856 | 0.5 |
| 1.3376 | 2.0 | 226 | 1.3481 | 0.65 |
| 1.0645 | 3.0 | 339 | 1.0655 | 0.68 |
| 0.6495 | 4.0 | 452 | 0.8836 | 0.73 |
| 0.4802 | 5.0 | 565 | 0.7388 | 0.79 |
| 0.3875 | 6.0 | 678 | 0.6475 | 0.74 |
| 0.2788 | 7.0 | 791 | 0.5626 | 0.84 |
| 0.0623 | 8.0 | 904 | 0.6053 | 0.86 |
| 0.0848 | 9.0 | 1017 | 0.5784 | 0.85 |
| 0.033 | 10.0 | 1130 | 0.6307 | 0.86 |
| 0.0152 | 11.0 | 1243 | 0.6946 | 0.82 |
| 0.0098 | 12.0 | 1356 | 0.6419 | 0.87 |
| 0.0083 | 13.0 | 1469 | 0.6583 | 0.87 |
| 0.0081 | 14.0 | 1582 | 0.6584 | 0.87 |
| 0.0072 | 15.0 | 1695 | 0.6691 | 0.86 |
Base model
ntu-spml/distilhubert