From 13b757d8479a94a22beec4b36df1215032039a66 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 2 Aug 2024 18:10:12 +0200 Subject: [PATCH] enh: min_p added to params --- .../Settings/Advanced/AdvancedParams.svelte | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte index fc83f4534..ad9ea2104 100644 --- a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte +++ b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte @@ -20,6 +20,7 @@ mirostat_tau: null, top_k: null, top_p: null, + min_p: null, tfs_z: null, num_ctx: null, num_batch: null, @@ -385,6 +386,52 @@ {/if} +
+
+
{$i18n.t('Min P')}
+ + +
+ + {#if (params?.min_p ?? null) !== null} +
+
+ +
+
+ +
+
+ {/if} +
+
{$i18n.t('Frequency Penalty')}