System prompt

#8
by ahmetfirat - opened

How can I modify the system prompt? I can see it in the conversation.py in the repo however this file is nowhere to be found in my cache.

OpenGVLab org

Hello, thank you for your attention.

After loading the model, you can directly modify the system prompt by changing the model's system_message:

model.system_message = "your custom system prompt"
czczup changed discussion status to closed

Sign up or log in to comment