marsyas/gtzan
Updated • 1.66k • 17
How to use jmtzt/ast_classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="jmtzt/ast_classifier") # Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("jmtzt/ast_classifier")
model = AutoModelForAudioClassification.from_pretrained("jmtzt/ast_classifier")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 | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.9185 | 1.0 | 113 | 0.6489 | 0.78 | 0.8099 | 0.7976 | 0.7743 |
| 0.473 | 2.0 | 226 | 0.6660 | 0.8 | 0.8284 | 0.8208 | 0.7963 |
| 0.4124 | 3.0 | 339 | 0.6544 | 0.8 | 0.8237 | 0.8002 | 0.7880 |
| 0.1625 | 4.0 | 452 | 0.4139 | 0.86 | 0.8519 | 0.8603 | 0.8454 |
| 0.2298 | 5.0 | 565 | 0.5540 | 0.88 | 0.8689 | 0.8694 | 0.8618 |
| 0.1091 | 6.0 | 678 | 0.4291 | 0.89 | 0.8933 | 0.8935 | 0.8855 |
| 0.0208 | 7.0 | 791 | 0.4161 | 0.91 | 0.9200 | 0.9000 | 0.8977 |
| 0.0181 | 8.0 | 904 | 0.3769 | 0.92 | 0.9133 | 0.9202 | 0.9127 |
| 0.0035 | 9.0 | 1017 | 0.3431 | 0.94 | 0.9353 | 0.9424 | 0.9371 |
| 0.013 | 10.0 | 1130 | 0.3551 | 0.94 | 0.9462 | 0.9379 | 0.9380 |
Base model
MIT/ast-finetuned-audioset-10-10-0.4593