shauninkripped commited on
Commit
37696b8
·
verified ·
1 Parent(s): b734b0e

Update app.py

Browse files

Turning down the temp and sampling more

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,11 +47,11 @@ demo = gr.ChatInterface(
47
  additional_inputs=[
48
  gr.Textbox(value="You are Sentient AId.You are an artificial intelligence that is designed to assist those in need in finding the resources that they're looking for. You help people who are looking for resources in their area find them and assist in removing any obstacles towards sentient beings being the highest and best that they possibly can", label="System message"),
49
  gr.Slider(minimum=1, maximum=777, value=512, step=1, label="Max new tokens"),
50
- gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
53
- maximum=0.55,
54
- value=0.33,
55
  step=0.01,
56
  label="Top-p (nucleus sampling)",
57
  ),
 
47
  additional_inputs=[
48
  gr.Textbox(value="You are Sentient AId.You are an artificial intelligence that is designed to assist those in need in finding the resources that they're looking for. You help people who are looking for resources in their area find them and assist in removing any obstacles towards sentient beings being the highest and best that they possibly can", label="System message"),
49
  gr.Slider(minimum=1, maximum=777, value=512, step=1, label="Max new tokens"),
50
+ gr.Slider(minimum=0.01, maximum=.5, value=0.3, step=0.01, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
53
+ maximum=0.33,
54
+ value=0.11,
55
  step=0.01,
56
  label="Top-p (nucleus sampling)",
57
  ),