summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRhinoDevel <RhinoDevel@users.noreply.github.com>2024-05-07 19:51:31 +0200
committerGitHub <noreply@github.com>2024-05-07 20:51:31 +0300
commit3af34c1d1b0da47f85b95f60922abeded1cb5d33 (patch)
tree9fc0f140faa7649168b772cee93c3fa607d1262f /examples
parent04976db7a819fcf8bfefbfc09a3344210b79dd27 (diff)
main : update log text (EOS to EOG) (#7104)
* 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. * Improve log msg. further by using "an" instead of "some". As suggested, to avoid misunderstanding (no multiple EOG tokens found, just one).
Diffstat (limited to 'examples')
-rw-r--r--examples/main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/main/main.cpp b/examples/main/main.cpp
index eabbc2db..f676ea1b 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 an EOG token\n");
if (params.interactive) {
if (!params.antiprompt.empty()) {