MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / eval_token_count

Method eval_token_count

examples/server/server.py:3955–3956  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3953
3954 @property
3955 def eval_token_count(self) -> int:
3956 return self.length
3957
3958 def position_increments_up_to(self, pos: int) -> List[int]:
3959 increments: List[int] = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected