top_k = 1 since it is an integer

This commit is contained in:
Fabio Rossini Sluzala 2023-04-01 17:21:37 -03:00
parent 3300247e97
commit 9523d72b56
No known key found for this signature in database
GPG key ID: F9D569BBF49F437B

View file

@ -1760,7 +1760,7 @@ llama_token llama_sample_top_p_top_k(
if (std::abs(temp) < FLT_EPSILON) {
temp = 0.8f;
top_k = 1.0f;
top_k = 1;
top_p = 0.0f;
}