marsyas/gtzan
Updated • 7.32k • 17
How to use van-ng/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="van-ng/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("van-ng/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("van-ng/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
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|---|---|---|---|---|
| 1.9415 | 1.0 | 113 | 0.55 | 1.8500 |
| 1.3078 | 2.0 | 226 | 0.58 | 1.3794 |
| 1.1238 | 3.0 | 339 | 0.65 | 1.0919 |
| 0.788 | 4.0 | 452 | 0.68 | 1.0212 |
| 0.5932 | 5.0 | 565 | 0.69 | 0.8691 |
| 0.4042 | 6.0 | 678 | 0.71 | 0.8527 |
| 0.3421 | 7.0 | 791 | 0.75 | 0.7737 |
| 0.223 | 8.0 | 904 | 0.75 | 0.8463 |
| 0.1162 | 9.0 | 1017 | 0.77 | 0.7808 |
| 0.0863 | 10.0 | 1130 | 0.75 | 0.7487 |
| 0.1357 | 11.0 | 1243 | 0.8839 | 0.76 |
| 0.0632 | 12.0 | 1356 | 0.7509 | 0.76 |
| 0.0342 | 13.0 | 1469 | 0.8219 | 0.77 |
| 0.0277 | 14.0 | 1582 | 0.7691 | 0.8 |
| 0.0307 | 15.0 | 1695 | 0.7854 | 0.77 |