llama_sample_tail_free method
void
llama_sample_tail_free(
- Pointer<
llama_context> ctx, - Pointer<
llama_token_data_array> candidates, - double z,
- int min_keep,
@details Tail Free Sampling described in https://www.trentonbricken.com/Tail-Free-Sampling/.
Implementation
void llama_sample_tail_free(
ffi.Pointer<llama_context> ctx,
ffi.Pointer<llama_token_data_array> candidates,
double z,
int min_keep,
) {
return _llama_sample_tail_free(
ctx,
candidates,
z,
min_keep,
);
}