Facico / Chinese-Vicuna

Chinese-Vicuna: A Chinese Instruction-following LLaMA-based Model —— 一个中文低资源的llama+lora方案,结构参考alpaca
https://github.com/Facico/Chinese-Vicuna
Apache License 2.0
4.14k stars 422 forks source link

训练数据中 input 是不是对应其他数据格式中的history, 有示例吗 #195

Closed babyyanxi closed 1 year ago

babyyanxi commented 1 year ago

你好,请问假如要添加历史,即除了instruction和 output , 还提供一个上下文,是不是这个上下文就要放在input这里, 有示例吗?谢谢

LZY-the-boys commented 1 year ago

有对话历史的,用finetune_chat.py, 数据例子见sample/chat