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

XLNet generates random word embeddings #45

Open
maziyarpanahi opened this issue Apr 27, 2020 · 4 comments
Open

XLNet generates random word embeddings #45

maziyarpanahi opened this issue Apr 27, 2020 · 4 comments

Comments

@maziyarpanahi
Copy link

Hi,
Setting Dropout in production results in random embeddings. This has been discussed in the main repo if you search. To reproduce this, just run the same string more than once, each time you'll see different embeddings.

zihangdai/xlnet#151 (comment)

@Saichethan
Copy link

@maziyarpanahi is this solved??

@maziyarpanahi
Copy link
Author

If the linked PR bing merged which sets Dropout to 0.0 then the random embeddings will be resolved as the authors of the XLNet suggested.

@Saichethan
Copy link

@maziyarpanahi so if I wanted to get XLNet embeddings now what should I do? Wait till they merge or is there any other way

@chiragjn
Copy link
Collaborator

Hey sorry, we kind of got busy with other things and totally forgot about this. I'll test out my PR today and get it merged. In the meanwhile if you can test out the patch in the PR and confirm that will also help

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 a pull request may close this issue.

3 participants