ShermanAI commited on
Commit
9ceb2e3
1 Parent(s): 4a0cd2c

Update app.py

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