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

Problem in bert #205

Open
zetaodu opened this issue May 3, 2023 · 1 comment
Open

Problem in bert #205

zetaodu opened this issue May 3, 2023 · 1 comment

Comments

@zetaodu
Copy link

zetaodu commented May 3, 2023

I find thop will not calculate the parameters in BertEmbedding and if I define two self_attention blocks in one layer, it will only calculate one.

@ivanstepanovftw
Copy link

Second self_attention block should also be used in forward method

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