Skip to content
Discussion options

You must be logged in to vote

This is probably not the -tr flag. In whisper.cpp, -tr / --translate explicitly asks Whisper to translate the source language to English, but the CLI also has a separate language setting. The current CLI help shows -l LANG, --language LANG and its default is en.

So if you ran the default command, or used an English-only model such as ggml-base.en.bin, the decoder is being pushed toward English output. A German section in a mostly English file can then come out as English even though you did not pass -tr.

For German text to stay German, use a multilingual model, not an .en model, and do not force the whole file to English. For example:

./build/bin/whisper-cli -m models/ggml-base.bin -l aut…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ArthurPeabody
Comment options

Answer selected by ArthurPeabody
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants