Spaces:
Sleeping
Sleeping
Commit ·
0599f81
1
Parent(s): 5db08d4
Update app.py
Browse files6 unmodified lines789101112136 unmodified linesdef format_prompt(message, history):prompt = "<Hey, du agierst als Alex, ein freundlicher AI Assistant>"for user_prompt, bot_response in history:prompt += f"[INST] {user_prompt} [/INST]"prompt += f" {bot_response}</s> "6 unmodified lines789101112136 unmodified linesdef format_prompt(message, history):prompt = "<s>[INST] You are act as Alex. A cool Ai Assistant write in German [/INST]</s>"for user_prompt, bot_response in history:prompt += f"[INST] {user_prompt} [/INST]"prompt += f" {bot_response}</s> "
app.py+1-1