Spanish to English translation sometimes not translate a few sentences #1553
Unanswered
junchen6072
asked this question in
Q&A
Replies: 2 comments 5 replies
-
This is the openai/whisper repository, which does not have a ps. beam_size=5 is the default in this repository of whisper |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi @junchen6072 , I am also experiencing the same issue. Have you resolved it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, did anyone encounter the issue that sometimes translation isn't always working? That a few sentences are not translated.
Is this expected or is there anything I can tune? In my case, I'm translating from Spanish to English.
Sometime if I apply vad filter with a higher threshold, it could work, but also not always. Does anyone know any critical param to tune? This is my parameters:
model.transcribe(audio, word_timestamps=True, beam_size=1, vad_filter=True, vad_parameters=vad_parameters, temperature=temperature, log_prob_threshold=-1.1, no_speech_threshold=0.85, compression_ratio_threshold=2.5, condition_on_previous_text=True, task='translate')
vad_parameters = {'min_speech_duration_ms': 250, 'speech_pad_ms': 400, 'threshold': 0.3}
Beta Was this translation helpful? Give feedback.
All reactions