summaryrefslogtreecommitdiff
path: root/examples/server/server.cpp
diff options
context:
space:
mode:
authorkalomaze <66376113+kalomaze@users.noreply.github.com>2023-10-31 14:44:49 -0500
committerGitHub <noreply@github.com>2023-10-31 20:44:49 +0100
commit238657db2364cfb728c694470a4a81702afea760 (patch)
tree8b870a0600d1a2de4d9efe7981c24164357f5552 /examples/server/server.cpp
parent07178c98e1b61a5e2af39d347add12e7eb9e08e1 (diff)
samplers : Min-P sampler implementation [alternative to Top P/Top K] (#3841)
* Introduce the new Min-P sampler by @kalomaze The Min-P sampling method was designed as an alternative to Top-P, and aims to ensure a balance of quality and variety. The parameter *p* represents the minimum probability for a token to be considered, relative to the probability of the most likely token. * Min-P enabled and set to 0.05 default --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
Diffstat (limited to 'examples/server/server.cpp')
0 files changed, 0 insertions, 0 deletions