LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with a KoboldAI UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.41k stars 318 forks source link

Model with character cards could not read images. #746

Open Naozumi520 opened 4 months ago

Naozumi520 commented 4 months ago

As title, I loaded a model (Yi 34b) with mmproj, and it's working surprisingly good. However, I encountered an issue when attempting to load the model with a custom character card. The model was unable to accurately identify the elements present in the image, but without character card, everything's good so far.

LostRuins commented 4 months ago

Did you enable "AI vision" to "LLaVA" for the image inside the card you want to use?

image

Also, kindly send a link to the mmproj file you used. As I would like to catalogue all of them.

Naozumi520 commented 4 months ago

Yes, I'm sure that "AI vision" is enabled by selecting "LLaVA". Not only unable to accurately identify the elements, but it will also saying something doesn't exist.

Also, here is the mmproj (mmproj-model-f16.gguf)

Thank you for your hard work!

LostRuins commented 4 months ago

Hmm, and this image is added as a regular image?

I can think of some possibilities: