Elijahbodden commited on
Commit
80c1cbb
Β·
verified Β·
1 Parent(s): 0ca3f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -54,13 +54,8 @@ tokenizer.chat_template = custom_template
54
 
55
  presets = {
56
  # Make sure assistant responses end with a "\n" because reasons
57
- # If convo ended works well to persist attitudes across convos, I can add it to all of these to get rid of "hi" jarring the vibes
58
- "none" : [],
59
- "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"}],
60
- # Almost zeros hallucinations
61
- "convo_ended" : [{"role": "user", "content": "good convo, bye"}, {"role": "assistant", "content": "Haha cool ttyl\n"}],
62
  "rizz1gen2" : [{"role": "user", "content": "omg it's so hot when you flirt with me"}, {"role": "assistant", "content": "haha well you're lucky can even string a sentence together, the way you take my breath away 😘\n"}, {"role": "user", "content": "alright love you, bye!"}, {"role": "assistant", "content": "ttyl babe πŸ’•\n"}],
63
- "rizzard (lol)" : [{"role": "user", "content": "woah you're such a good writer"}, {"role": "assistant", "content": "you're lucky can even string a sentence together, the way you take my breath away babe 😘\n"}, {"role": "user", "content": "alright love you, bye!"}, {"role": "assistant", "content": "ttyl babe πŸ’•\n"}],
64
  "thinky" : [{"role": "user", "content": "Woah you just totally blew my mind\ngod, consciousness + anthropic principle is such a combo\nok ttyl"}, {"role": "assistant", "content": "nah our deep convos are always the best, we should talk again soon\nttyl\n"}],
65
  }
66
 
@@ -125,7 +120,7 @@ demo = gr.ChatInterface(
125
  description="The model may take a while if it hasn't run recently or a lot of people are using it",
126
  title="EliGPT v1.3",
127
  additional_inputs=[
128
- gr.Radio(presets.keys(), label="Personality 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", value="emojis"),
129
  gr.Slider(minimum=0.1, maximum=4.0, value=1.5, step=0.1, label="Temperature", info="How chaotic should the model be?"),
130
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\""),
131
  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?'),
 
54
 
55
  presets = {
56
  # Make sure assistant responses end with a "\n" because reasons
57
+ "default" : [{"role": "user", "content": "good convo, bye"}, {"role": "assistant", "content": "Haha cool ttyl\n"}],
 
 
 
 
58
  "rizz1gen2" : [{"role": "user", "content": "omg it's so hot when you flirt with me"}, {"role": "assistant", "content": "haha well you're lucky can even string a sentence together, the way you take my breath away 😘\n"}, {"role": "user", "content": "alright love you, bye!"}, {"role": "assistant", "content": "ttyl babe πŸ’•\n"}],
 
59
  "thinky" : [{"role": "user", "content": "Woah you just totally blew my mind\ngod, consciousness + anthropic principle is such a combo\nok ttyl"}, {"role": "assistant", "content": "nah our deep convos are always the best, we should talk again soon\nttyl\n"}],
60
  }
61
 
 
120
  description="The model may take a while if it hasn't run recently or a lot of people are using it",
121
  title="EliGPT v1.3",
122
  additional_inputs=[
123
+ gr.Radio(presets.keys(), label="Personality 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", value="default"),
124
  gr.Slider(minimum=0.1, maximum=4.0, value=1.5, step=0.1, label="Temperature", info="How chaotic should the model be?"),
125
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\""),
126
  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?'),