marsyas/gtzan
Updated • 1.62k • 17
How to use ShreyasM/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="ShreyasM/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("ShreyasM/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("ShreyasM/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 |
|---|---|---|---|---|
| 2.0175 | 1.0 | 113 | 1.8685 | 0.43 |
| 1.3608 | 2.0 | 226 | 1.2451 | 0.7 |
| 1.0476 | 3.0 | 339 | 1.0133 | 0.72 |
| 0.8503 | 4.0 | 452 | 0.7912 | 0.79 |
| 0.639 | 5.0 | 565 | 0.7219 | 0.8 |
| 0.3814 | 6.0 | 678 | 0.6759 | 0.79 |
| 0.5064 | 7.0 | 791 | 0.6471 | 0.8 |
| 0.1988 | 8.0 | 904 | 0.6336 | 0.78 |
| 0.3436 | 9.0 | 1017 | 0.6297 | 0.82 |
| 0.1866 | 10.0 | 1130 | 0.6464 | 0.82 |
Base model
ntu-spml/distilhubert