Elijahbodden commited on
Commit
7960b44
1 Parent(s): 47e8d89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -75,9 +75,9 @@ def respond(
75
  history: list[tuple[str, str]],
76
  preset,
77
  temperature,
 
78
  lp_start,
79
  lp_decay,
80
- min_p,
81
  frequency_penalty,
82
  presence_penalty,
83
  max_tokens
@@ -128,10 +128,10 @@ demo = gr.ChatInterface(
128
  title="EliGPT v1.3",
129
  additional_inputs=[
130
  gr.Radio(presets.keys(), label="Preset", info="Gaslight the model into acting a certain way - WARNING, IF YOU CHANGE THIS WHILE THERE ARE MESSAGES IN THE CHAT, THE MODEL WILL BECOME VERY SLOW FOR YOU", value="none"),
131
- gr.Slider(minimum=0.1, maximum=4.0, value=0.8, step=0.1, label="Temperature", info="How chaotic should the model be?"),
 
132
  gr.Slider(minimum=0, maximum=512, value=32, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
133
  gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
134
- gr.Slider(minimum=0.0, maximum=1.0, value=0.15, step=0.01, label="Min_p", info="Lower values make it more random (ratio between lowest-probability and highest-probability tokens)"),
135
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
137
  gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),
 
75
  history: list[tuple[str, str]],
76
  preset,
77
  temperature,
78
+ min_p,
79
  lp_start,
80
  lp_decay,
 
81
  frequency_penalty,
82
  presence_penalty,
83
  max_tokens
 
128
  title="EliGPT v1.3",
129
  additional_inputs=[
130
  gr.Radio(presets.keys(), label="Preset", info="Gaslight the model into acting a certain way - WARNING, IF YOU CHANGE THIS WHILE THERE ARE MESSAGES IN THE CHAT, THE MODEL WILL BECOME VERY SLOW FOR YOU", value="none"),
131
+ gr.Slider(minimum=0.1, maximum=4.0, value=1.0, step=0.1, label="Temperature", info="How chaotic should the model be?"),
132
+ gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\" (ratio between lowest-probability and highest-probability tokens)"),
133
  gr.Slider(minimum=0, maximum=512, value=32, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
134
  gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
 
135
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
137
  gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),