File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ module LLaMACpp # rubocop:disable Metrics/ModuleLength
94
94
# LLaMA vocabulary pre-tokenization type.
95
95
LLAMA_VOCAB_PRE_TYPE_VIKING = 16
96
96
97
+ # LLaMA vocabulary pre-tokenization type.
98
+ LLAMA_VOCAB_PRE_TYPE_JAIS = 17
99
+
97
100
# LLaMA token attribute type.
98
101
LLAMA_TOKEN_ATTR_UNDEFINED = 0
99
102
Original file line number Diff line number Diff line change @@ -3514,6 +3514,7 @@ extern "C" void Init_llama_cpp(void) {
3514
3514
rb_define_const (rb_mLLaMACpp, " LLAMA_VOCAB_PRE_TYPE_SMAUG" , INT2NUM (LLAMA_VOCAB_PRE_TYPE_SMAUG));
3515
3515
rb_define_const (rb_mLLaMACpp, " LLAMA_VOCAB_PRE_TYPE_PORO" , INT2NUM (LLAMA_VOCAB_PRE_TYPE_PORO));
3516
3516
rb_define_const (rb_mLLaMACpp, " LLAMA_VOCAB_PRE_TYPE_VIKING" , INT2NUM (LLAMA_VOCAB_PRE_TYPE_VIKING));
3517
+ rb_define_const (rb_mLLaMACpp, " LLAMA_VOCAB_PRE_TYPE_JAIS" , INT2NUM (LLAMA_VOCAB_PRE_TYPE_JAIS));
3517
3518
3518
3519
rb_define_const (rb_mLLaMACpp, " LLAMA_TOKEN_TYPE_UNDEFINED" , INT2NUM (LLAMA_TOKEN_TYPE_UNDEFINED));
3519
3520
rb_define_const (rb_mLLaMACpp, " LLAMA_TOKEN_TYPE_NORMAL" , INT2NUM (LLAMA_TOKEN_TYPE_NORMAL));
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ module LLaMACpp
34
34
LLAMA_VOCAB_PRE_TYPE_SMAUG: Integer
35
35
LLAMA_VOCAB_PRE_TYPE_PORO: Integer
36
36
LLAMA_VOCAB_PRE_TYPE_VIKING: Integer
37
+ LLAMA_VOCAB_PRE_TYPE_JAIS: Integer
37
38
38
39
LLAMA_TOKEN_ATTR_UNDEFINED: Integer
39
40
LLAMA_TOKEN_ATTR_UNKNOWN: Integer
You can’t perform that action at this time.
0 commit comments