Qwen
/

history 要怎么写?

#39
by loong - opened

history 要怎么写?

Qwen org

Chat模型推理采用ChatML格式,请参考相关代码实现https://huggingface.co/Qwen/Qwen-7B-Chat/blob/main/modeling_qwen.py#L1186

history = [(q1, a1), (q2, a2) ... ...]

jklj077 changed discussion status to closed

Sign up or log in to comment