Transformers How to use Rolv-Arild/xls-r-300m-npsc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Rolv-Arild/xls-r-300m-npsc") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("Rolv-Arild/xls-r-300m-npsc")
model = AutoModelForCTC.from_pretrained("Rolv-Arild/xls-r-300m-npsc")