bhkkhjgkk commited on
Commit
ddb69f0
·
verified ·
1 Parent(s): 1dfcf67

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -45,7 +45,7 @@ async def generate_stream(item: Item):
45
  seed=42,
46
  )
47
 
48
- formatted_prompt = format_prompt(f"{item.system_prompt}, {item.prompt}", item.history)
49
  print(formatted_prompt)
50
  print("=======")
51
  print(item.history)
 
45
  seed=42,
46
  )
47
 
48
+ formatted_prompt = format_prompt(f"{item.system_prompt} [/INST] Ok..! </s> [INST] {item.prompt}", item.history)
49
  print(formatted_prompt)
50
  print("=======")
51
  print(item.history)