diff options
author | Mihai <mihai.chirculescu@yahoo.com> | 2023-11-09 04:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 20:00:34 -0600 |
commit | 57ad015dc3011b046ed5a23186c86ea55f987c54 (patch) | |
tree | 82408a6e008605c341428e75eea9a35ce342de94 /examples/server/public/index.html | |
parent | 875fb42871a0f5a88fbe31a0b5edd697b84038e4 (diff) |
server : add min_p param (#3877)
* Update server.cpp with min_p after it was introduced in https://github.com/ggerganov/llama.cpp/pull/3841
* Use spaces instead of tabs
* Update index.html.hpp after running deps.sh
* Fix test - fix line ending
Diffstat (limited to 'examples/server/public/index.html')
-rw-r--r-- | examples/server/public/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 39d7bb93..60659c14 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -219,6 +219,7 @@ repeat_penalty: 1.18, // 1.0 = disabled top_k: 40, // <= 0 to use vocab size top_p: 0.5, // 1.0 = disabled + min_p: 0.05, // 0 = disabled tfs_z: 1.0, // 1.0 = disabled typical_p: 1.0, // 1.0 = disabled presence_penalty: 0.0, // 0.0 = disabled @@ -744,6 +745,7 @@ ${IntField({ label: "Consider N tokens for penalize", max: 2048, min: 0, name: "repeat_last_n", value: params.value.repeat_last_n })} ${IntField({ label: "Top-K sampling", max: 100, min: -1, name: "top_k", value: params.value.top_k })} ${FloatField({ label: "Top-P sampling", max: 1.0, min: 0.0, name: "top_p", step: 0.01, value: params.value.top_p })} + ${FloatField({ label: "Min-P sampling", max: 1.0, min: 0.0, name: "min_p", step: 0.01, value: params.value.min_p })} </fieldset> <details> <summary>More options</summary> |