ShermanAI commited on
Commit
48d5590
1 Parent(s): 09e9f0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def format_prompt(message, history):
12
  prompt += f"[USER] {message} [/USER]</s>"
13
  return prompt
14
 
15
- def generate(prompt, history, temperature=0.6, max_new_tokens=256, top_p=0.95, repetition_penalty=1.2):
16
  temperature = float(temperature)
17
  top_p = float(top_p)
18
 
 
12
  prompt += f"[USER] {message} [/USER]</s>"
13
  return prompt
14
 
15
+ def generate(prompt, history, temperature=0.6, max_new_tokens=2048, top_p=0.95, repetition_penalty=1.2):
16
  temperature = float(temperature)
17
  top_p = float(top_p)
18