How to mimic my writing sytle via fine-tuning?

Hi team,

I want to set up my own fine-tuned model to mimic my writing style(blogs, articles). But I’m not sure what are the detailed steps to do.
Based on my understanding and the reference: Fine tuning gpt-3 to write in the writing style of a news outlet
One of the possible way is to extract the “news/fact” to prompt and the “high frequent words/sentence in my past articles” to completion to train the model, so that each time i ask the model to say something, it would try to follow my speaking habit.

But actually there is no general guidance yet, do we have other recommendation for this scenario?
Should we add some pre-notes like “from now on, you should act like xxx for the following response” to allow the model to output comments/sentences that imitating my writing style after feeding the prompt and completion? Is that a good approach? not sure if we can hide that first-prompt for the new conversation.

Thank you

2 Likes

:grinning:
Actually I asked chatGPT, it says I can separate the whole article to multiple sentence, and use the last sentence as prompt, and the next setence as completion, which I believe would be a good approach, since it’ll just like the generative model. Hope the above method can help me train my model. XD
e.g. There is a new restaurant nearby, can’t wait to try!
prompt: There is a new restaurant nearby
completion: can’t wait to try!

1 Like