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

Question about fine-tuning BERT on domain-specific dataset #1149

Open
guoxuxu opened this issue Sep 16, 2020 · 0 comments
Open

Question about fine-tuning BERT on domain-specific dataset #1149

guoxuxu opened this issue Sep 16, 2020 · 0 comments

Comments

@guoxuxu
Copy link

@guoxuxu guoxuxu commented Sep 16, 2020 •

Hi.

I'm asking A common practice introduced in the paper is that we can set the learning rate to 2e-5, batch size to 32, 64. Does this mean there is no need to do hyperparameter tuning by ourselves?

Through experiments, I see that on a 6k dataset for binary classification, all hyperparameters tend to make the model overfit on the dataset. But produce slightly different test performance. In this case, is there a need to do a random search?

The paper says during pretraining, the learning rate was set to 1e-4 and weight decay was set to 0.01. Could you give some explanation of why setting a large weight decay?

Thanks a lot!

Please feel free to leave a comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.