marsyas/gtzan
Updated • 2.32k • 18
How to use PawanKrGunjan/distilhubert-ft-keyword-spotting-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="PawanKrGunjan/distilhubert-ft-keyword-spotting-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("PawanKrGunjan/distilhubert-ft-keyword-spotting-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("PawanKrGunjan/distilhubert-ft-keyword-spotting-finetuned-gtzan", device_map="auto")This model is a fine-tuned version of anton-l/distilhubert-ft-keyword-spotting 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.563 | 1.0 | 113 | 1.3582 | 0.64 |
| 0.9967 | 2.0 | 226 | 0.9973 | 0.72 |
| 0.872 | 3.0 | 339 | 0.8447 | 0.75 |
Base model
anton-l/distilhubert-ft-keyword-spotting