instruct fone tune phi2 on custom data

#103
by akashAD - opened

whats the promt format & data format we need for making custom llm model

For instruct fine-tuning, there are templates to prompt format. Below is an example format

prompt_template =  f"""## Instruction:
{instruction}
## Context
{context}
## Answer
{answer}"""

Depending on the use case, if any, you will be paraphrasing the instruction to achieve general understanding.

Sign up or log in to comment