marsyas/gtzan
Updated • 8.97k • 17
How to use misialyna/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="misialyna/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("misialyna/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("misialyna/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 | Model Preparation Time | Accuracy |
|---|---|---|---|---|---|
| 1.2068 | 1.0 | 733 | 1.1166 | 0.0068 | 0.6774 |
| 0.8130 | 2.0 | 1466 | 0.6470 | 0.0068 | 0.7957 |
| 0.3782 | 3.0 | 2199 | 0.5003 | 0.0068 | 0.8280 |
| 0.2297 | 4.0 | 2932 | 0.5445 | 0.0068 | 0.8495 |
| 0.1655 | 5.0 | 3665 | 0.6829 | 0.0068 | 0.8602 |
| 0.0025 | 6.0 | 4398 | 0.7646 | 0.0068 | 0.8280 |
| 0.1201 | 7.0 | 5131 | 0.8735 | 0.0068 | 0.8495 |
| 0.0508 | 8.0 | 5864 | 0.8754 | 0.0068 | 0.8817 |
| 0.0434 | 9.0 | 6597 | 0.9917 | 0.0068 | 0.8710 |
| 0.0015 | 10.0 | 7330 | 1.2593 | 0.0068 | 0.8602 |
| 0.0000 | 11.0 | 8063 | 0.8777 | 0.0068 | 0.8817 |
| 0.0001 | 12.0 | 8796 | 1.2714 | 0.0068 | 0.8387 |
| 0.0000 | 13.0 | 9529 | 0.9322 | 0.0068 | 0.8495 |
| 0.0000 | 14.0 | 10262 | 0.9663 | 0.0068 | 0.8495 |
| 0.0000 | 15.0 | 10995 | 0.9734 | 0.0068 | 0.8602 |
Base model
ntu-spml/distilhubert