Update main.cpp
This commit is contained in:
parent
879da33ab4
commit
e590787ab3
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -250,9 +250,9 @@ int main(int argc, char ** argv) {
|
|||
}
|
||||
|
||||
// tokenize the first reverse prompt
|
||||
auto first_antiprompt = ::llama_tokenize(ctx, params.prompt, true);
|
||||
auto first_antiprompt = ::llama_tokenize(ctx, params.prompt,false);
|
||||
if (!params.antiprompt.empty()) {
|
||||
auto first_antiprompt = ::llama_tokenize(ctx, params.antiprompt.front(), true);
|
||||
auto first_antiprompt = ::llama_tokenize(ctx, params.antiprompt.front(), false);
|
||||
}
|
||||
|
||||
// enable interactive mode if reverse prompt is specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue