From 6d94ba2e5894030f3be44bab7a225d81598f659d Mon Sep 17 00:00:00 2001 From: MaggotHATE Date: Fri, 4 Oct 2024 22:51:04 +0500 Subject: [PATCH] Fixed forgotten header --- include/llama.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llama.h b/include/llama.h index ae8e0960d..b9bceb0be 100644 --- a/include/llama.h +++ b/include/llama.h @@ -1094,7 +1094,7 @@ extern "C" { LLAMA_API struct llama_sampler * llama_sampler_init_temp_ext (float t, float delta, float exponent); /// @details XTC sampler as described in https://github.com/oobabooga/text-generation-webui/pull/6335 - LLAMA_API struct llama_sampler * llama_sampler_init_xtc (float p, float t, float t_max, size_t min_keep); + LLAMA_API struct llama_sampler * llama_sampler_init_xtc (float p, float t, float t_max, size_t min_keep, uint32_t seed); /// @details Mirostat 1.0 algorithm described in the paper https://arxiv.org/abs/2007.14966. Uses tokens instead of words. /// @param candidates A vector of `llama_token_data` containing the candidate tokens, their probabilities (p), and log-odds (logit) for the current position in the generated text.