not needed
This commit is contained in:
parent
4e4cfdfb67
commit
6a4cfc4dfa
1 changed files with 0 additions and 1 deletions
1
main.cpp
1
main.cpp
|
@ -360,7 +360,6 @@ int main(int argc, char ** argv) {
|
|||
id = llama_token_newline();
|
||||
if (params.antiprompt.size() != 0) {
|
||||
// tokenize and inject first reverse prompt
|
||||
auto first_antiprompt = ::llama_tokenize(ctx, "", false);
|
||||
first_antiprompt = ::llama_tokenize(ctx, params.antiprompt.front(), false);
|
||||
embd_inp.insert(embd_inp.end(), first_antiprompt.begin(), first_antiprompt.end());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue