marsyas/gtzan
Updated • 1.7k • 17
How to use arsonor/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="arsonor/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("arsonor/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("arsonor/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 |
|---|---|---|---|---|
| 1.9262 | 1.0 | 113 | 1.8266 | 0.53 |
| 1.1614 | 2.0 | 226 | 1.2854 | 0.61 |
| 1.0452 | 3.0 | 339 | 0.9770 | 0.71 |
| 0.6382 | 4.0 | 452 | 0.7916 | 0.74 |
| 0.6421 | 5.0 | 565 | 0.6323 | 0.81 |
| 0.4065 | 6.0 | 678 | 0.5713 | 0.79 |
| 0.3308 | 7.0 | 791 | 0.5713 | 0.82 |
| 0.151 | 8.0 | 904 | 0.5504 | 0.82 |
| 0.1801 | 9.0 | 1017 | 0.5656 | 0.82 |
| 0.093 | 10.0 | 1130 | 0.5387 | 0.82 |
Base model
ntu-spml/distilhubert