marsyas/gtzan
Updated • 3.23k • 18
How to use pknayak/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="pknayak/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("pknayak/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("pknayak/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.9502 | 1.0 | 113 | 1.7781 | 0.51 |
| 1.2616 | 2.0 | 226 | 1.1698 | 0.68 |
| 0.9512 | 3.0 | 339 | 0.8776 | 0.75 |
| 0.8453 | 4.0 | 452 | 0.8341 | 0.73 |
| 0.5448 | 5.0 | 565 | 0.6457 | 0.86 |
| 0.3014 | 6.0 | 678 | 0.7317 | 0.76 |
| 0.3948 | 7.0 | 791 | 0.5420 | 0.85 |
| 0.1436 | 8.0 | 904 | 0.5398 | 0.87 |
| 0.2 | 9.0 | 1017 | 0.5799 | 0.84 |
| 0.1685 | 10.0 | 1130 | 0.5414 | 0.87 |
Base model
ntu-spml/distilhubert