mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 04:44:34 +00:00
simple : fix token counting
This commit is contained in:
parent
25bd254089
commit
467e307931
@ -81,6 +81,7 @@ int main(int argc, char ** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
n_cur += tokens_list.size();
|
||||
tokens_list.clear();
|
||||
|
||||
// sample the next token
|
||||
|
Loading…
Reference in New Issue
Block a user