'viking' detokenizer clean spaces
This commit is contained in:
parent
8072089c4e
commit
8f5e1e0c76
1 changed files with 1 additions and 0 deletions
|
@ -5158,6 +5158,7 @@ static void llm_load_vocab(
|
|||
} else if (
|
||||
tokenizer_pre == "viking") {
|
||||
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_VIKING;
|
||||
vocab.tokenizer_clean_spaces = false;
|
||||
} else if (
|
||||
tokenizer_pre == "jais") {
|
||||
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_JAIS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue