How to use superb/hubert-base-superb-sid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="superb/hubert-base-superb-sid")
# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("superb/hubert-base-superb-sid") model = AutoModelForAudioClassification.from_pretrained("superb/hubert-base-superb-sid")
Hello huggingface team,
The official documentation has been really particular about not passing attention mask when using base models. However, very surprisingly I find that attention mask is being returned here. Why is it so?
· Sign up or log in to comment