marsyas/gtzan
Updated • 1.61k • 17
How to use NicolasDenier/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="NicolasDenier/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("NicolasDenier/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("NicolasDenier/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 |
|---|---|---|---|---|
| 2.2281 | 1.0 | 112 | 2.1128 | 0.26 |
| 1.7082 | 2.0 | 225 | 1.6252 | 0.52 |
| 1.267 | 3.0 | 337 | 1.3100 | 0.54 |
| 1.1791 | 4.0 | 450 | 1.0496 | 0.71 |
| 1.1765 | 5.0 | 562 | 0.8928 | 0.74 |
| 0.5714 | 6.0 | 675 | 0.8298 | 0.77 |
| 0.4869 | 7.0 | 787 | 0.7145 | 0.79 |
| 0.4967 | 8.0 | 900 | 0.6990 | 0.82 |
| 0.8314 | 9.0 | 1012 | 0.5657 | 0.83 |
| 0.4633 | 10.0 | 1125 | 0.4589 | 0.89 |
| 0.5547 | 11.0 | 1237 | 0.4919 | 0.86 |
| 0.4827 | 12.0 | 1350 | 0.4069 | 0.92 |
| 0.324 | 13.0 | 1462 | 0.4634 | 0.87 |
| 0.5224 | 14.0 | 1575 | 0.4419 | 0.86 |
| 0.1873 | 15.0 | 1687 | 0.3988 | 0.89 |
| 0.2852 | 16.0 | 1800 | 0.3788 | 0.9 |
| 0.3169 | 17.0 | 1912 | 0.3526 | 0.89 |
| 0.4491 | 17.92 | 2016 | 0.3539 | 0.91 |