diff options
Diffstat (limited to 'src/llama-sampling.h')
-rw-r--r-- | src/llama-sampling.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llama-sampling.h b/src/llama-sampling.h index c2a9e45f..69d92a3a 100644 --- a/src/llama-sampling.h +++ b/src/llama-sampling.h @@ -33,6 +33,7 @@ void llama_sample_typical_impl (struct llama_sampling * smpl, llama_token_data_ void llama_sample_entropy_impl (struct llama_sampling * smpl, llama_token_data_array * candidates, float min_temp, float max_temp, float exponent_val); void llama_sample_temp_impl (struct llama_sampling * smpl, llama_token_data_array * candidates, float temp); void llama_sample_xtc_impl (struct llama_sampling * smpl, llama_token_data_array * candidates, float probability, float threshold, size_t min_keep); +void llama_sample_top_n_sigma_impl(struct llama_sampling * smpl, llama_token_data_array * candidates, float top_n_sigma); void llama_sample_repetition_penalties_impl( struct llama_sampling * smpl, |