]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
Try to improve the token sampling strategy (#193)
authorGeorgi Gerganov <redacted>
Fri, 2 Dec 2022 19:51:50 +0000 (21:51 +0200)
committerGitHub <redacted>
Fri, 2 Dec 2022 19:51:50 +0000 (21:51 +0200)
commit78d13257be8094a71b65af401d4753281af2205a
tree359f72d8d362dff6a8b1924dd7c22793c95fc566
parent9b7df68753ba9a8dbc5f5193e892a3c1bde20c90
Try to improve the token sampling strategy (#193)

* whisper : try to improve the token sampling strategy

- Add the "max_initial_timestaamp" token logic from OpenAI
- Disallow sampling timestamps that are in the past

* whisper : fix the max initial timestamp logic + fallback decoding
whisper.cpp
whisper.h