Skip to content

Commit fa527a5

Browse files
committed
Merge branch 'refactor-jina-rename' of https://github.com/JoanFM/llama.cpp into feat-jina-embeddings-v2-zh
2 parents 22a0113 + fb83012 commit fa527a5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llama.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4423,6 +4423,8 @@ static void llm_load_vocab(
44234423
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_STARCODER;
44244424
} else if (
44254425
tokenizer_pre == "gpt-2" ||
4426+
tokenizer_pre == "jina-es" ||
4427+
tokenizer_pre == "jina-de" ||
44264428
tokenizer_pre == "jina-v2-es" ||
44274429
tokenizer_pre == "jina-v2-de") {
44284430
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_GPT2;

unicode-data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ extern const std::vector<std::pair<uint32_t, uint32_t>> unicode_ranges_punctuati
1414
extern const std::vector<std::pair<uint32_t, uint32_t>> unicode_ranges_symbol;
1515
extern const std::vector<std::pair<uint32_t, uint32_t>> unicode_ranges_control;
1616
extern const std::multimap<uint32_t, uint32_t> unicode_map_nfd;
17-
extern const std::map<char32_t, char32_t> unicode_map_lowercase;
17+
extern const std::map<char32_t, char32_t> unicode_map_lowercase;

0 commit comments

Comments
 (0)