marsyas/gtzan
Updated • 1.76k • 17
How to use VoicesColeby/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="VoicesColeby/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("VoicesColeby/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("VoicesColeby/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 |
|---|---|---|---|---|
| 2.1087 | 1.0 | 113 | 2.0088 | 0.52 |
| 1.3935 | 2.0 | 226 | 1.3173 | 0.65 |
| 0.8685 | 3.0 | 339 | 1.0099 | 0.74 |
| 0.7505 | 4.0 | 452 | 0.7838 | 0.76 |
| 0.5099 | 5.0 | 565 | 0.6810 | 0.83 |
| 0.4902 | 6.0 | 678 | 0.5436 | 0.86 |
| 0.2815 | 7.0 | 791 | 0.5144 | 0.84 |
| 0.2062 | 8.0 | 904 | 0.5575 | 0.84 |
| 0.0847 | 9.0 | 1017 | 0.5333 | 0.88 |
| 0.0254 | 10.0 | 1130 | 0.5955 | 0.86 |
| 0.0245 | 11.0 | 1243 | 0.5819 | 0.89 |
| 0.0282 | 12.0 | 1356 | 0.6459 | 0.86 |
| 0.0119 | 13.0 | 1469 | 0.6356 | 0.89 |
| 0.0089 | 14.0 | 1582 | 0.6942 | 0.87 |
| 0.0085 | 15.0 | 1695 | 0.6543 | 0.88 |
Base model
ntu-spml/distilhubert