marsyas/gtzan
Updated • 4.37k • 18
How to use 2010b9/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="2010b9/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("2010b9/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("2010b9/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.9663 | 1.0 | 113 | 1.8383 | 0.5 |
| 1.3044 | 2.0 | 226 | 1.2317 | 0.72 |
| 0.9295 | 3.0 | 339 | 1.0049 | 0.72 |
| 0.6622 | 4.0 | 452 | 0.7796 | 0.81 |
| 0.4615 | 5.0 | 565 | 0.6917 | 0.8 |
| 0.3902 | 6.0 | 678 | 0.6734 | 0.83 |
| 0.3192 | 7.0 | 791 | 0.6424 | 0.84 |
| 0.1831 | 8.0 | 904 | 0.5786 | 0.84 |
| 0.1182 | 9.0 | 1017 | 0.5741 | 0.84 |
| 0.0965 | 10.0 | 1130 | 0.5726 | 0.82 |
Base model
ntu-spml/distilhubert