marsyas/gtzan
Updated • 1.82k • 17
How to use bochen0909/whisper-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="bochen0909/whisper-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("bochen0909/whisper-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("bochen0909/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.3629 | 1.0 | 75 | 1.2791 | 0.6 |
| 0.6712 | 2.0 | 150 | 0.7613 | 0.75 |
| 0.5613 | 3.0 | 225 | 0.6708 | 0.77 |
| 0.2594 | 4.0 | 300 | 0.4979 | 0.86 |
| 0.0944 | 5.0 | 375 | 0.5922 | 0.85 |
| 0.1038 | 6.0 | 450 | 0.4702 | 0.89 |
| 0.0077 | 7.0 | 525 | 0.7109 | 0.85 |
| 0.0036 | 8.0 | 600 | 0.5821 | 0.87 |
| 0.0049 | 9.0 | 675 | 0.5013 | 0.9 |
| 0.0025 | 10.0 | 750 | 0.5279 | 0.9 |
Base model
openai/whisper-base