CyberNative commited on
Commit
f61b980
1 Parent(s): 7b92038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,6 +84,7 @@ def chat_llama3_8b(message: str,
84
  streamer=streamer,
85
  max_new_tokens=max_new_tokens,
86
  do_sample=True,
 
87
  temperature=temperature,
88
  eos_token_id=terminators,
89
  )
@@ -116,7 +117,7 @@ with gr.Blocks(fill_height=True, css=css) as demo:
116
  gr.Slider(minimum=0,
117
  maximum=1,
118
  step=0.1,
119
- value=0.95,
120
  label="Temperature",
121
  render=False),
122
  gr.Slider(minimum=128,
 
84
  streamer=streamer,
85
  max_new_tokens=max_new_tokens,
86
  do_sample=True,
87
+ top_p=0.7,
88
  temperature=temperature,
89
  eos_token_id=terminators,
90
  )
 
117
  gr.Slider(minimum=0,
118
  maximum=1,
119
  step=0.1,
120
+ value=0.6,
121
  label="Temperature",
122
  render=False),
123
  gr.Slider(minimum=128,