NbAiLab/NPSC
Updated • 601 • 9
How to use NbAiLab/XLSR-300M-nynorsk with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="NbAiLab/XLSR-300M-nynorsk") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("NbAiLab/XLSR-300M-nynorsk")
model = AutoModelForCTC.from_pretrained("NbAiLab/XLSR-300M-nynorsk")YAML Metadata Error:"language[0]" must only contain lowercase characters
YAML Metadata Error:"language[0]" with value "nn-NO" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.
YAML Metadata Error:"tags[4]" must be a string