MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / add_bos_token

Method add_bos_token

llama_cpp/_internals.py:160–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 return llama_cpp.llama_vocab_eot(self.vocab)
159
160 def add_bos_token(self) -> bool:
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)

Callers 1

_create_completionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected