X-PLUG / mPLUG-Owl

mPLUG-Owl: The Powerful Multi-modal Large Language Model Family
https://www.modelscope.cn/studios/damo/mPLUG-Owl
MIT License
2.25k stars 171 forks source link

Does mPLUG-Owl3 support no image input? #238

Closed aiiph4 closed 1 month ago

aiiph4 commented 1 month ago

I'd like to know if mPLUG-Owl3 supports text-only input. Thank you very much!

badarrrr commented 1 month ago

I guess it doesn't work. When I use the gradio demo, an error occurs the first time I enter text. I have to upload an image or video first before I can continue the text conversation.

aiiph4 commented 1 month ago

I find that simply setting both the images and videos parameters to None in the processor works as expected. Here's how I'm using it: inputs = processor(messages, images=None, videos=None)