We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aefcffa commit c89e808Copy full SHA for c89e808
src/llama-vocab.cpp
@@ -426,7 +426,7 @@ struct llm_tokenizer_bpe_session {
426
}
427
428
bool append_eos(std::vector<llama_token> & output) const {
429
- if (vocab.add_bos_token()) {
+ if (vocab.add_eos_token()) {
430
GGML_ASSERT(vocab.token_eos() != LLAMA_TOKEN_NULL);
431
output.push_back(vocab.token_eos());
432
return true;
0 commit comments