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

Method add_dist

llama_cpp/_internals.py:702–704  ·  view source on GitHub ↗
(self, seed: int)

Source from the content-addressed store, hash-verified

700 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
701
702 def add_dist(self, seed: int):
703 sampler = llama_cpp.llama_sampler_init_dist(seed)
704 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
705
706 def add_softmax(self):
707 warnings.warn(

Callers 2

_init_samplerMethod · 0.95
test_real_modelFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_real_modelFunction · 0.76