From a286a3fdc6b1e15ba07644fa305d292e8527d032 Mon Sep 17 00:00:00 2001 From: RhinoDevel Date: Mon, 6 May 2024 17:07:33 +0200 Subject: [PATCH] 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. --- examples/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index eabbc2db3..18e3796f6 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -796,7 +796,7 @@ int main(int argc, char ** argv) { // deal with end of generation tokens in interactive mode 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.antiprompt.empty()) {