marsyas/gtzan
Updated • 4.45k • 18
How to use dannywan/distilhubert-finetuned-gtzan2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="dannywan/distilhubert-finetuned-gtzan2") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("dannywan/distilhubert-finetuned-gtzan2")
model = AutoModelForAudioClassification.from_pretrained("dannywan/distilhubert-finetuned-gtzan2", 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.8212 | 1.0 | 113 | 1.8885 | 0.54 |