marsyas/gtzan
Updated • 1.91k • 17
How to use Tilas/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Tilas/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Tilas/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Tilas/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 |
|---|---|---|---|---|
| 4.5849 | 1.0 | 25 | 2.2619 | 0.1778 |
| 4.2487 | 2.0 | 50 | 1.9974 | 0.4444 |
| 3.7121 | 3.0 | 75 | 1.7052 | 0.5333 |
| 3.3160 | 4.0 | 100 | 1.5181 | 0.6667 |
| 3.0584 | 5.0 | 125 | 1.3935 | 0.6667 |
| 2.7342 | 6.0 | 150 | 1.2549 | 0.6222 |
| 2.4358 | 7.0 | 175 | 1.1904 | 0.7111 |
| 2.3305 | 8.0 | 200 | 1.1772 | 0.7111 |
| 2.2464 | 9.0 | 225 | 1.1206 | 0.6667 |
| 2.1477 | 10.0 | 250 | 1.0904 | 0.7333 |
Base model
ntu-spml/distilhubert