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

Method add_xtc

llama_cpp/_internals.py:737–739  ·  view source on GitHub ↗
(self, p: float, t: float, min_keep: int, seed: int)

Source from the content-addressed store, hash-verified

735 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
736
737 def add_xtc(self, p: float, t: float, min_keep: int, seed: int):
738 sampler = llama_cpp.llama_sampler_init_xtc(p, t, min_keep, seed)
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected