]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
sampling : make sure samplers return at least 1 token (#13822)
authorGeorgi Gerganov <redacted>
Tue, 27 May 2025 09:07:52 +0000 (12:07 +0300)
committerGitHub <redacted>
Tue, 27 May 2025 09:07:52 +0000 (12:07 +0300)
commitf9cd68398baf2ba8af4725ca9ed00bef205e6706
tree0f765da26af6d96478d9ab6e70aff541573d20cb
parent4f81b33e324b1669b282eb81104e4a1131be7dce
sampling : make sure samplers return at least 1 token (#13822)

* sampling : min-p should always return at least one token

ggml-ci

* sampling : same for typical sampling

* tests : sampling tests use min_keep == 0

ggml-ci
src/llama-sampling.cpp
tests/test-sampling.cpp