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

Method add_mirostat_v2

llama_cpp/_internals.py:749–751  ·  view source on GitHub ↗
(self, seed: int, tau: float, eta: float)

Source from the content-addressed store, hash-verified

747 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
748
749 def add_mirostat_v2(self, seed: int, tau: float, eta: float):
750 sampler = llama_cpp.llama_sampler_init_mirostat_v2(seed, tau, eta)
751 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
752
753 def add_grammar(self, model: LlamaModel, grammar: LlamaGrammar):
754 sampler = llama_cpp.llama_sampler_init_grammar(

Callers 1

_init_samplerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected