whisper : improve decoding strategy (#244)
- Clear past prompt when there is very short audio left for processing. My observation is that in these cases the decoding tends to repeat and hallucinate stuff and I think this is induced by the existing prompt - When we fail to sample timestamp token, retry by clearing the past prompt. If it fails again, then we advance the window by 1 secondpull/285/head
parent
a82d331034
commit
6a7c82501e
Loading…
Reference in new issue