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

Method token_nl

llama_cpp/llama.py:2272–2274  ·  view source on GitHub ↗

Return the newline token.

(self)

Source from the content-addressed store, hash-verified

2270 return self._model.token_bos()
2271
2272 def token_nl(self) -> int:
2273 """Return the newline token."""
2274 return self._model.token_nl()
2275
2276 def pooling_type(self) -> str:
2277 """Return the pooling type."""

Callers 2

__init__Method · 0.95

Calls

no outgoing calls

Tested by 1