Skip to content

Commit 7ef09e9

Browse files
committed
Update llama_vocab_pre_type varriable
1 parent 2e27fd8 commit 7ef09e9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

llama_cpp/llama_cpp.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@
191191
# LLAMA_VOCAB_PRE_TYPE_QWEN35 = 46,
192192
# LLAMA_VOCAB_PRE_TYPE_TINY_AYA = 47,
193193
# LLAMA_VOCAB_PRE_TYPE_JOYAI_LLM = 48,
194-
#. LLAMA_VOCAB_PRE_TYPE_JAIS2 = 49,
194+
# LLAMA_VOCAB_PRE_TYPE_JAIS2 = 49,
195+
# LLAMA_VOCAB_PRE_TYPE_GEMMA4 = 50,
195196
# };
196197
LLAMA_VOCAB_PRE_TYPE_DEFAULT = 0
197198
LLAMA_VOCAB_PRE_TYPE_LLAMA3 = 1
@@ -209,7 +210,7 @@
209210
LLAMA_VOCAB_PRE_TYPE_DBRX = 13
210211
LLAMA_VOCAB_PRE_TYPE_SMAUG = 14
211212
LLAMA_VOCAB_PRE_TYPE_PORO = 15
212-
LLAMA_VOCAV_PRE_TYPE_CHATGLM3 = 16
213+
LLAMA_VOCAB_PRE_TYPE_CHATGLM3 = 16
213214
LLAMA_VOCAB_PRE_TYPE_CHATGLM4 = 17
214215
LLAMA_VOCAB_PRE_TYPE_VIKING = 18
215216
LLAMA_VOCAB_PRE_TYPE_JAIS = 19
@@ -243,6 +244,7 @@
243244
LLAMA_VOCAB_PRE_TYPE_TINY_AYA = 47
244245
LLAMA_VOCAB_PRE_TYPE_JOYAI_LLM = 48
245246
LLAMA_VOCAB_PRE_TYPE_JAIS2 = 49
247+
LLAMA_VOCAB_PRE_TYPE_GEMMA4 = 50
246248

247249

248250
# // note: these values should be synchronized with ggml_rope

0 commit comments

Comments
 (0)