marsyas/gtzan
Updated • 1.85k • 17
How to use linearity/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="linearity/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("linearity/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("linearity/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.9664 | 1.0 | 112 | 1.7811 | 0.51 |
| 1.2687 | 2.0 | 225 | 1.2183 | 0.73 |
| 0.8758 | 3.0 | 337 | 0.9457 | 0.72 |
| 0.7324 | 4.0 | 450 | 0.9182 | 0.76 |
| 0.4299 | 5.0 | 562 | 0.6771 | 0.79 |
| 0.3001 | 6.0 | 675 | 0.6645 | 0.78 |
| 0.22 | 7.0 | 787 | 0.5920 | 0.82 |
| 0.2417 | 8.0 | 900 | 0.6002 | 0.82 |
| 0.1849 | 9.0 | 1012 | 0.6047 | 0.83 |
| 0.1259 | 9.96 | 1120 | 0.5875 | 0.84 |
Base model
ntu-spml/distilhubert