Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,12 +34,12 @@ def output_inference(tanya, history):
|
|
34 |
prompt,
|
35 |
stop=["<|end_of_text|>","Pertanyaan:","Jawaban:", "###"],
|
36 |
max_tokens=512,
|
37 |
-
temperature=0.
|
38 |
top_p=0.95,
|
39 |
top_k=40,
|
40 |
min_p=0.05,
|
41 |
typical_p=1.0,
|
42 |
-
repeat_penalty=1.
|
43 |
stream=True,
|
44 |
)
|
45 |
for out in output:
|
|
|
34 |
prompt,
|
35 |
stop=["<|end_of_text|>","Pertanyaan:","Jawaban:", "###"],
|
36 |
max_tokens=512,
|
37 |
+
temperature=0.2,
|
38 |
top_p=0.95,
|
39 |
top_k=40,
|
40 |
min_p=0.05,
|
41 |
typical_p=1.0,
|
42 |
+
repeat_penalty=1.1,
|
43 |
stream=True,
|
44 |
)
|
45 |
for out in output:
|