Spaces:
Sleeping
Sleeping
crystalkalem
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -37,11 +37,11 @@ def predict(message, history):
|
|
37 |
generate_kwargs = dict(
|
38 |
model_inputs,
|
39 |
streamer=streamer,
|
40 |
-
max_new_tokens=
|
41 |
do_sample=True,
|
42 |
top_p=0.95,
|
43 |
top_k=50,
|
44 |
-
temperature=0.
|
45 |
repetition_penalty=1.2,
|
46 |
num_beams=1,
|
47 |
stopping_criteria=StoppingCriteriaList([stop])
|
|
|
37 |
generate_kwargs = dict(
|
38 |
model_inputs,
|
39 |
streamer=streamer,
|
40 |
+
max_new_tokens=4096,
|
41 |
do_sample=True,
|
42 |
top_p=0.95,
|
43 |
top_k=50,
|
44 |
+
temperature=0.6,
|
45 |
repetition_penalty=1.2,
|
46 |
num_beams=1,
|
47 |
stopping_criteria=StoppingCriteriaList([stop])
|