diff options
author | Joan Fontanals <joan.fontanals.martinez@jina.ai> | 2024-05-13 10:35:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 11:35:14 +0300 |
commit | 9aa672490c848e45eaa704a554e0f1f6df995fc8 (patch) | |
tree | 674957b27a03ce726c364471c4382d0398c1d58c /llama.cpp | |
parent | b1f8af1886e8187db6bb2a9b87cfc1c0f175f629 (diff) |
llama : rename jina tokenizers to v2 (#7249)
* refactor: rename jina tokenizers to v2
* refactor: keep refactoring non-breaking
Diffstat (limited to 'llama.cpp')
-rw-r--r-- | llama.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4424,7 +4424,9 @@ static void llm_load_vocab( } else if ( tokenizer_pre == "gpt-2" || tokenizer_pre == "jina-es" || - tokenizer_pre == "jina-de") { + tokenizer_pre == "jina-de" || + tokenizer_pre == "jina-v2-es" || + tokenizer_pre == "jina-v2-de") { vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_GPT2; } else if ( tokenizer_pre == "refact") { |