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

Replace the attention module #673

Open
Maritime-Moon opened this issue Jan 15, 2025 · 0 comments
Open

Replace the attention module #673

Maritime-Moon opened this issue Jan 15, 2025 · 0 comments

Comments

@Maritime-Moon
Copy link

I can use the mamba network directly to the nn. MultiheadAttention?If you can, can you tell me how to add nn. The method of calling MultiheadAttention (q, k, value=src, attn_mask=src_mask, key_padding_mask=src_key_padding_mask) is modified

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