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 9425a21 commit ce7ebb3Copy full SHA for ce7ebb3
main.cpp
@@ -1004,7 +1004,8 @@ int main(int argc, char ** argv) {
1004
buf[n_read+1] = 0;
1005
}
1006
1007
- std::vector<gpt_vocab::id> line_inp = ::llama_tokenize(vocab, buf, false);
+ std::vector<gpt_vocab::id> line_inp;
1008
+ processor.Encode(buf, &antiprompt_inp);
1009
embd_inp.insert(embd_inp.end(), line_inp.begin(), line_inp.end());
1010
1011
input_noecho = true; // do not echo this again
0 commit comments