Transformers How to use veluchs/data2vec-audio-base-960h-finetuned-gtzan with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="veluchs/data2vec-audio-base-960h-finetuned-gtzan") # Load model directly
from transformers import AutoTokenizer, AutoModelForAudioClassification
tokenizer = AutoTokenizer.from_pretrained("veluchs/data2vec-audio-base-960h-finetuned-gtzan")
model = AutoModelForAudioClassification.from_pretrained("veluchs/data2vec-audio-base-960h-finetuned-gtzan")