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

Hparams #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Hparams #4

wants to merge 2 commits into from

Conversation

drauh
Copy link

@drauh drauh commented Aug 7, 2017

Tuned hparams to replicate this.

drauh added 2 commits August 7, 2017 18:20
* In tensorflow, keep_prob is used to parametrize dropout and in keras it is the dropout_rate so that we have dropout_rate = 1 - keep_prob
* I copied also the other parameters from [here]{https://github.com/tensorflow/models/blob/3d792f935d652b2c7793b95aa3351a5551dc2401/tutorials/rnn/ptb/ptb_word_lm.py#L226} but I think that his is less important
* removing recurrent dropout
* add dropout in before the softmax layer

This replicates [this]{https://github.com/tensorflow/models/blob/3d792f935d652b2c7793b95aa3351a5551dc2401/tutorials/rnn/ptb/ptb_word_lm.py#L128} implementation
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

Successfully merging this pull request may close these issues.

1 participant