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

Method token_cls

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

Source from the content-addressed store, hash-verified

137 return llama_cpp.llama_vocab_eos(self.vocab)
138
139 def token_cls(self) -> int:
140 return llama_cpp.llama_vocab_bos(self.vocab)
141
142 def token_sep(self) -> int:
143 return llama_cpp.llama_vocab_sep(self.vocab)

Callers 1

_create_completionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected