marsyas/gtzan
Updated • 1.91k • 17
How to use FrancescoBonzi/whisper-small-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="FrancescoBonzi/whisper-small-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("FrancescoBonzi/whisper-small-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("FrancescoBonzi/whisper-small-finetuned-gtzan")This model is a fine-tuned version of openai/whisper-small 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.3174 | 1.0 | 45 | 1.1768 | 0.61 |
| 0.687 | 2.0 | 90 | 0.7042 | 0.8 |
| 0.4524 | 3.0 | 135 | 0.4748 | 0.85 |
| 0.197 | 4.0 | 180 | 0.4230 | 0.89 |
| 0.2199 | 5.0 | 225 | 0.4980 | 0.88 |
| 0.113 | 6.0 | 270 | 0.3381 | 0.91 |
| 0.0054 | 7.0 | 315 | 0.3697 | 0.92 |
| 0.004 | 8.0 | 360 | 0.2930 | 0.94 |
| 0.0632 | 9.0 | 405 | 0.4574 | 0.92 |
| 0.0029 | 10.0 | 450 | 0.4130 | 0.92 |