mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
Update chatgpt-offline.py
This commit is contained in:
parent
20084c4f43
commit
9caf26b083
@ -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'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user