mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
merged, added ability to render special tokens
This commit is contained in:
commit
b4d2031215
37 changed files with 335 additions and 7328 deletions
|
@ -362,7 +362,7 @@ int main(int argc, char ** argv) {
|
|||
}
|
||||
}
|
||||
|
||||
if (token_id == llama_token_eos(model_tgt)) {
|
||||
if (llama_token_is_eog(model_tgt, token_id)) {
|
||||
has_eos = true;
|
||||
}
|
||||
++n_predict;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue