Elijahbodden commited on
Commit
b8522a2
·
verified ·
1 Parent(s): da1ba5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -105,6 +105,7 @@ def respond(
105
  mirostat_tau=mirostat_tau,
106
  mirostat_eta=mirostat_eta,
107
  max_tokens=128,
 
108
  frequency_penalty=frequency_penalty,
109
  presence_penalty=presence_penalty,
110
  logits_processor=lambda ids, logits: custom_lp_logits_processor(ids, logits, lp_start, lp_decay, len(convo))
 
105
  mirostat_tau=mirostat_tau,
106
  mirostat_eta=mirostat_eta,
107
  max_tokens=128,
108
+ do_sample=True,
109
  frequency_penalty=frequency_penalty,
110
  presence_penalty=presence_penalty,
111
  logits_processor=lambda ids, logits: custom_lp_logits_processor(ids, logits, lp_start, lp_decay, len(convo))