history 要怎么写?
格式
Chat模型推理采用ChatML格式,请参考相关代码实现https://huggingface.co/Qwen/Qwen-7B-Chat/blob/main/modeling_qwen.py#L1186
history = [(q1, a1), (q2, a2) ... ...]
· Sign up or log in to comment