From 57ea6595404748d58a6c5502d4d795332379f816 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Wed, 12 Apr 2023 20:41:56 +0300 Subject: [PATCH] Fix oobabooga again --- public/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/script.js b/public/script.js index a7d66d1ec5..1279297491 100644 --- a/public/script.js +++ b/public/script.js @@ -1663,6 +1663,8 @@ async function Generate(type, automatic_trigger, force_name2) { 'seed': textgenerationwebui_settings.seed, 'add_bos_token': textgenerationwebui_settings.add_bos_token, 'custom_stopping_strings': getStoppingStrings().concat(textgenerationwebui_settings.custom_stopping_strings), + 'truncation_length': max_context, + 'ban_eos_token': false, } ]; generate_data = { "data": [JSON.stringify(data)] };