From bee6a401fdd883719bed4d2be6259648d50b39ce Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 16 Apr 2023 22:04:19 +0800 Subject: [PATCH] slight clarity fix --- gpttype_adapter.cpp | 2 +- llama_adapter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpttype_adapter.cpp b/gpttype_adapter.cpp index e9ad7114d..dc4b37265 100644 --- a/gpttype_adapter.cpp +++ b/gpttype_adapter.cpp @@ -353,7 +353,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o if (concat_output.find(matched) != std::string::npos) { remaining_tokens = 0; - printf("\n(Stop sequence triggered: %s)",matched.c_str()); + printf("\n(Stop sequence triggered: <%s>)",matched.c_str()); break; } } diff --git a/llama_adapter.cpp b/llama_adapter.cpp index f1d9a1893..262a37803 100644 --- a/llama_adapter.cpp +++ b/llama_adapter.cpp @@ -246,7 +246,7 @@ generation_outputs llama_generate(const generation_inputs inputs, generation_out if (concat_output.find(matched) != std::string::npos) { remaining_tokens = 0; - printf("\n(Stop sequence triggered: %s)",matched.c_str()); + printf("\n(Stop sequence triggered: <%s>)",matched.c_str()); break; } }