chat-prompts 0.4.0

Chat prompt template
Documentation

CHAT PROMPTS

Prompt Types

  • llama-2-chat
<s>[INST] <<SYS>>
{{ system_prompt }}
<</SYS>>

{{ user_msg_1 }} [/INST] {{ model_answer_1 }} </s><s>[INST] {{ user_msg_2 }}   [/INST]
  • chatml
<|im_start|>system
{system_message}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
  • openchat
GPT4 User: {prompt}<|end_of_turn|>GPT4 Assistant:
  • zephyr
<|system|>
{system_prompt}</s>
<|user|>
{prompt}</s>
<|assistant|>
  • codellama-instruct
[INST] Write code to solve the following coding problem that obeys the constraints and passes the example test cases. Please wrap your code answer using ```:
{prompt}
[/INST]
  • mistral-instruct
<s>[INST] {prompt} [/INST]
  • stabllm-zephyr
<|user|>
{prompt}<|endoftext|>
<|assistant|>
  • mistrallite
<|prompter|>{prompt}</s><|assistant|>
  • vicuna-chat
{system} USER: {prompt} ASSISTANT:
  • vicuna-1.1-chat
USER: {prompt}
ASSISTANT:
  • wizard-coder
{system}

### Instruction:
{instruction}

### Response:
  • intel-neural
### System:
{system}
### User:
{usr}
### Assistant:
  • deepseek-chat
User: {user_message_1}

Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}

Assistant:
  • deepseek-coder
{system}
### Instruction:
{question_1}
### Response:
{answer_1}
<|EOT|>
### Instruction:
{question_2}
### Response:
  • solar-instruct
### User:
{prompt}

### Assistant:
  • belle-llama-2-chat
Human: {input_1}\n\nAssistant:{output_1}Human: {input_2}\n\nAssistant:
  • stablelm-zephyr
<|user|>
{prompt}<|endoftext|>
<|assistant|>