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

question about cross attention #402

Open
FORRYKIM opened this issue Jul 14, 2024 · 0 comments
Open

question about cross attention #402

FORRYKIM opened this issue Jul 14, 2024 · 0 comments

Comments

@FORRYKIM
Copy link

The data undergoes self-attention, and then proceeds to cross-attention through layer normalization. Why is it that in the code, the encoder_hidden_states for cross-attention are the embeddings of text and images, rather than the output from the previous self-attention layer?

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