How to use NbAiLab/xls-npsc-oh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NbAiLab/xls-npsc-oh")
# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("NbAiLab/xls-npsc-oh") model = AutoModelForCTC.from_pretrained("NbAiLab/xls-npsc-oh")
What is a pickle import?
How to fix it?