Closed yuki9965 closed 1 year ago
Yes, you are right.
But it seems that the model only outputs the last question.
prompts = [ '''The following is a conversation between a curious human and AI assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. Human: \<image> Human: Explain why this meme is funny. AI: Human: What's the color of the floor? AI:''']
output: The floor in the image is blue.
Oh, I misunderstand your question. The prompt means the conversation history. So you need to add the history into prompt, and give a instruction to expect a output.
Hi, Thanks for your great work! In your model inference example, we use the prompts like [ '''The following is a conversation between a curious human and AI assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. Human: \<image> Human: Explain why this meme is funny. AI: ''']
but the conversion can only take once. I wander if the model can handle multiple conversation during one model inference? What the prompts need to be? I think the prompt maybe looks like :
[ '''The following is a conversation between a curious human and AI assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. Human: \<image> Human: Explain why this meme is funny. AI: Human: xxxx(another question) AI: ''']
But I cant get the expected results. Can you tell me the correct prompts? Thank you !