Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/abetlen/llama-cpp-python
/ token_bos
Method
token_bos
llama_cpp/_internals.py:133–134 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
131
# Special tokens
132
133
def
token_bos(self) -> int:
134
return
llama_cpp.llama_vocab_bos(self.vocab)
135
136
def
token_eos(self) -> int:
137
return
llama_cpp.llama_vocab_eos(self.vocab)
Callers
1
detokenize
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected