marsyas/gtzan
Updated • 6.68k • 19
How to use joheras/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="joheras/distilhubert-finetuned-gtzan") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("joheras/distilhubert-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("joheras/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 |
|---|---|---|---|---|
| 2.2999 | 0.97 | 7 | 2.2700 | 0.28 |
| 2.2713 | 1.93 | 14 | 2.1859 | 0.36 |
| 2.1478 | 2.9 | 21 | 2.0656 | 0.47 |
| 2.0863 | 4.0 | 29 | 1.9387 | 0.53 |
| 1.9229 | 4.97 | 36 | 1.8303 | 0.62 |
| 1.8399 | 5.93 | 43 | 1.7453 | 0.59 |
| 1.7467 | 6.9 | 50 | 1.6898 | 0.58 |
| 1.7223 | 8.0 | 58 | 1.6360 | 0.6 |
| 1.6716 | 8.97 | 65 | 1.6243 | 0.65 |
| 1.6509 | 9.66 | 70 | 1.6170 | 0.66 |
Base model
ntu-spml/distilhubert