llama_token_to_str -> llama_token_to_piece
This commit is contained in:
parent
44f5e2ad77
commit
3ef3cf8c3d
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ struct chat {
|
|||
break;
|
||||
}
|
||||
|
||||
printf("%s", llama_token_to_str(ctx, id).c_str());
|
||||
printf("%s", llama_token_to_piece(ctx, id).c_str());
|
||||
fflush(stdout);
|
||||
} while (true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue