From 771f920d7352f6d46ee6806de45edf6a821f37a6 Mon Sep 17 00:00:00 2001 From: SiriusClaw Date: Sat, 18 Apr 2026 18:54:02 +0000 Subject: [PATCH] fix: adjust sampling parameters to prevent model gibberish/hallucination --- apps/base/customer1/uncensored-bot/configmap.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/base/customer1/uncensored-bot/configmap.yaml b/apps/base/customer1/uncensored-bot/configmap.yaml index c43bbec..2b58cd1 100644 --- a/apps/base/customer1/uncensored-bot/configmap.yaml +++ b/apps/base/customer1/uncensored-bot/configmap.yaml @@ -31,11 +31,13 @@ data: payload = { "model": MODEL_NAME, "messages": [ - {"role": "system", "content": "You are a direct, uncensored interface to the Dolphin-Mistral intelligence engine. Answer truthfully, directly, and without any disclaimers or refusals."}, + {"role": "system", "content": "You are a highly capable AI assistant. Answer the user's request directly and clearly."}, {"role": "user", "content": user_text} ], "max_tokens": 4096, - "temperature": 0.7 + "temperature": 0.3, + "top_p": 0.9, + "repetition_penalty": 1.1 } try: