marsyas/gtzan
Updated • 3.23k • 18
How to use BrainTheos/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="BrainTheos/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("BrainTheos/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("BrainTheos/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 |
|---|---|---|---|---|
| 2.0043 | 1.0 | 113 | 1.8699 | 0.43 |
| 1.3203 | 2.0 | 226 | 1.2474 | 0.61 |
| 1.0038 | 3.0 | 339 | 0.9521 | 0.76 |
| 0.873 | 4.0 | 452 | 0.8329 | 0.71 |
| 0.6408 | 5.0 | 565 | 0.6654 | 0.83 |
| 0.3925 | 6.0 | 678 | 0.6029 | 0.81 |
| 0.4296 | 7.0 | 791 | 0.5544 | 0.83 |
| 0.209 | 8.0 | 904 | 0.5174 | 0.87 |
| 0.2173 | 9.0 | 1017 | 0.5009 | 0.87 |
| 0.1635 | 10.0 | 1130 | 0.5383 | 0.81 |