Skip to content

Commit 95e433c

Browse files
authored
Update src/llama.cpp
1 parent 21ee380 commit 95e433c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6455,7 +6455,7 @@ static void llm_load_vocab(
64556455
} else if (vocab.type == LLAMA_VOCAB_TYPE_WPM) {
64566456
vocab.linefeed_id = vocab.special_pad_id;
64576457
} else if (vocab.type == LLAMA_VOCAB_TYPE_RWKV) {
6458-
const std::vector<int> ids = llama_tokenize_internal(model.vocab, "\n", false);
6458+
const std::vector<int> ids = llama_tokenize_internal(vocab, "\n", false);
64596459
GGML_ASSERT(!ids.empty() && "model vocab missing newline token");
64606460
vocab.linefeed_id = ids[0];
64616461
} else {

0 commit comments

Comments
 (0)