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

Method add_temp

llama_cpp/_internals.py:729–731  ·  view source on GitHub ↗
(self, temp: float)

Source from the content-addressed store, hash-verified

727 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
728
729 def add_temp(self, temp: float):
730 sampler = llama_cpp.llama_sampler_init_temp(temp)
731 llama_cpp.llama_sampler_chain_add(self.sampler, sampler)
732
733 def add_temp_ext(self, t: float, delta: float, exponent: float):
734 sampler = llama_cpp.llama_sampler_init_temp_ext(t, delta, exponent)

Callers 2

_init_samplerMethod · 0.95
test_real_modelFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_real_modelFunction · 0.76