marsyas/gtzan
Updated • 4.55k • 18
How to use AbelHo/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="AbelHo/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("AbelHo/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("AbelHo/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 |
|---|---|---|---|---|
| 1.9557 | 1.0 | 113 | 1.7801 | 0.5 |
| 1.3724 | 2.0 | 226 | 1.2585 | 0.66 |
| 1.1044 | 3.0 | 339 | 0.9137 | 0.78 |
| 0.8747 | 4.0 | 452 | 0.7600 | 0.84 |
| 0.6006 | 5.0 | 565 | 0.6441 | 0.84 |
| 0.4287 | 6.0 | 678 | 0.5872 | 0.83 |
| 0.4443 | 7.0 | 791 | 0.4529 | 0.87 |
| 0.1481 | 8.0 | 904 | 0.4670 | 0.89 |
| 0.1915 | 9.0 | 1017 | 0.4211 | 0.86 |
| 0.0791 | 10.0 | 1130 | 0.4304 | 0.88 |
Base model
ntu-spml/distilhubert