diff --git a/LunaTranslator/LunaTranslator/translator/chatgpt-offline.py b/LunaTranslator/LunaTranslator/translator/chatgpt-offline.py index 7930e590..5c6adfe9 100644 --- a/LunaTranslator/LunaTranslator/translator/chatgpt-offline.py +++ b/LunaTranslator/LunaTranslator/translator/chatgpt-offline.py @@ -47,7 +47,7 @@ class TS(basetrans): # optional max_tokens=self.config['max_tokens'], n=1, - stop=None, + stop=["\n###", "\n\n", "[PAD151645]", "<|im_end|>"], top_p=self.config['top_p'], temperature=temperature, frequency_penalty=self.config['frequency_penalty'],