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

Method n_ctx_train

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

Source from the content-addressed store, hash-verified

95 return llama_cpp.llama_vocab_n_tokens(self.vocab)
96
97 def n_ctx_train(self) -> int:
98 return llama_cpp.llama_model_n_ctx_train(self.model)
99
100 def n_embd(self) -> int:
101 return llama_cpp.llama_model_n_embd(self.model)

Callers 2

tokenizeMethod · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected