]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : add support for --carry-initial-prompt (#3395)
authorAndreas Lubbe <redacted>
Fri, 10 Oct 2025 16:51:15 +0000 (18:51 +0200)
committerGitHub <redacted>
Fri, 10 Oct 2025 16:51:15 +0000 (19:51 +0300)
commit85871a946971955c635f56bca24ea2a37fed6324
tree5b24ceae7b13c9eb91f68ab6fae2dec075093cfd
parenta0ca50f3b948515a589aed43b3bdd334a1ded1bf
whisper : add support for --carry-initial-prompt (#3395)

* Add support for --carry-initial-prompt

* PR fixes for ruby and go

* Refactoring for readability

* WIP 1

* WIP 2

* PR fixes

* More PR fixes

* PR fix

* Further simplification

* d'oh

* One more logic fix

* Update src/whisper.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Truncate prompt_past0 upon initialization

* Slight simplification

---------

Co-authored-by: Georgi Gerganov <redacted>
bindings/go/params.go
bindings/java/src/main/java/io/github/ggerganov/whispercpp/params/WhisperFullParams.java
bindings/ruby/ext/ruby_whisper_params.c
bindings/ruby/sig/whisper.rbs
bindings/ruby/test/test_params.rb
examples/cli/cli.cpp
include/whisper.h
src/whisper.cpp