chore: Fix enumeration for qwen, olmo, and dbrx

This commit is contained in:
teleprint-me 2024-05-08 15:05:24 -04:00
parent ca8aceaca9
commit c05d2a2c1c
No known key found for this signature in database
GPG key ID: B0D11345E65C4D48

View file

@ -81,10 +81,10 @@ extern "C" {
LLAMA_VOCAB_PRE_TYPE_GPT2 = 7, LLAMA_VOCAB_PRE_TYPE_GPT2 = 7,
LLAMA_VOCAB_PRE_TYPE_REFACT = 8, LLAMA_VOCAB_PRE_TYPE_REFACT = 8,
LLAMA_VOCAB_PRE_TYPE_COMMAND_R = 9, LLAMA_VOCAB_PRE_TYPE_COMMAND_R = 9,
LLAMA_VOCAB_PRE_TYPE_QWEN = 11, LLAMA_VOCAB_PRE_TYPE_QWEN = 10,
LLAMA_VOCAB_PRE_TYPE_QWEN2 = 10, LLAMA_VOCAB_PRE_TYPE_QWEN2 = 11,
LLAMA_VOCAB_PRE_TYPE_OLMO = 11, LLAMA_VOCAB_PRE_TYPE_OLMO = 12,
LLAMA_VOCAB_PRE_TYPE_DBRX = 12, LLAMA_VOCAB_PRE_TYPE_DBRX = 13,
}; };
// note: these values should be synchronized with ggml_rope // note: these values should be synchronized with ggml_rope