marsyas/gtzan
Updated • 2.23k • 18
How to use senthilsdglakhsg/distilhubert-gtzan-15sec with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="senthilsdglakhsg/distilhubert-gtzan-15sec") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("senthilsdglakhsg/distilhubert-gtzan-15sec")
model = AutoModelForAudioClassification.from_pretrained("senthilsdglakhsg/distilhubert-gtzan-15sec", 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 |
|---|---|---|---|---|
| 3.1339 | 1.0 | 112 | 1.3512 | 0.6583 |
| 1.6185 | 2.0 | 224 | 0.8620 | 0.7085 |
| 1.0020 | 3.0 | 336 | 0.5799 | 0.8090 |
| 0.7062 | 4.0 | 448 | 0.6624 | 0.8040 |
| 0.5191 | 5.0 | 560 | 0.6755 | 0.8191 |
| 0.2967 | 6.0 | 672 | 0.7785 | 0.7990 |
| 0.0821 | 7.0 | 784 | 0.8235 | 0.8342 |
| 0.0686 | 8.0 | 896 | 0.8519 | 0.8492 |
| 0.0156 | 9.0 | 1008 | 0.9783 | 0.8191 |
| 0.0019 | 10.0 | 1120 | 1.0472 | 0.8191 |
| 0.0015 | 11.0 | 1232 | 1.1903 | 0.8090 |
| 0.0862 | 12.0 | 1344 | 1.1610 | 0.8191 |
| 0.0011 | 13.0 | 1456 | 1.1986 | 0.8191 |
| 0.0008 | 14.0 | 1568 | 1.2203 | 0.8141 |
| 0.0010 | 15.0 | 1680 | 1.4290 | 0.7889 |
| 0.0007 | 16.0 | 1792 | 1.3051 | 0.8090 |
| 0.0007 | 17.0 | 1904 | 1.1839 | 0.8291 |
| 0.0077 | 18.0 | 2016 | 1.1803 | 0.8342 |
| 0.0007 | 19.0 | 2128 | 1.1789 | 0.8291 |
| 0.0006 | 20.0 | 2240 | 1.1757 | 0.8342 |
Base model
ntu-spml/distilhubert