marsyas/gtzan
Updated • 4.37k • 18
How to use Janos98/ast-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Janos98/ast-finetuned-gtzan") # Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("Janos98/ast-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Janos98/ast-finetuned-gtzan", device_map="auto")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:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.7520 | 1.0 | 57 | 0.5558 | 0.84 |
| 0.3352 | 2.0 | 114 | 0.4808 | 0.83 |
| 0.1013 | 3.0 | 171 | 0.4496 | 0.84 |
| 0.0380 | 4.0 | 228 | 0.6519 | 0.85 |
| 0.0399 | 5.0 | 285 | 0.3841 | 0.89 |
| 0.0105 | 6.0 | 342 | 0.4051 | 0.88 |
| 0.0005 | 7.0 | 399 | 0.4256 | 0.87 |
| 0.0005 | 8.0 | 456 | 0.4204 | 0.89 |
| 0.0005 | 9.0 | 513 | 0.4224 | 0.89 |
| 0.0005 | 10.0 | 570 | 0.4226 | 0.89 |
Base model
MIT/ast-finetuned-audioset-10-10-0.4593