From dcca49e848154f1c9850fdd4ef43d75b9602f3a3 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 26 Oct 2023 15:09:34 +0300 Subject: [PATCH] Revert TFS granularity --- public/index.html | 4 ++-- public/scripts/nai-settings.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 3483cb50f..a74771c6e 100644 --- a/public/index.html +++ b/public/index.html @@ -438,7 +438,7 @@
- +
@@ -5075,4 +5075,4 @@ - \ No newline at end of file + diff --git a/public/scripts/nai-settings.js b/public/scripts/nai-settings.js index 421b7aeee..dfa7ea2a1 100644 --- a/public/scripts/nai-settings.js +++ b/public/scripts/nai-settings.js @@ -188,7 +188,7 @@ function loadNovelSettingsUi(ui_settings) { $("#rep_pen_presence_novel").val(ui_settings.repetition_penalty_presence); $("#rep_pen_presence_counter_novel").val(Number(ui_settings.repetition_penalty_presence).toFixed(2)); $("#tail_free_sampling_novel").val(ui_settings.tail_free_sampling); - $("#tail_free_sampling_counter_novel").val(Number(ui_settings.tail_free_sampling).toFixed(2)); + $("#tail_free_sampling_counter_novel").val(Number(ui_settings.tail_free_sampling).toFixed(3)); $("#top_k_novel").val(ui_settings.top_k); $("#top_k_counter_novel").val(Number(ui_settings.top_k).toFixed(0)); $("#top_p_novel").val(ui_settings.top_p); @@ -257,7 +257,7 @@ const sliders = [ sliderId: "#tail_free_sampling_novel", counterId: "#tail_free_sampling_counter_novel", format: (val) => `${val}`, - setValue: (val) => { nai_settings.tail_free_sampling = Number(val).toFixed(2); }, + setValue: (val) => { nai_settings.tail_free_sampling = Number(val).toFixed(3); }, }, { sliderId: "#top_k_novel",