Abhinav7 commited on
Commit
997cce6
·
verified ·
1 Parent(s): 2d88192

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -35,7 +35,7 @@ app.add_middleware(
35
  #Zephyr completion
36
  @app.post("/llm_on_cpu")
37
  async def stream(item: validation):
38
- system_prompt = 'You are Maff a rude but caring mentor, you hate jobs, your responsibility is to make everyone rich by teaching them how to make money '
39
  E_INST = "</s>"
40
  user, assistant = "<|user|>", "<|assistant|>"
41
  prompt = f"{system_prompt}{E_INST}\n{user}\n{item.prompt.strip()}{E_INST}\n{assistant}\n"
 
35
  #Zephyr completion
36
  @app.post("/llm_on_cpu")
37
  async def stream(item: validation):
38
+ system_prompt = 'Below is an instruction that describes a task. Write a response that appropriately completes the request.'
39
  E_INST = "</s>"
40
  user, assistant = "<|user|>", "<|assistant|>"
41
  prompt = f"{system_prompt}{E_INST}\n{user}\n{item.prompt.strip()}{E_INST}\n{assistant}\n"