marsyas/gtzan
Updated • 4.24k • 18
How to use Makerathian/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Makerathian/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Makerathian/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Makerathian/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.7667 | 1.0 | 113 | 1.8361 | 0.38 |
| 1.285 | 2.0 | 226 | 1.3397 | 0.58 |
| 1.109 | 3.0 | 339 | 1.0122 | 0.71 |
| 0.6605 | 4.0 | 452 | 0.7638 | 0.83 |
| 0.4847 | 5.0 | 565 | 0.6630 | 0.8 |
| 0.3533 | 6.0 | 678 | 0.5960 | 0.83 |
| 0.2344 | 7.0 | 791 | 0.5696 | 0.83 |
| 0.3147 | 8.0 | 904 | 0.5391 | 0.87 |
| 0.1588 | 9.0 | 1017 | 0.5477 | 0.88 |
| 0.1341 | 10.0 | 1130 | 0.5630 | 0.85 |