ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
34.88k stars 3.55k forks source link

whisper with language set when other language spoken it return translated #1843

Open UniversalTechno opened 8 months ago

UniversalTechno commented 8 months ago

whisper with language set when other language spoken it return translated to the language in option how to let whisper to not translate and just return blank or ignore the request ?

Thanks

RazeBerry commented 6 months ago

Strangely I am having the same problem where my audio is in French and yet it is automatically translated to English despite the translate parameter is set to false?

muety commented 3 months ago

Same issue here.

Nyralei commented 2 months ago

Same issue

dzianisv commented 2 months ago

Same issue, I started server with

./server --host 127.0.0.1 --port 8083"

And the request

curl localhost:8083/inference \
    -H "Content-Type: multipart/form-data" \
    -F file="@$HOME/Downloads/1.ogg" \
    -F temperature="0.0" \
    -F temperature_inc="0.2" \
    -F response_format="json"

Returns a transltated from native to English text.