Instructions to use NbAiLab/wav2vec2-xlsr-300m-norwegian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/wav2vec2-xlsr-300m-norwegian with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NbAiLab/wav2vec2-xlsr-300m-norwegian")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("NbAiLab/wav2vec2-xlsr-300m-norwegian") model = AutoModelForCTC.from_pretrained("NbAiLab/wav2vec2-xlsr-300m-norwegian") - Notebooks
- Google Colab
- Kaggle