llama_sampler_init_temp_ext function

  1. @Native<Pointer<llama_sampler> Function(Float, Float, Float)>(ffi.Float, ffi.Float, ffi.Float)>()
Pointer<llama_sampler> llama_sampler_init_temp_ext(
  1. double t,
  2. double delta,
  3. double exponent
)

@details Dynamic temperature implementation (a.k.a. entropy) described in the paper https://arxiv.org/abs/2309.02772.

Implementation

@ffi.Native<
  ffi.Pointer<llama_sampler> Function(ffi.Float, ffi.Float, ffi.Float)
>()
external ffi.Pointer<llama_sampler> llama_sampler_init_temp_ext(
  double t,
  double delta,
  double exponent,
);