llama_cpp_sys_4

Function llama_sampler_init_temp

Source
pub unsafe extern "C" fn llama_sampler_init_temp(
    t: f32,
) -> *mut llama_sampler
Expand description

#details Updates the logits l_i` = l_i/t. When t <= 0.0f, the maximum logit is kept at it’s original value, the rest are set to -inf