Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 69413ce

Browse filesBrowse files
committed
Update llama.cpp
1 parent 9368670 commit 69413ce
Copy full SHA for 69413ce

File tree

Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed

‎llama_cpp/llama_cpp.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_cpp.py
+2Lines 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

Copy file name to clipboard

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.