Prompting template

#1
by Arsive - opened

Would like to know what kind of prompt template I should be following

<|im_start|>user\n
Given the context information and not prior knowledge, answer the query, by mining only required information.
Context information is below.

<|start_of_context|>: {context_str} <|end_of_context|>

<|start_of_query|>: {query_str} <|end_of_query|>
\n<|im_end|>\n
<|im_start|>assistant

Answer:

The prompt structure used in fine-tuning is alpaca format:

"### Human:\n%question%\n\n### AI response:\n%response%"

Thank you for asking! I added it to the model card.

Thank you!

Arsive changed discussion status to closed

Sign up or log in to comment