marsyas/gtzan
Updated • 3.99k • 18
How to use CordwainerSmith/distilhubert-finetuned-gtzan-v3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="CordwainerSmith/distilhubert-finetuned-gtzan-v3") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("CordwainerSmith/distilhubert-finetuned-gtzan-v3")
model = AutoModelForAudioClassification.from_pretrained("CordwainerSmith/distilhubert-finetuned-gtzan-v3", 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.9855 | 1.0 | 113 | 1.7934 | 0.52 |
| 1.3551 | 2.0 | 226 | 1.2638 | 0.68 |
| 1.0094 | 3.0 | 339 | 0.9340 | 0.76 |
| 0.9176 | 4.0 | 452 | 0.7845 | 0.78 |
| 0.6402 | 5.0 | 565 | 0.6458 | 0.81 |
| 0.3626 | 6.0 | 678 | 0.5620 | 0.85 |
| 0.4944 | 7.0 | 791 | 0.5078 | 0.82 |
| 0.1754 | 8.0 | 904 | 0.4793 | 0.81 |
| 0.2203 | 9.0 | 1017 | 0.4875 | 0.84 |
| 0.1121 | 10.0 | 1130 | 0.5053 | 0.87 |
Base model
ntu-spml/distilhubert