Skip to content

Commit 2ac5dcb

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Increase top_p to add more diversity.
1 parent 0155931 commit 2ac5dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ def complete_text(text):
10701070
max_new_tokens=20,
10711071
temperature=0.6,
10721072
top_k=40,
1073-
top_p=0.98,
1073+
top_p=0.985,
10741074
repetition_penalty=1.2,
10751075
# presence_penalty=1.2,
10761076
# frequency_penalty=1.3

0 commit comments

Comments
 (0)