marsyas/gtzan
Updated • 2.23k • 18
How to use hungphan111/music_genres_classification-finetuned-gtzan-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="hungphan111/music_genres_classification-finetuned-gtzan-finetuned-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("hungphan111/music_genres_classification-finetuned-gtzan-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("hungphan111/music_genres_classification-finetuned-gtzan-finetuned-gtzan", device_map="auto")This model is a fine-tuned version of sugarblock/music_genres_classification-finetuned-gtzan 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 |
|---|---|---|---|---|
| 1.1367 | 1.0 | 225 | 1.8916 | 0.63 |
| 0.8836 | 2.0 | 450 | 0.7521 | 0.85 |
| 0.4132 | 3.0 | 675 | 1.0195 | 0.82 |
| 0.0047 | 4.0 | 900 | 0.6534 | 0.89 |
| 0.0065 | 5.0 | 1125 | 0.5898 | 0.9 |