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

bert.pooler.dense initialization #300

Closed
SinghJasdeep opened this issue Feb 20, 2019 · 1 comment
Closed

bert.pooler.dense initialization #300

SinghJasdeep opened this issue Feb 20, 2019 · 1 comment

Comments

@SinghJasdeep
Copy link
Contributor

Hey! Sorry if this is redundant.

I saw 3 other issues asking similar questions but couldn't find these exact layers mentioned.

Are bert.pooler.dense.weight & bert.pooler.dense.bias randomly initialized?

Thank you so much!

@thomwolf
Copy link
Member

Hi Jasdeep,
No, they are initialized from Google's pretrained model (they are trained for next sentence prediction task during pretraining).

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