Skip to content

Commit 61449e1

Browse files
committed
llama : move tokenizers into llama-vocab
ggml-ci
1 parent bd4b375 commit 61449e1

File tree

6 files changed

+2219
-2126
lines changed

6 files changed

+2219
-2126
lines changed

include/llama.h

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

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

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

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

0 commit comments

Comments
 (0)