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

Method eval_tokens

llama_cpp/llama.py:585–586  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

583
584 @property
585 def eval_tokens(self) -> Deque[int]:
586 return deque(self.input_ids[: self.n_tokens].tolist(), maxlen=self._n_ctx)
587
588 @property
589 def eval_logits(self) -> Deque[List[float]]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected