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

Method n_embd

llama_cpp/llama.py:2252–2254  ·  view source on GitHub ↗

Return the embedding size.

(self)

Source from the content-addressed store, hash-verified

2250 return self._ctx.n_ctx()
2251
2252 def n_embd(self) -> int:
2253 """Return the embedding size."""
2254 return self._model.n_embd()
2255
2256 def n_vocab(self) -> int:
2257 """Return the vocabulary size."""

Callers 1

embedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected