Transformers How to use Cesar514/distilhubert-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Cesar514/distilhubert-gtzan") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Cesar514/distilhubert-gtzan")
model = AutoModelForAudioClassification.from_pretrained("Cesar514/distilhubert-gtzan")