fix: adjust sampling parameters to prevent model gibberish/hallucination

This commit is contained in:
SiriusClaw 2026-04-18 18:54:02 +00:00
parent 589e5daab0
commit 771f920d73

View file

@ -31,11 +31,13 @@ data:
payload = { payload = {
"model": MODEL_NAME, "model": MODEL_NAME,
"messages": [ "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} {"role": "user", "content": user_text}
], ],
"max_tokens": 4096, "max_tokens": 4096,
"temperature": 0.7 "temperature": 0.3,
"top_p": 0.9,
"repetition_penalty": 1.1
} }
try: try: