Instructions to use mhenrichsen/hviske with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mhenrichsen/hviske with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="mhenrichsen/hviske")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("mhenrichsen/hviske") model = AutoModelForSpeechSeq2Seq.from_pretrained("mhenrichsen/hviske") - Notebooks
- Google Colab
- Kaggle
unintended switching between languages in ASR output
#5
by KRummens - opened
Hi there,
when using your model for automatic speech recognition, the transcription of the audio switches from Danish to English after a few sentences.
do you happen to have an idea of what causes this to happen, and how I can prevent this to occur?
the warning message refers to passing a language argument in order to avoid this;
however, as I am not an experienced programmer, I was wondering whether I could pass an argument like 'language=da'.
If so, where or how exactly should I implement this?
Thanks for the help!
