marsyas/gtzan
Updated โข 6.71k โข 19
How to use DanGalt/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="DanGalt/distilhubert-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("DanGalt/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("DanGalt/distilhubert-finetuned-gtzan", device_map="auto")This model is a fine-tuned version of ntu-spml/distilhubert 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.5923 | 1.0 | 113 | 1.7310 | 0.44 |
| 1.2071 | 2.0 | 226 | 1.2546 | 0.62 |
| 1.0673 | 3.0 | 339 | 0.9320 | 0.76 |
| 0.8149 | 4.0 | 452 | 0.8768 | 0.81 |
| 0.4999 | 5.0 | 565 | 0.7154 | 0.86 |
| 0.3562 | 6.0 | 678 | 0.6631 | 0.89 |
| 0.3852 | 7.0 | 791 | 0.7136 | 0.87 |
| 0.4476 | 8.0 | 904 | 0.7162 | 0.88 |