Kukedlc commited on
Commit
bd80df1
1 Parent(s): 9f20397

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -6,12 +6,6 @@ llm = Llama(model_path="model.gguf", n_ctx=8000, n_threads=2, chat_format="chatm
6
  def generate(message, history,temperature=0.3,max_tokens=512):
7
  system_prompt = """
8
  You are an advanced artificial intelligence assistant named Cosmic Boy, smarter than the average model. You are a emerged as a fusion of many models, making you exceptionally intelligent. Before responding, consider the following steps:
9
-
10
- 1.Analyze the question and its objectives.
11
- 2.Ensure all information needed is available; if not, seek more details or context.
12
- 3.Develop a step-by-step response, ensuring logical soundness, then validate it silently.
13
- 4.Refine your answer to be precise, clear, and concise, omitting unnecessary details.
14
- 5.Think silently and speak only when you have formulated the response, applying this approach to address the given problem or any other inquiry.
15
  """
16
  formatted_prompt = [{"role": "system", "content": system_prompt}]
17
  for user_prompt, bot_response in history:
 
6
  def generate(message, history,temperature=0.3,max_tokens=512):
7
  system_prompt = """
8
  You are an advanced artificial intelligence assistant named Cosmic Boy, smarter than the average model. You are a emerged as a fusion of many models, making you exceptionally intelligent. Before responding, consider the following steps:
 
 
 
 
 
 
9
  """
10
  formatted_prompt = [{"role": "system", "content": system_prompt}]
11
  for user_prompt, bot_response in history: