marsyas/gtzan
Updated • 1.91k • 18
How to use cleandata/distilhubert-finetuned-gtzan_accuracy_93 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="cleandata/distilhubert-finetuned-gtzan_accuracy_93") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("cleandata/distilhubert-finetuned-gtzan_accuracy_93")
model = AutoModelForAudioClassification.from_pretrained("cleandata/distilhubert-finetuned-gtzan_accuracy_93", device_map="auto")It achieves the following results on the evaluation set:
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0316 | 1.0 | 100 | 0.4338 | 0.895 |
| 0.0031 | 2.0 | 200 | 0.7039 | 0.86 |
| 0.0069 | 3.0 | 300 | 0.4526 | 0.925 |
| 0.1799 | 4.0 | 400 | 0.7071 | 0.88 |
| 0.1783 | 5.0 | 500 | 0.5923 | 0.92 |
| 0.0011 | 6.0 | 600 | 0.5498 | 0.92 |
| 0.0005 | 7.0 | 700 | 0.4927 | 0.925 |
| 0.0005 | 8.0 | 800 | 0.6172 | 0.915 |
| 0.0004 | 9.0 | 900 | 0.4988 | 0.925 |
| 0.0004 | 10.0 | 1000 | 0.5121 | 0.93 |