8000 Update llama.cpp · eycewind/llama-cpp-python@69413ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 69413ce

Browse files
committed
Update llama.cpp
1 parent 9368670 commit 69413ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llama_cpp/llama_cpp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,11 @@ def _load_shared_library(lib_base_name: str):
139139
# enum llama_vocab_type {
140140
# LLAMA_VOCAB_TYPE_SPM = 0, // SentencePiece
141141
# LLAMA_VOCAB_TYPE_BPE = 1, // Byte Pair Encoding
142+
# LLAMA_VOCAB_TYPE_WPM = 2, // WordPiece
142143
# };
143144
LLAMA_VOCAB_TYPE_SPM = 0
144145
LLAMA_VOCAB_TYPE_BPE = 1
146+
LLAMA_VOCAB_TYPE_WPM = 2
145147

146148

147149
# enum llama_token_type {

vendor/llama.cpp

0 commit comments

Comments
 (0)
0