marsyas/gtzan
Updated • 1.82k • 17
How to use bochen0909/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="bochen0909/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("bochen0909/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("bochen0909/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.0594 | 1.0 | 75 | 1.9411 | 0.59 |
| 1.4643 | 2.0 | 150 | 1.3450 | 0.72 |
| 1.1926 | 3.0 | 225 | 1.1038 | 0.7 |
| 0.9126 | 4.0 | 300 | 0.9084 | 0.71 |
| 0.6716 | 5.0 | 375 | 0.7864 | 0.77 |
| 0.5595 | 6.0 | 450 | 0.6647 | 0.8 |
| 0.4235 | 7.0 | 525 | 0.6587 | 0.8 |
| 0.3118 | 8.0 | 600 | 0.6317 | 0.81 |
| 0.2283 | 9.0 | 675 | 0.5696 | 0.84 |
| 0.264 | 10.0 | 750 | 0.5454 | 0.84 |
Base model
ntu-spml/distilhubert