I have examples of multi-turn conversations between a salesman and a customer, they are in a list of list format where each conversation is a list with dictionaries.
I want to fine tune a model using them. What format should it have? Is it possible to pass the number of the conversation and the number of turn?
[
[
{
“conv_id”: 1,
“conv_step”: 1,
“customer_prompt”: “hi”
“salesman”: “hi”
},
{
“conv_id”: 1,
“conv_step”: 2,
“customer_prompt”: “I want a laptop”
“salesman”: “ok I can help you”
}
],
[
{
“conv_id”: 2,
“conv_step”: 1,
“customer_prompt”: “hi”
“salesman”: “hi”
},
{
“conv_id”: 2,
“conv_step”: 2,
“customer_prompt”: “I want a laptop”
“salesman”: “ok I can help you”
}
]
]
how can I convert these conversations to fine tune a chat model