How to use Danieljava/distilhubert-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Danieljava/distilhubert-finetuned-gtzan")
# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Danieljava/distilhubert-finetuned-gtzan") model = AutoModelForAudioClassification.from_pretrained("Danieljava/distilhubert-finetuned-gtzan")
The community tab is the place to discuss and collaborate with the HF community!