Update run.py
Browse files
run.py
CHANGED
@@ -87,6 +87,8 @@ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
|
87 |
|
88 |
|
89 |
def format_prompt(message, history):
|
|
|
|
|
90 |
prompt = "" #"<s>"
|
91 |
for user_prompt, bot_response in history:
|
92 |
prompt += f"[INST] {user_prompt} [/INST]"
|
|
|
87 |
|
88 |
|
89 |
def format_prompt(message, history):
|
90 |
+
print("HOSTORY")
|
91 |
+
print(history)
|
92 |
prompt = "" #"<s>"
|
93 |
for user_prompt, bot_response in history:
|
94 |
prompt += f"[INST] {user_prompt} [/INST]"
|