marsyas/gtzan
Updated • 1.78k • 17
How to use IvoryLe/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="IvoryLe/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("IvoryLe/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("IvoryLe/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.1944 | 1.0 | 113 | 2.1228 | 0.46 |
| 1.6576 | 2.0 | 226 | 1.6230 | 0.6 |
| 1.5381 | 3.0 | 339 | 1.3680 | 0.63 |
| 1.1984 | 4.0 | 452 | 1.1998 | 0.69 |
| 1.0569 | 5.0 | 565 | 1.0637 | 0.74 |
| 1.0206 | 6.0 | 678 | 0.9765 | 0.75 |
| 0.9646 | 7.0 | 791 | 0.9418 | 0.76 |
| 0.7383 | 8.0 | 904 | 0.8628 | 0.81 |
| 0.7982 | 9.0 | 1017 | 0.8455 | 0.79 |
| 0.6969 | 10.0 | 1130 | 0.8349 | 0.81 |
Base model
ntu-spml/distilhubert