nixaut-codelabs commited on
Commit
5291883
·
verified ·
1 Parent(s): bdc336f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -96,10 +96,12 @@ def enhance_for_gradio(prompt_text, api_key):
96
  result = llm(
97
  full_prompt,
98
  max_tokens=512,
99
- temperature=0.7,
100
- top_k=40,
101
  top_p=0.95,
102
  repeat_penalty=1.1,
 
 
103
  stop=["<end_of_turn>"]
104
  )
105
 
 
96
  result = llm(
97
  full_prompt,
98
  max_tokens=512,
99
+ temperature=1,
100
+ top_k=64,
101
  top_p=0.95,
102
  repeat_penalty=1.1,
103
+ min_p: 0.01,
104
+ repeat_penalty: 1.0,
105
  stop=["<end_of_turn>"]
106
  )
107