marsyas/gtzan
Updated • 1.71k • 17
How to use Cyber-Machine/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Cyber-Machine/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Cyber-Machine/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Cyber-Machine/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.1164 | 1.0 | 113 | 2.0148 | 0.45 |
| 1.3653 | 2.0 | 226 | 1.3290 | 0.64 |
| 1.1139 | 3.0 | 339 | 1.0579 | 0.71 |
| 1.0451 | 4.0 | 452 | 1.0425 | 0.72 |
| 0.5678 | 5.0 | 565 | 0.8254 | 0.76 |
| 0.3324 | 6.0 | 678 | 0.7542 | 0.81 |
| 0.4072 | 7.0 | 791 | 0.6650 | 0.81 |
| 0.0858 | 8.0 | 904 | 0.8092 | 0.79 |
| 0.2328 | 9.0 | 1017 | 0.8203 | 0.8 |
| 0.0331 | 10.0 | 1130 | 0.9223 | 0.83 |
| 0.0129 | 11.0 | 1243 | 0.9507 | 0.84 |
| 0.1248 | 12.0 | 1356 | 0.9733 | 0.83 |
| 0.0087 | 13.0 | 1469 | 1.0091 | 0.82 |
| 0.0677 | 14.0 | 1582 | 1.0063 | 0.82 |
| 0.008 | 15.0 | 1695 | 1.0171 | 0.82 |
Base model
ntu-spml/distilhubert