marsyas/gtzan
Updated • 2.23k • 18
How to use emptx/wav2vec2-base-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="emptx/wav2vec2-base-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("emptx/wav2vec2-base-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("emptx/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.8272 | 1.0 | 113 | 1.8788 | 0.44 |
| 1.2356 | 2.0 | 226 | 1.4153 | 0.62 |
| 1.1365 | 3.0 | 339 | 1.1103 | 0.68 |
| 0.7226 | 4.0 | 452 | 0.9236 | 0.75 |
| 0.5402 | 5.0 | 565 | 0.8264 | 0.76 |
| 0.9363 | 6.0 | 678 | 0.7615 | 0.78 |
| 0.3935 | 7.0 | 791 | 0.7546 | 0.8 |
| 0.2594 | 8.0 | 904 | 0.5665 | 0.87 |
| 0.2275 | 9.0 | 1017 | 0.6310 | 0.84 |
| 0.0812 | 10.0 | 1130 | 0.5864 | 0.85 |
Base model
facebook/wav2vec2-base