marsyas/gtzan
Updated • 11k • 17
How to use fffmath/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="fffmath/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("fffmath/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("fffmath/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 |
|---|---|---|---|---|
| 1.8906 | 1.0 | 113 | 1.8154 | 0.43 |
| 1.1888 | 2.0 | 226 | 1.2004 | 0.67 |
| 0.9917 | 3.0 | 339 | 1.0252 | 0.72 |
| 0.5937 | 4.0 | 452 | 0.7423 | 0.81 |
| 0.4669 | 5.0 | 565 | 0.7231 | 0.77 |
| 0.3205 | 6.0 | 678 | 0.6279 | 0.82 |
| 0.3508 | 7.0 | 791 | 0.5861 | 0.83 |
| 0.1254 | 8.0 | 904 | 0.5335 | 0.84 |
| 0.2296 | 9.0 | 1017 | 0.5837 | 0.84 |
| 0.0852 | 10.0 | 1130 | 0.5595 | 0.85 |
Base model
ntu-spml/distilhubert