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

what is the use of dropout in the Transformer? #19

Open
teucer opened this issue Jul 5, 2018 · 2 comments
Open

what is the use of dropout in the Transformer? #19

teucer opened this issue Jul 5, 2018 · 2 comments

Comments

@teucer
Copy link

teucer commented Jul 5, 2018

self.clf_dropout = nn.Dropout2d(cfg.clf_pdrop) # To reproduce the noise_shape parameter of TF implementation

@rodgzilla
Copy link
Contributor

A discussion about this code is happening in #11.

@teucer
Copy link
Author

teucer commented Jul 9, 2018

@rodgzilla have seen it, thx.

It seems that self.clf_dropout is not used used anywhere. Do we need it at all?

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