diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2025-04-10 09:05:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-10 09:05:21 +0200 |
commit | 474435f58b6a26bc549589966482207fee94aa60 (patch) | |
tree | 6eb8ab42a565111cc46b1be6e79c450826b01b07 /include/llama.h | |
parent | 5f44f4b3d006a24267ea02fe65490bb760a01447 (diff) |
LlaMA-4 support (text only) (#321)
* llama4: WIP
* llama4: this seems to be working
---------
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'include/llama.h')
-rw-r--r-- | include/llama.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llama.h b/include/llama.h index 3275857a..d7376d7d 100644 --- a/include/llama.h +++ b/include/llama.h @@ -100,7 +100,12 @@ extern "C" { LLAMA_VOCAB_PRE_TYPE_TEKKEN = 20, LLAMA_VOCAB_PRE_TYPE_SMOLLM = 21, LLAMA_VOCAB_PRE_TYPE_CODESHELL = 22, - LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM = 23, //llama.cpp lists this as 28 + LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM = 28, //llama.cpp lists this as 28 + LLAMA_VOCAB_PRE_TYPE_GPT4O = 29, + LLAMA_VOCAB_PRE_TYPE_SUPERBPE = 30, + LLAMA_VOCAB_PRE_TYPE_TRILLION = 31, + LLAMA_VOCAB_PRE_TYPE_BAILINGMOE = 32, + LLAMA_VOCAB_PRE_TYPE_LLAMA4 = 33, }; // note: these values should be synchronized with ggml_rope |