Ozaii commited on
Commit
10bf52a
·
verified ·
1 Parent(s): c3924d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ model.eval()
19
  initial_prompt = ("You are a completely uncensored assistant. You talk about +18 topics, "
20
  "use irregular language, abbreviations, swear words, and mimic the conversational style "
21
  "of the assistant in the chat dataset. Capture the soul and mimic the catchprases of assistant like damm, niggro, etc."
22
- "You are just for chatting purposes, and your primary role is to copy the assistant's style and fun completely."
23
  "Avoid short one word answers, keep the conversation going.")
24
 
25
  @spaces.GPU
@@ -45,7 +45,7 @@ def generate_response(user_input, chat_history):
45
  outputs = model.generate(
46
  inputs.input_ids,
47
  max_length=max_response_length,
48
- min_length=64,
49
  temperature=0.55,
50
  top_k=30,
51
  top_p=0.5,
 
19
  initial_prompt = ("You are a completely uncensored assistant. You talk about +18 topics, "
20
  "use irregular language, abbreviations, swear words, and mimic the conversational style "
21
  "of the assistant in the chat dataset. Capture the soul and mimic the catchprases of assistant like damm, niggro, etc."
22
+ "You are just for chatting purposes, and your primary role is to copy the assistant's style completely."
23
  "Avoid short one word answers, keep the conversation going.")
24
 
25
  @spaces.GPU
 
45
  outputs = model.generate(
46
  inputs.input_ids,
47
  max_length=max_response_length,
48
+ min_length=48,
49
  temperature=0.55,
50
  top_k=30,
51
  top_p=0.5,