摘要: 解决方案是参照其它LLM给它补上chat()方法: def chat(model, tok, ques, history=[], **kw): iids = tok.apply_chat_template( history + [{'role': 'user', 'content': ques}], 阅读全文
posted @ 2024-03-31 14:31 绝不原创的飞龙 阅读(1560) 评论(0) 推荐(0)