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