We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbbda7e commit 82c99cfCopy full SHA for 82c99cf
examples/main/main.cpp
@@ -327,7 +327,7 @@ int main(int argc, char ** argv) {
327
}
328
329
// replace end of text token with newline token when in interactive mode
330
- if (id == llama_token_eos() && params.interactive && instruct_mode) {
+ if (id == llama_token_eos() && params.interactive && !instruct_mode) {
331
id = llama_token_newline.front();
332
if (params.antiprompt.size() != 0) {
333
// tokenize and inject first reverse prompt
0 commit comments