marsyas/gtzan
Updated • 1.89k • 17
How to use fierce74/wav2vec2-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="fierce74/wav2vec2-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("fierce74/wav2vec2-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("fierce74/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 | Accuracy | Validation Loss |
|---|---|---|---|---|
| 1.9043 | 1.0 | 113 | 0.46 | 1.8057 |
| 1.2603 | 2.0 | 226 | 0.58 | 1.3549 |
| 1.1442 | 3.0 | 339 | 0.68 | 1.0001 |
| 0.6053 | 4.0 | 452 | 0.68 | 0.9841 |
| 0.5621 | 5.0 | 565 | 0.69 | 0.9519 |
| 0.541 | 6.0 | 678 | 0.79 | 0.6576 |
| 0.3868 | 7.0 | 791 | 0.86 | 0.4867 |
| 0.1518 | 8.0 | 904 | 0.84 | 0.5443 |
| 0.1699 | 9.0 | 1017 | 0.91 | 0.4024 |
| 0.0798 | 10.0 | 1130 | 0.5878 | 0.86 |
| 0.1869 | 11.0 | 1243 | 0.6483 | 0.86 |
| 0.1439 | 12.0 | 1356 | 0.5916 | 0.87 |
Base model
facebook/wav2vec2-base