marsyas/gtzan
Updated • 2.23k • 18
How to use Ducco/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Ducco/distilhubert-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Ducco/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Ducco/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 |
|---|---|---|---|---|
| 0.0151 | 1.0 | 112 | 0.6140 | 0.84 |
| 0.0134 | 2.0 | 225 | 0.7191 | 0.86 |
| 0.0032 | 3.0 | 337 | 0.9266 | 0.8 |
| 0.0043 | 4.0 | 450 | 0.9583 | 0.79 |
| 0.0011 | 5.0 | 562 | 0.9526 | 0.82 |
| 0.0008 | 6.0 | 675 | 0.9512 | 0.81 |
| 0.0007 | 7.0 | 787 | 0.9131 | 0.82 |
| 0.0006 | 8.0 | 900 | 0.9234 | 0.82 |
| 0.0006 | 9.0 | 1012 | 0.9322 | 0.84 |
| 0.0006 | 9.96 | 1120 | 0.9402 | 0.83 |
Base model
ntu-spml/distilhubert