marsyas/gtzan
Updated • 9.28k • 17
How to use Shamik/whisper-base.en-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Shamik/whisper-base.en-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Shamik/whisper-base.en-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Shamik/whisper-base.en-finetuned-gtzan")This model is a fine-tuned version of openai/whisper-base.en 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.5696 | 0.99 | 56 | 1.3573 | 0.62 |
| 0.9913 | 2.0 | 113 | 0.7820 | 0.77 |
| 0.4771 | 2.99 | 169 | 0.4873 | 0.84 |
| 0.4411 | 4.0 | 226 | 0.3367 | 0.91 |
| 0.1615 | 4.99 | 282 | 0.3412 | 0.92 |
| 0.1339 | 6.0 | 339 | 0.4125 | 0.91 |
| 0.0331 | 6.99 | 395 | 0.4773 | 0.89 |
| 0.0382 | 8.0 | 452 | 0.4282 | 0.88 |
| 0.049 | 8.99 | 508 | 0.4634 | 0.9 |
| 0.0312 | 9.91 | 560 | 0.4444 | 0.9 |
Base model
openai/whisper-base.en