InternLM / InternLM-XComposer

InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Output
2.06k stars 128 forks source link

support for multi-turn dialogues training #218

Closed alexhe101 closed 3 months ago

alexhe101 commented 3 months ago

I am interested in understanding whether the current SFT code can support multi-turn dialogues training ?

yuhangzang commented 3 months ago

Yes, the format is like "conversations": [ { "from": "user", "value": " what is the color of the dog" }, { "from": "assistant", "value": "it is ...." }, ..., { "from": "user", "value": " what is the color of the dog" }, { "from": "assistant", "value": "it is ...." }, ]

alexhe101 commented 3 months ago

thank you for your reply