marsyas/gtzan
Updated • 3.23k • 18
How to use LVanesa/ast-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="LVanesa/ast-finetuned-gtzan") # Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("LVanesa/ast-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("LVanesa/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.5193 | 1.0 | 169 | 0.4598 | 0.8361 |
| 0.2436 | 2.0 | 338 | 0.5951 | 0.8462 |
| 0.0787 | 3.0 | 507 | 0.6161 | 0.8562 |
| 0.0333 | 4.0 | 676 | 0.4487 | 0.8963 |
| 0.0035 | 5.0 | 845 | 0.4108 | 0.9197 |
| 0.0002 | 6.0 | 1014 | 0.3863 | 0.9197 |
| 0.0001 | 7.0 | 1183 | 0.3851 | 0.9231 |
| 0.0032 | 8.0 | 1352 | 0.3877 | 0.9164 |
Base model
MIT/ast-finetuned-audioset-10-10-0.4593