marsyas/gtzan
Updated • 2.3k • 18
How to use Andyrasika/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Andyrasika/distilhubert-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Andyrasika/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Andyrasika/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.988 | 1.0 | 113 | 1.8049 | 0.51 |
| 1.3059 | 2.0 | 226 | 1.1397 | 0.69 |
| 0.9431 | 3.0 | 339 | 0.8765 | 0.75 |
| 0.7349 | 4.0 | 452 | 0.7939 | 0.76 |
| 0.4852 | 5.0 | 565 | 0.6734 | 0.8 |
| 0.3502 | 6.0 | 678 | 0.7880 | 0.71 |
| 0.3021 | 7.0 | 791 | 0.6254 | 0.84 |
| 0.1219 | 8.0 | 904 | 0.6039 | 0.8 |
| 0.1224 | 9.0 | 1017 | 0.5668 | 0.85 |
| 0.1562 | 10.0 | 1130 | 0.5973 | 0.85 |
Base model
ntu-spml/distilhubert