for response,history in self.jittorllms_model.run_web_demo(query,history):
print(response)
self.child.send(response)
而不是:for response in self.jittorllms_model.stream_chat(query,history)。
希望可以修改下,另外希望增加对code_llama的支持。
Screen Shot | 有帮助的截图
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Linux
Describe the bug | 简述
for response,history in self.jittorllms_model.run_web_demo(query,history): print(response) self.child.send(response) 而不是:for response in self.jittorllms_model.stream_chat(query,history)。 希望可以修改下,另外希望增加对code_llama的支持。
Screen Shot | 有帮助的截图
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response