wop commited on
Commit
8efda6a
·
verified ·
1 Parent(s): 76e82db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,11 +5,11 @@ import random
5
  API_URL = "https://api-inference.huggingface.co/models/"
6
 
7
  client = InferenceClient(
8
- "TheBloke/Mixtral-8x7B-Instruct-v0.1-GPTQ"
9
  )
10
 
11
  def format_prompt(message, history):
12
- prompt = "your primary function is to provide helpful and friendly responses to user queries"
13
  for user_prompt, bot_response in history:
14
  prompt += f"[INST] {user_prompt} [/INST]"
15
  prompt += f" {bot_response}</s> "
 
5
  API_URL = "https://api-inference.huggingface.co/models/"
6
 
7
  client = InferenceClient(
8
+ "mistralai/Mistral-7B-Instruct-v0.1"
9
  )
10
 
11
  def format_prompt(message, history):
12
+ prompt = "Your primary function is to provide helpful and friendly responses to user queries. You are Assistant."
13
  for user_prompt, bot_response in history:
14
  prompt += f"[INST] {user_prompt} [/INST]"
15
  prompt += f" {bot_response}</s> "