Skip to content

Commit 8fef5b1

Browse files
committed
llama : move tokenizers into llama-vocab
ggml-ci
1 parent e7dffa6 commit 8fef5b1

File tree

6 files changed

+2228
-2135
lines changed

6 files changed

+2228
-2135
lines changed

include/llama.h

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

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

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

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

0 commit comments

Comments
 (0)