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

pre-trained student weights #101

Closed
roymiles opened this issue May 24, 2022 · 3 comments
Closed

pre-trained student weights #101

roymiles opened this issue May 24, 2022 · 3 comments
Labels

Comments

@roymiles
Copy link

roymiles commented May 24, 2022

Hi
Thanks for releasing this project! You mentioned it is beneficial to initialize the student with pre-trained weights. Do you provide these weights by any chance? Specifically for the models used for the SQuAD task (L3 etc)

At the moment we are just copying the pre-trained weights from base bert into the first few 3 layers, but I am unsure if this is the best/recommended way of doing it.

Thanks

@stale
Copy link

stale bot commented May 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 30, 2022
@airaria
Copy link
Owner

airaria commented Jun 2, 2022

Hi Thanks for releasing this project! You mentioned it is beneficial to initialize the student with pre-trained weights. Do you provide these weights by any chance? Specifically for the models used for the SQuAD task (L3 etc)

At the moment we are just copying the pre-trained weights from base bert into the first few 3 layers, but I am unsure if this is the best/recommended way of doing it.

Thanks

We initialized the student with the first 3 layers of BERT, same as what you did.
It is the recommended way (I have experimented other schemes and I don't know if there are other simple and better ways)

@stale stale bot removed the stale label Jun 2, 2022
@stale
Copy link

stale bot commented Jun 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 10, 2022
@airaria airaria closed this as completed Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants