stanford_alpaca
stanford_alpaca copied to clipboard
How to convert dialog data to instructions for finetuning?
Hi community, I am trying to fintune a chatbot with domain specific knowledges using alpaca way for research purpose.
I do have some wikis, dialogs. does anyone know how to convert the data into instruction/input/output way? One thing I can come up with is to break one dialog into multiple data records. for example,
Customer: I have an order not shipping yet.
Representative: Could I know your order id?
Customer: AAABBBCCC
Representative: Here's the order status. it shows the order was delayed due to out of stock.
....
->
instructions: You you are online representative of a shopping website, please answer the questions based on the customer's description
input: I have an order not shipping yet.
Representative: Could I know your order id?
Is it the right way to go?
up
same question, up
Up