EnverLee commited on
Commit
5448adf
Β·
verified Β·
1 Parent(s): 0fbf7d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -228,10 +228,10 @@ def talk(prompt, history):
228
  generate_kwargs = dict(
229
  input_ids=input_ids,
230
  streamer=streamer,
231
- max_new_tokens=1024,
232
  do_sample=True,
233
  top_p=0.95,
234
- temperature=0.75,
235
  eos_token_id=tokenizer.eos_token_id,
236
  )
237
 
 
228
  generate_kwargs = dict(
229
  input_ids=input_ids,
230
  streamer=streamer,
231
+ max_new_tokens=64,
232
  do_sample=True,
233
  top_p=0.95,
234
+ temperature=0.2,
235
  eos_token_id=tokenizer.eos_token_id,
236
  )
237