Fine tuning with context

I want to do something like
“summarize the following text. text:”
and want to fine tune so the the summarization follows a certain form.

How would I do that ? do I put the text data into the fine-tuning prompt as well ?

1 Like

Fine tuning follows the formation: “Input prompt” → completion. So in this case, you should write out the full input and provide examples of the desired output. If you are trying to fine tune the model to do better summarizations, you need to provide example summarizations as the completion so the model can learn the structure of what you want it to do. See the fine tuning guide for details: OpenAI API

1 Like