Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
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))
|