marsyas/gtzan
Updated • 1.97k • 18
How to use PawanKrGunjan/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="PawanKrGunjan/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("PawanKrGunjan/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("PawanKrGunjan/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 |
|---|---|---|---|---|
| 2.2974 | 1.0 | 113 | 2.3697 | 0.15 |
| 1.8442 | 2.0 | 226 | 2.0701 | 0.23 |
| 1.8327 | 3.0 | 339 | 1.7909 | 0.37 |
| 1.9187 | 4.0 | 452 | 1.6335 | 0.48 |
| 1.5423 | 5.0 | 565 | nan | 0.43 |
| 1.4421 | 6.0 | 678 | 1.7215 | 0.4 |
| 1.9459 | 7.0 | 791 | 1.5886 | 0.45 |
| 1.2156 | 8.0 | 904 | nan | 0.48 |
| 1.4846 | 9.0 | 1017 | nan | 0.53 |
| 0.939 | 10.0 | 1130 | nan | 0.51 |
Base model
ntu-spml/distilhubert