marsyas/gtzan
Updated • 1.85k • 17
How to use NemesisAlm/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="NemesisAlm/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("NemesisAlm/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("NemesisAlm/distilhubert-finetuned-gtzan")This model is a fine-tuned version of NemesisAlm/distilhubert-finetuned-gtzan 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 |
|---|---|---|---|---|
| 0.0002 | 1.0 | 100 | 0.5783 | 0.915 |
| 0.1984 | 2.0 | 200 | 0.7051 | 0.91 |
| 0.0518 | 3.0 | 300 | 1.0287 | 0.865 |
| 0.0039 | 4.0 | 400 | 0.7660 | 0.895 |
| 0.0001 | 5.0 | 500 | 0.7513 | 0.91 |
| 0.0001 | 6.0 | 600 | 0.7757 | 0.9 |
| 0.0002 | 7.0 | 700 | 0.9340 | 0.87 |
| 0.0001 | 8.0 | 800 | 0.7237 | 0.9 |
| 0.0001 | 9.0 | 900 | 0.7298 | 0.905 |
| 0.0001 | 10.0 | 1000 | 0.7322 | 0.905 |