marsyas/gtzan
Updated • 4.54k • 18
How to use Liea/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Liea/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Liea/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Liea/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.0249 | 1.0 | 88 | 1.9523 | 0.4667 |
| 1.3937 | 2.0 | 176 | 1.4094 | 0.62 |
| 1.2571 | 3.0 | 264 | 1.2109 | 0.6567 |
| 0.9939 | 4.0 | 352 | 0.9954 | 0.7067 |
| 0.7253 | 5.0 | 440 | 0.8227 | 0.78 |
| 0.6612 | 6.0 | 528 | 0.8231 | 0.76 |
| 0.3185 | 7.0 | 616 | 0.7390 | 0.79 |
| 0.2263 | 8.0 | 704 | 0.7152 | 0.78 |
| 0.4796 | 9.0 | 792 | 0.6964 | 0.7833 |
| 0.3332 | 10.0 | 880 | 0.6895 | 0.7867 |
Base model
ntu-spml/distilhubert