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

The order of connection between word vectors and image vectors in prompt #511

Open
Edisonhimself opened this issue May 20, 2024 · 0 comments

Comments

@Edisonhimself
Copy link

The order of connection between word vectors and image vectors in prompt
Thank you for your work. I have a few questions regarding the concatenation order of the image vectors and text vectors in the input prompt during the training and evaluation stages of MiniGPT4.

1.It has been observed that during the evaluation stage (as seen in the demo), the input prompt has the word vectors in the front and the image feature vectors at the back. Could you please explain the reason for using this prompt order ? It seems different from the order during the second stage of training.
2.In the first training stage, you directly input the image embeddings into the large model without utilizing any prompt word vectors as assistance. How does this approach still achieve a preliminary "interaction between images and text" effect?"

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

1 participant