marsyas/gtzan
Updated • 1.82k • 17
How to use sofiapecora/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="sofiapecora/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("sofiapecora/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("sofiapecora/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.9977 | 1.0 | 90 | 1.8501 | 0.47 |
| 1.2442 | 2.0 | 180 | 1.2525 | 0.65 |
| 1.1725 | 3.0 | 270 | 1.1111 | 0.68 |
| 0.955 | 4.0 | 360 | 0.8526 | 0.74 |
| 0.7524 | 5.0 | 450 | 0.7258 | 0.77 |
| 0.5618 | 6.0 | 540 | 0.7356 | 0.75 |
| 0.3265 | 7.0 | 630 | 0.6126 | 0.78 |
| 0.3194 | 8.0 | 720 | 0.5614 | 0.84 |
| 0.3098 | 9.0 | 810 | 0.5797 | 0.81 |
| 0.3189 | 10.0 | 900 | 0.5833 | 0.84 |
Base model
ntu-spml/distilhubert