marsyas/gtzan
Updated • 1.87k • 17
How to use nic70/distilhubert-finetuned-gtzan-rev1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="nic70/distilhubert-finetuned-gtzan-rev1") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("nic70/distilhubert-finetuned-gtzan-rev1")
model = AutoModelForAudioClassification.from_pretrained("nic70/distilhubert-finetuned-gtzan-rev1")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.2487 | 1.0 | 113 | 2.1744 | 0.41 |
| 1.7534 | 2.0 | 226 | 1.6280 | 0.65 |
| 1.4458 | 3.0 | 339 | 1.2993 | 0.7 |
| 1.2271 | 4.0 | 452 | 1.1119 | 0.72 |
| 1.115 | 5.0 | 565 | 1.0119 | 0.75 |
| 0.834 | 6.0 | 678 | 0.8967 | 0.77 |
| 1.0247 | 7.0 | 791 | 0.8154 | 0.78 |
| 0.6211 | 8.0 | 904 | 0.7035 | 0.81 |
| 0.7136 | 9.0 | 1017 | 0.6755 | 0.8 |
| 0.464 | 10.0 | 1130 | 0.6808 | 0.84 |
| 0.2952 | 11.0 | 1243 | 0.6245 | 0.8 |
| 0.3117 | 12.0 | 1356 | 0.6150 | 0.84 |
| 0.24 | 13.0 | 1469 | 0.6000 | 0.82 |
| 0.2554 | 14.0 | 1582 | 0.5952 | 0.83 |
| 0.2452 | 15.0 | 1695 | 0.5939 | 0.82 |
Base model
ntu-spml/distilhubert