summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
authorDAN™ <dranger003@gmail.com>2024-05-05 01:19:30 -0400
committerGitHub <noreply@github.com>2024-05-05 08:19:30 +0300
commit889bdd76866ea31a7625ec2dcea63ff469f3e981 (patch)
treebcfaea83b66f89181980b64dba57a8c8f8f31a49 /llama.h
parent6fbd43221167bf96112f899daf22c127b282cbcf (diff)
command-r : add BPE pre-tokenization (#7063)
* Add BPE pre-tokenization for Command-R/R+. * Bump transformers convert requirement. * command-r : add individual digits regex --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llama.h b/llama.h
index 5ff04c1d..e2fd53ab 100644
--- a/llama.h
+++ b/llama.h
@@ -80,6 +80,7 @@ extern "C" {
LLAMA_VOCAB_PRE_TYPE_STARCODER = 6,
LLAMA_VOCAB_PRE_TYPE_GPT2 = 7,
LLAMA_VOCAB_PRE_TYPE_REFACT = 8,
+ LLAMA_VOCAB_PRE_TYPE_COMMAND_R = 9,
};
// note: these values should be synchronized with ggml_rope