marsyas/gtzan
Updated • 1.85k • 17
How to use sandychoii/audio-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="sandychoii/audio-classification") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("sandychoii/audio-classification")
model = AutoModelForAudioClassification.from_pretrained("sandychoii/audio-classification")# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("sandychoii/audio-classification")
model = AutoModelForAudioClassification.from_pretrained("sandychoii/audio-classification")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.3207 | 1.0 | 25 | 0.2132 | 0.94 |
Base model
ntu-spml/distilhubert
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="sandychoii/audio-classification")