mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
LLaVA Custom Modelfile doesn't produce related answers with the image #811
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kasimchooch on GitHub (May 5, 2024).
Bug Report
Description
Bug Summary:
LLaVA Custom Modelfile doesn't produce related answers with the image I uploaded. Without creating a custom modelfile it works without any problem, but as soon as I type system prompt it starts giving random answers.
Steps to Reproduce:
1- Create a modelfile selecting LLaVA:7b
2- As the system prompt try something identical, mine was 'start your response with AHOY"
3- Open modelfile and type something without uploading an image. It will start the response with AHOY
4- Upload an image and say 'analyze', the response will be totally random and irrelevant to the image.
Expected Behavior:
LLaVA should use the system prompt when analyzing the images. In this case it should start image description with 'AHOY'
Actual Behavior:
Image description is totally random
Environment
Open WebUI Version: v0.1.123
Ollama (if applicable): 0.1.33
Operating System: Windows 11
Browser (if applicable): Chrome 124.0.6367.119
## Reproduction Details
Confirmation:
Screenshots



Installation Method
I installed the Open WebUI using Pinokio by CocktailPeanut.