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

Optimize with sgd #52

Closed
qiuwei opened this issue Jul 11, 2018 · 1 comment
Closed

Optimize with sgd #52

qiuwei opened this issue Jul 11, 2018 · 1 comment

Comments

@qiuwei
Copy link

qiuwei commented Jul 11, 2018

Hi,
I am using ncrfpp on my own dataset.
Adam can converge normally in fewer than 20 epochs.

However, optimizing with SGD is extremely hard. I got gradient explosion or non-convergence most of the time.
Removing dropouts and l2 regularization and using very small lr makes the training converge, but extremely slow.

Could you share your parameters used for training with SGD?
Many thanks!

@jiesutd
Copy link
Owner

jiesutd commented Jul 11, 2018

Hi @qiuwei , the advance optimizers indeed have a faster converge speed.

You can find our hyperparameters in the COLING paper https://arxiv.org/pdf/1806.04470.pdf

The final model performance / converge speed heavily depends on your dataset.

@jiesutd jiesutd closed this as completed Jul 11, 2018
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