marsyas/gtzan
Updated • 1.62k • 17
How to use ankity09/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="ankity09/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("ankity09/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("ankity09/distilhubert-finetuned-gtzan")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.9628 | 1.0 | 113 | 1.9296 | 0.47 |
| 1.2246 | 2.0 | 226 | 1.2770 | 0.62 |
| 0.9369 | 3.0 | 339 | 1.0095 | 0.72 |
| 0.7699 | 4.0 | 452 | 0.7454 | 0.8 |
| 0.4939 | 5.0 | 565 | 0.6171 | 0.84 |
| 0.4433 | 6.0 | 678 | 0.5770 | 0.86 |
| 0.3029 | 7.0 | 791 | 0.5737 | 0.85 |
| 0.1695 | 8.0 | 904 | 0.4982 | 0.86 |
| 0.092 | 9.0 | 1017 | 0.5340 | 0.86 |
| 0.0925 | 10.0 | 1130 | 0.5349 | 0.87 |
Base model
ntu-spml/distilhubert