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