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.32k stars 176 forks source link

Does mPLUG-Owl3 support no image input? #238

Closed aiiph4 closed 2 months ago

aiiph4 commented 2 months ago

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

badarrrr commented 2 months 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 2 months 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)