Skip to content

Commit 531a398

Browse files
committed
llama : move tokenizers into llama-vocab
ggml-ci
1 parent 290f9aa commit 531a398

File tree

6 files changed

+2226
-2133
lines changed

6 files changed

+2226
-2133
lines changed

include/llama.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,10 @@ extern "C" {
904904
LLAMA_API llama_token llama_token_pad(const struct llama_model * model); // padding
905905

906906
// Returns -1 if unknown, 1 for true or 0 for false.
907-
LLAMA_API int32_t llama_add_bos_token(const struct llama_model * model);
907+
LLAMA_API int32_t llama_add_bos_token(const struct llama_model * model);
908908

909909
// Returns -1 if unknown, 1 for true or 0 for false.
910-
LLAMA_API int32_t llama_add_eos_token(const struct llama_model * model);
910+
LLAMA_API int32_t llama_add_eos_token(const struct llama_model * model);
911911

912912
// Codellama infill tokens
913913
LLAMA_API llama_token llama_token_prefix(const struct llama_model * model); // Beginning of infill prefix

0 commit comments

Comments
 (0)