marsyas/gtzan
Updated • 1.82k • 17
How to use DavidFM43/wav2vec2-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="DavidFM43/wav2vec2-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("DavidFM43/wav2vec2-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("DavidFM43/wav2vec2-base-finetuned-gtzan")This model is a fine-tuned version of facebook/wav2vec2-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 |
|---|---|---|---|---|
| 2.0547 | 0.99 | 56 | 2.0066 | 0.45 |
| 1.7392 | 2.0 | 113 | 1.5974 | 0.57 |
| 1.5689 | 2.99 | 169 | 1.4470 | 0.59 |
| 1.2626 | 4.0 | 226 | 1.2541 | 0.66 |
| 1.1188 | 4.99 | 282 | 1.2458 | 0.65 |
| 0.9776 | 6.0 | 339 | 0.9830 | 0.75 |
| 0.9396 | 6.99 | 395 | 0.8980 | 0.74 |
| 0.8677 | 8.0 | 452 | 0.8398 | 0.8 |
| 0.8194 | 8.99 | 508 | 0.7868 | 0.82 |
| 0.7274 | 9.91 | 560 | 0.8270 | 0.83 |