Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Question about prompt #1506

Open
avinashsai opened this issue May 16, 2024 · 1 comment
Open

[Discussion] Question about prompt #1506

avinashsai opened this issue May 16, 2024 · 1 comment

Comments

@avinashsai
Copy link

avinashsai commented May 16, 2024

Discussion

Hello,

Congratulations on the amazing work! I have a query about prompts for custom dataset. In the evaluation.md (https://github.com/haotian-liu/LLaVA/blob/main/docs/Evaluation.md) there is an example prompt for multiple choice question. Does this prompt has to be appended to the original prompt:

"A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. USER: <image>" + "<question> A. <option_1> B. <option_2> C. <option_3> D. <option_4> Answer with the option's letter from the given choices directly."

My task is given an image and list of choices, select the most probable choice. More like a image recognition problem.

@copperwiring
Copy link

Hi. Not the code author but what do you mean by original prompt? You can use the prompt you showed above and get the generated token which will be the predicted option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants