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

Adaptive Embedding Aggregation Fusion module #1

Closed
wendongj opened this issue Apr 12, 2024 · 2 comments
Closed

Adaptive Embedding Aggregation Fusion module #1

wendongj opened this issue Apr 12, 2024 · 2 comments

Comments

@wendongj
Copy link

Hi, dear, author, really thanks for sharing the result of this paper, it is an exciting work. I click this github page many times everyday to see if the code is updated.... I am confusing about Adaptive Embedding Aggregation Fusion module, in formula 13, as my understanding, Q is fixed embedding, it is one dimensional, K is reshaped into two dimensional, then how can them multiply together?

@HaoFengyuan HaoFengyuan closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2024
@HaoFengyuan HaoFengyuan reopened this Apr 12, 2024
@HaoFengyuan
Copy link
Owner

As described in our paper, the dimensions of K and V are (D, T×F), while Q can be interpreted as (1, D), resulting in a final output shape of (1, D). We utilized nn.MultiheadAttention for this operation. Code updates will be made available once our paper is received.

@wendongj
Copy link
Author

As described in our paper, the dimensions of K and V are (D, T×F), while Q can be interpreted as (1, D), resulting in a final output shape of (1, D). We utilized nn.MultiheadAttention for this operation. Code updates will be made available once our paper is received.

I see, thanks for your reply^_^

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