Update log text (EOS to EOG)

The log text "found EOS" is no longer always correct, here, because there is now an is-EOG check that also returns true for EOT.
This commit is contained in:
RhinoDevel 2024-05-06 17:07:33 +02:00 committed by GitHub
parent bcdee0daa7
commit a286a3fdc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -796,7 +796,7 @@ int main(int argc, char ** argv) {
// deal with end of generation tokens in interactive mode // deal with end of generation tokens in interactive mode
if (llama_token_is_eog(model, llama_sampling_last(ctx_sampling))) { if (llama_token_is_eog(model, llama_sampling_last(ctx_sampling))) {
LOG("found EOS token\n"); LOG("found some EOG token\n");
if (params.interactive) { if (params.interactive) {
if (!params.antiprompt.empty()) { if (!params.antiprompt.empty()) {