ncbi-nlp / BioSentVec

BioWordVec & BioSentVec: pre-trained embeddings for biomedical words and sentences
Other
577 stars 99 forks source link

AttributeError: module 'sent2vec' has no attribute 'Sent2vecModel' #31

Open akshayonly opened 3 years ago

akshayonly commented 3 years ago

I was trying to follow the given - BioSentVec_tutorial.ipynb

But after downloading the BioSentVec and trying to load I have got AttributeError.

azhx commented 3 years ago

You are probably installing the wrong package. Read the readme at https://github.com/epfml/sent2vec. You cannot install it by pip install sentvec you need to clone the repository and install it directly