marsyas/gtzan
Updated • 1.96k • 17
How to use jensg/whisper-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="jensg/whisper-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("jensg/whisper-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("jensg/whisper-base-finetuned-gtzan")This model is a fine-tuned version of openai/whisper-base 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.589 | 1.0 | 57 | 1.4820 | 0.55 |
| 0.8965 | 2.0 | 114 | 0.8220 | 0.74 |
| 0.5723 | 3.0 | 171 | 0.5528 | 0.85 |
| 0.2395 | 4.0 | 228 | 0.6258 | 0.81 |
| 0.113 | 5.0 | 285 | 0.5659 | 0.82 |
| 0.2278 | 6.0 | 342 | 0.6686 | 0.83 |
| 0.0918 | 7.0 | 399 | 0.7184 | 0.86 |
| 0.0487 | 8.0 | 456 | 0.8123 | 0.87 |
| 0.0001 | 9.0 | 513 | 0.9589 | 0.86 |
| 0.0001 | 10.0 | 570 | 0.9387 | 0.88 |
Base model
openai/whisper-base