]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Check for reverse prompt by characters instead of tokens (#292) (#330)
authortjohnman <redacted>
Tue, 21 Mar 2023 16:04:43 +0000 (17:04 +0100)
committerGitHub <redacted>
Tue, 21 Mar 2023 16:04:43 +0000 (18:04 +0200)
commitd5f56a5e5a0069329a81f96460221e7afb1daddc
treeb16f9877d9208b950dfa5187a86f6bfb0a824331
parent3bfa3b43b7319b71853bfc7d3cf4e9767c24bbc8
Check for reverse prompt by characters instead of tokens (#292) (#330)

* Check for reverse prompt by characters instead of tokens (#292)

* Update main.cpp

Wording.

* Cleanup.

* Remove unnecessary use of std::stringstream.

---------

Co-authored-by: Johnman <redacted>
Co-authored-by: Georgi Gerganov <redacted>
main.cpp