marsyas/gtzan
Updated โข 13.8k โข 18
How to use mohammadreza-e/hubert-base-ls960-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="mohammadreza-e/hubert-base-ls960-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("mohammadreza-e/hubert-base-ls960-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("mohammadreza-e/hubert-base-ls960-finetuned-gtzan", device_map="auto")This model is a fine-tuned version of facebook/hubert-base-ls960 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 |
|---|---|---|---|---|
| 4.0166 | 1.0 | 113 | 1.9303 | 0.37 |
| 2.9802 | 2.0 | 226 | 1.5313 | 0.5 |
| 2.7809 | 3.0 | 339 | 1.2783 | 0.58 |
| 1.6393 | 4.0 | 452 | 1.0212 | 0.71 |
| 1.7196 | 5.0 | 565 | 0.9676 | 0.7 |
| 1.7533 | 6.0 | 678 | 0.8288 | 0.72 |
| 1.2629 | 7.0 | 791 | 0.5269 | 0.85 |
| 0.9351 | 8.0 | 904 | 0.6159 | 0.82 |
| 0.5778 | 9.0 | 1017 | 0.5569 | 0.83 |
| 0.4505 | 10.0 | 1130 | 0.5305 | 0.86 |
| 0.5766 | 11.0 | 1243 | 0.7149 | 0.83 |
| 0.3385 | 12.0 | 1356 | 0.7123 | 0.86 |
| 0.1503 | 13.0 | 1469 | 0.7124 | 0.84 |
| 0.4639 | 14.0 | 1582 | 0.6589 | 0.84 |
| 0.0482 | 15.0 | 1695 | 0.6629 | 0.86 |
Base model
facebook/hubert-base-ls960