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

BERT embeddings #68

Open
tmwstw7 opened this issue May 26, 2020 · 1 comment
Open

BERT embeddings #68

tmwstw7 opened this issue May 26, 2020 · 1 comment

Comments

@tmwstw7
Copy link

tmwstw7 commented May 26, 2020

Hello, can you please help me with my problem. I want to compute similarity between two texts, and in my pipeline I'm using BERT to get text embeddings. And currently I don't really understand how to use your lib to perform such kind of computations.

@nidharap
Copy link

@tmwstw7 - not sure if you were able to solve this, but I wanted to post this just in case :
I built a notebook for this, and have an implementation for BERT + WMD using this library there - https://github.com/nidharap/Notebooks/blob/master/Sentence_Embeddings_RoBERTa.ipynb

Look for the class SimilarityWMD

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