Open onceGot opened 4 years ago
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
I just wanna get the pair embedding given two words, eg, take (see, film) as input and then obtain an vector as output
but could you please tell how can I load a pretrained Pair2vec model?