marsyas/gtzan
Updated • 4.45k • 18
How to use dariowsz/wav2vec2-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="dariowsz/wav2vec2-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("dariowsz/wav2vec2-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("dariowsz/wav2vec2-base-finetuned-gtzan", device_map="auto")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 |
|---|---|---|---|---|
| 1.7898 | 1.0 | 113 | 1.8052 | 0.45 |
| 1.4297 | 2.0 | 226 | 1.2229 | 0.62 |
| 1.041 | 3.0 | 339 | 0.9934 | 0.65 |
| 1.3882 | 4.0 | 452 | 1.1735 | 0.62 |
| 0.7248 | 5.0 | 565 | 0.8461 | 0.69 |
| 0.6128 | 6.0 | 678 | 0.7391 | 0.75 |
| 0.3225 | 7.0 | 791 | 0.8754 | 0.74 |
| 0.6483 | 8.0 | 904 | 0.8341 | 0.79 |
| 0.2755 | 9.0 | 1017 | 0.5537 | 0.88 |
| 0.4398 | 10.0 | 1130 | 0.6076 | 0.85 |