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

Method add_top_n_sigma

llama_cpp/_internals.py:741–743  ·  view source on GitHub ↗
(self, n: float)

Source from the content-addressed store, hash-verified

739 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
740
741 def add_top_n_sigma(self, n: float):
742 sampler = llama_cpp.llama_sampler_init_top_n_sigma(n)
743 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
744
745 def add_mirostat(self, n_vocab: int, seed: int, tau: float, eta: float, m: int):
746 sampler = llama_cpp.llama_sampler_init_mirostat(n_vocab, seed, tau, eta, m)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected