marsyas/gtzan
Updated • 10.1k • 17
How to use AK-12/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="AK-12/my_awesome_model") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("AK-12/my_awesome_model")
model = AutoModelForAudioClassification.from_pretrained("AK-12/my_awesome_model", device_map="auto")This model is a fine-tuned version of ntu-spml/distilhubert 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.2804 | 1.0 | 100 | 0.3327 | 0.9475 |
| 0.4089 | 2.0 | 200 | 0.3448 | 0.955 |
| 0.0564 | 3.0 | 300 | 0.3446 | 0.95 |
| 0.0 | 4.0 | 400 | 0.3417 | 0.9475 |
| 0.0 | 5.0 | 500 | 0.3616 | 0.9475 |
Base model
ntu-spml/distilhubert