-
Notifications
You must be signed in to change notification settings - Fork 263
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
Learning rate #45
Comments
By default, nadam is chosen. You can change the learning rate updates in the following way:
If nadam is chosen as optimizer, it will start with a learning rate of 0.01. In epoch 5, it is updates to 0.002 learning rate. If you choose a different optimizer, for example adam, replace 'nadam' by 'adam' |
But in BiLSTM.py i have this line 61, Does that mean 'sgd' has been chosen for now? |
No.
if SGD is used, the updates from self.learning_rate_updates['sgd'] are used. If nadam is used, self.learning_rate_updates['nadam'] is used. If self.learning_rate_updates[optimizer] is not specified, the default learning rate from Keras is used. |
OK thanks. |
Where can we change the learning rate of nadam optimizer? Which optimizer is chosen if we don't specify in the params constructor?
The text was updated successfully, but these errors were encountered: