HarderThenHarder / transformers_tasks

⭐️ NLP Algorithms with transformers lib. Supporting Text-Classification, Text-Generation, Information-Extraction, Text-Matching, RLHF, SFT etc.
https://www.zhihu.com/column/c_1451236880973426688
2.11k stars 376 forks source link

请问数据格式为什么要是把instruct,input,answer这种放在context里面的格式,直接传统的instruct,input,output三元组不行吗,差异在哪里 #61

Open hangzeli08 opened 1 year ago

GromZhang commented 1 year ago

我刚入行,还不太懂,希望能帮到你。传统的instruct,input,answer目前往往也会处理成这个样子的。你可以参考一下,alpaca-lora的微调案例。