diff --git a/llama.cpp b/llama.cpp index 4bc5a631b..af310ee2e 100644 --- a/llama.cpp +++ b/llama.cpp @@ -18540,7 +18540,7 @@ int32_t llama_detokenize( if (text[i - 1] == ' ') { if (x == '?' || x == '!' || x == '.' || x == ',') { // " ?", " !", " .", " ," total--; // remove space - } + } } text[total++] = x; }