Prompt template for RAG
#2
by
sharad
- opened
Please share the prompt template format for using it with RAG, currently using this format:
<|im_start|>system
You are an assistant for question-answering tasks. Use the following pieces of context to answer the question. If you don't know the answer, just say that you don't know.<|im_end|>
<|im_start|>context
{context}<|im_end|>
<|im_start|>user
{question}<|im_end|>
<|im_start|>assistant
Or should I modify it as mentioned in the roleplay prompt?
The model was trained using the Alpaca prompt format, so I'd expect that would work best.
Is it working well with ChatML though? That's a little surprising but hey, if it works it works. :)