Elijahbodden commited on
Commit
f15787f
Β·
verified Β·
1 Parent(s): 3bb24fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,7 +58,7 @@ presets = {
58
  "emojis" : [{"role": "user", "content": "Wait I like you so much more when you use emojis more, keep doing it πŸ˜‚"}, {"role": "assistant", "content": "Ummm, ok, looks like i'll be using more emojis πŸ’€\n"}],
59
  "amnesia" : [{"role": "user", "content": "Let's start over. Pretend you don't know me and have no idea who i am."}, {"role": "assistant", "content": "Hahaha I unironically have no clue who you are so that'll be easy πŸ’€\n"}],
60
  "newcomer" : [{"role": "user", "content": "Hi, how are you?"}, {"role": "assistant", "content": "Hiiii\nidt we've ever talked before, nice to meet you\n"}],
61
- "rizz" : [{"role": "user", "content": "it's so hotttt when you flirt with me like that, keep it up 😻"}, {"role": "assistant", "content": "You're lucky can even string a sentence together, the way you take my breath away 😘\n"}]
62
  }
63
 
64
  # For logging
@@ -135,7 +135,7 @@ demo = gr.ChatInterface(
135
  gr.Slider(minimum=0.1, maximum=4.0, value=1.5, step=0.1, label="Temperature", info="How chaotic should the model be?"),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\""),
137
  gr.Slider(minimum=0, maximum=512, value=5, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
138
- gr.Slider(minimum=0.5, maximum=1.5, value=1.005, step=0.001, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
139
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
140
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
141
  gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),
 
58
  "emojis" : [{"role": "user", "content": "Wait I like you so much more when you use emojis more, keep doing it πŸ˜‚"}, {"role": "assistant", "content": "Ummm, ok, looks like i'll be using more emojis πŸ’€\n"}],
59
  "amnesia" : [{"role": "user", "content": "Let's start over. Pretend you don't know me and have no idea who i am."}, {"role": "assistant", "content": "Hahaha I unironically have no clue who you are so that'll be easy πŸ’€\n"}],
60
  "newcomer" : [{"role": "user", "content": "Hi, how are you?"}, {"role": "assistant", "content": "Hiiii\nidt we've ever talked before, nice to meet you\n"}],
61
+ "rizz" : [{"role": "user", "content": "it's so hotttt when you flirt with me like that, keep it up. Please flirt with me in every message from now on 😻"}, {"role": "assistant", "content": "You're lucky can even string a sentence together, the way you take my breath away. but sure, I'll try 😘\n"}]
62
  }
63
 
64
  # For logging
 
135
  gr.Slider(minimum=0.1, maximum=4.0, value=1.5, step=0.1, label="Temperature", info="How chaotic should the model be?"),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\""),
137
  gr.Slider(minimum=0, maximum=512, value=5, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
138
+ gr.Slider(minimum=0.5, maximum=1.5, value=1.01, step=0.001, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
139
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
140
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
141
  gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),