Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abetlen/llama-cpp-python
/ add_eos_token
Method
add_eos_token
llama_cpp/_internals.py:163–164 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
161
return
llama_cpp.llama_vocab_get_add_bos(self.vocab)
162
163
def
add_eos_token(self) -> bool:
164
return
llama_cpp.llama_vocab_get_add_eos(self.vocab)
165
166
# Tokenization
167
Callers
1
_create_completion
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected