marsyas/gtzan
Updated • 1.84k • 17
How to use Lightmourne/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Lightmourne/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Lightmourne/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Lightmourne/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.9964 | 1.0 | 112 | 1.8442 | 0.5 |
| 1.3501 | 2.0 | 225 | 1.2660 | 0.68 |
| 0.921 | 3.0 | 337 | 0.9293 | 0.75 |
| 0.655 | 4.0 | 450 | 0.9135 | 0.73 |
| 0.3911 | 5.0 | 562 | 0.6855 | 0.76 |
| 0.2286 | 6.0 | 675 | 0.5951 | 0.82 |
| 0.2095 | 7.0 | 787 | 0.5583 | 0.82 |
| 0.1798 | 8.0 | 900 | 0.4626 | 0.87 |
| 0.2574 | 9.0 | 1012 | 0.5043 | 0.85 |
| 0.1796 | 9.96 | 1120 | 0.4794 | 0.87 |
Base model
ntu-spml/distilhubert