We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用官方提供的web_demo_mm.py刚发现无论怎么向模型提问都无法输出图片,查看代码发现是由输出图片的能力的,但是不知道为何使用的for response in model.chat_stream(tokenizer, message, history=history):这段代码输出的结果就是没有标志<ref></ref>和<box></box>,测试了一下简单的示例代码是可以的,使用的是response, history = model.chat(tokenizer, query=query, history=None),这样就会正常输出标志,也能画图输出.不知道这个怎么解决?
for response in model.chat_stream(tokenizer, message, history=history):
<ref></ref>
<box></box>
response, history = model.chat(tokenizer, query=query, history=None)
No response
- OS:Ubuntu 18.04 - Python:3.8 - Transformers:4.36.0 - PyTorch:2.12 - CUDA:12.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
使用官方提供的web_demo_mm.py刚发现无论怎么向模型提问都无法输出图片,查看代码发现是由输出图片的能力的,但是不知道为何使用的
for response in model.chat_stream(tokenizer, message, history=history):
这段代码输出的结果就是没有标志<ref></ref>
和<box></box>
,测试了一下简单的示例代码是可以的,使用的是response, history = model.chat(tokenizer, query=query, history=None)
,这样就会正常输出标志,也能画图输出.不知道这个怎么解决?期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered: