llama : print more info about control tokens
This commit is contained in:
parent
491f211b4c
commit
4f46e29b09
1 changed files with 0 additions and 4 deletions
|
@ -6725,10 +6725,6 @@ static void llm_load_vocab(
|
||||||
vocab.special_eog_ids.insert(vocab.special_eom_id);
|
vocab.special_eog_ids.insert(vocab.special_eom_id);
|
||||||
LLAMA_LOG_WARN("%s: special_eom_id is not in special_eog_ids - the tokenizer config may be incorrect\n", __func__);
|
LLAMA_LOG_WARN("%s: special_eom_id is not in special_eog_ids - the tokenizer config may be incorrect\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vocab.special_fim_sep_id != LLAMA_TOKEN_NULL && vocab.special_eog_ids.count(vocab.special_fim_sep_id) == 0) {
|
|
||||||
vocab.special_eog_ids.insert(vocab.special_fim_sep_id);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// build special tokens cache
|
// build special tokens cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue