llama_token_to_str -> llama_token_to_piece

This commit is contained in:
slaren 2023-08-30 15:52:53 +02:00
parent 44f5e2ad77
commit 3ef3cf8c3d

View file

@ -108,7 +108,7 @@ struct chat {
break; break;
} }
printf("%s", llama_token_to_str(ctx, id).c_str()); printf("%s", llama_token_to_piece(ctx, id).c_str());
fflush(stdout); fflush(stdout);
} while (true); } while (true);
} }