vocab : fix bug (eos -> bos)
ggml-ci
This commit is contained in:
parent
dfd319c890
commit
bfe781a42d
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ struct llm_tokenizer_bpe_session {
|
|||
}
|
||||
|
||||
bool append_eos(std::vector<llama_token> & output) const {
|
||||
if (vocab.add_bos_token()) {
|
||||
if (vocab.add_eos_token()) {
|
||||
GGML_ASSERT(vocab.token_eos() != LLAMA_TOKEN_NULL);
|
||||
output.push_back(vocab.token_eos());
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue