NB-Wav2Vec
Collection
Models based on Wav2Vec from Meta, and trained on data from Språkbanken and the digital collection at the National Library of Norway. • 8 items • Updated
How to use NbAiLab/nb-wav2vec2-1b-bokmaal-v2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="NbAiLab/nb-wav2vec2-1b-bokmaal-v2") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("NbAiLab/nb-wav2vec2-1b-bokmaal-v2")
model = AutoModelForCTC.from_pretrained("NbAiLab/nb-wav2vec2-1b-bokmaal-v2")