marsyas/gtzan
Updated • 1.78k • 17
How to use CodingQueen13/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="CodingQueen13/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("CodingQueen13/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("CodingQueen13/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.1554 | 1.0 | 113 | 2.0427 | 0.44 |
| 1.5528 | 2.0 | 226 | 1.5599 | 0.5 |
| 1.3212 | 3.0 | 339 | 1.1755 | 0.6 |
| 0.9075 | 4.0 | 452 | 0.9560 | 0.73 |
| 0.7823 | 5.0 | 565 | 0.8967 | 0.74 |
| 0.7262 | 6.0 | 678 | 0.6578 | 0.8 |
| 0.5761 | 7.0 | 791 | 0.6274 | 0.81 |
| 0.3797 | 8.0 | 904 | 0.6923 | 0.82 |
| 0.4168 | 9.0 | 1017 | 0.5700 | 0.84 |
| 0.2646 | 10.0 | 1130 | 0.6484 | 0.81 |
| 0.1952 | 11.0 | 1243 | 0.5925 | 0.84 |
| 0.1403 | 12.0 | 1356 | 0.6551 | 0.82 |
| 0.1558 | 13.0 | 1469 | 0.6271 | 0.82 |
| 0.4606 | 14.0 | 1582 | 0.6272 | 0.82 |
| 0.2095 | 15.0 | 1695 | 0.6191 | 0.82 |
Base model
ntu-spml/distilhubert