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

sorry to trouble #6

Open
onceGot opened this issue Dec 27, 2019 · 2 comments
Open

sorry to trouble #6

onceGot opened this issue Dec 27, 2019 · 2 comments

Comments

@onceGot
Copy link

onceGot commented Dec 27, 2019

but could you please tell how can I load a pretrained Pair2vec model?

@mandarjoshi90
Copy link
Owner

If you want to use this for QA/NLP with allennlp, see this
https://github.com/mandarjoshi90/pair2vec#using-pretrained-pair2vec-embeddings

If you want to do this in your own code, please see how it's initialized here.
https://github.com/mandarjoshi90/pair2vec/blob/master/endtasks/bidaf_pair2vec.py#L72

@onceGot
Copy link
Author

onceGot commented Jan 6, 2020

I just wanna get the pair embedding given two words, eg, take (see, film) as input and then obtain an vector as output

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