marsyas/gtzan
Updated • 1.71k • 17
How to use anand095/ast-finetuned-custom with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="anand095/ast-finetuned-custom") # Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("anand095/ast-finetuned-custom")
model = AutoModelForAudioClassification.from_pretrained("anand095/ast-finetuned-custom")This model is a fine-tuned version of MIT/ast-finetuned-audioset-10-10-0.4593 on the GTZAN dataset. It achieves the following results on the evaluation set:
MIT/ast-finetuned-audioset-10-10-0.4593 model has been used with the head replaced for classification of the 10 music genres.
More information needed
GTZAN dataset has been used for training. 20% split was used for evaluation.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.3629 | 1.0877 | 62 | 2.0026 | 0.38 |
| 1.816 | 2.1754 | 124 | 1.0936 | 0.76 |
| 1.0625 | 3.2632 | 186 | 0.5384 | 0.87 |
| 0.5878 | 4.3509 | 248 | 0.3465 | 0.91 |
| 0.2426 | 5.4386 | 310 | 0.3506 | 0.88 |
| 0.1584 | 6.5263 | 372 | 0.2532 | 0.92 |
| 0.1067 | 7.6140 | 434 | 0.2333 | 0.9 |
| 0.0741 | 8.7018 | 496 | 0.2248 | 0.91 |
| 0.0431 | 9.7895 | 558 | 0.2095 | 0.94 |
Base model
MIT/ast-finetuned-audioset-10-10-0.4593