mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-31 22:04:35 +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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
n_cur += tokens_list.size();
|
||||||
tokens_list.clear();
|
tokens_list.clear();
|
||||||
|
|
||||||
// sample the next token
|
// sample the next token
|
||||||
|
Loading…
Reference in New Issue
Block a user