marsyas/gtzan
Updated • 4.37k • 18
How to use PhysHunter/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="PhysHunter/distilhubert-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("PhysHunter/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("PhysHunter/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 |
|---|---|---|---|---|
| 0.0521 | 0.99 | 14 | 0.5613 | 0.86 |
| 0.0456 | 1.98 | 28 | 0.5497 | 0.86 |
| 0.0304 | 2.97 | 42 | 0.5402 | 0.87 |
| 0.0303 | 3.96 | 56 | 0.5084 | 0.9 |
| 0.0277 | 4.96 | 70 | 0.5088 | 0.89 |
Base model
ntu-spml/distilhubert