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

Same sentence produces a different vector in XLNet #63

Open
anoopkdcs opened this issue Jan 7, 2021 · 0 comments
Open

Same sentence produces a different vector in XLNet #63

anoopkdcs opened this issue Jan 7, 2021 · 0 comments

Comments

@anoopkdcs
Copy link

While running the same sentence using 'XLNet' and 'xlnet_base_cased', the model produces different embeddings.
for example; if
vec1 = en.encode(texts=['he is anger'],pooling='reduce_mean')
vec2 = en.encode(texts=['he is anger'],pooling='reduce_mean')
both the vec1 and vec2 have different embedding vectors.

@anoopkdcs anoopkdcs changed the title Same sentence has a different vector in XLNet Same sentence produces a different vector in XLNet Jan 7, 2021
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

1 participant