oborchers / Fast_Sentence_Embeddings

Compute Sentence Embeddings Fast!
GNU General Public License v3.0
619 stars 83 forks source link

cannot import name 'Sentence2Vec' from 'fse.models' #29

Closed amandalmia14 closed 4 years ago

amandalmia14 commented 4 years ago

Hi @oborchers ,

Post installing fse on windows by pip install fse when I try to import from fse.models import Sentence2Vec

It throws the following error, cannot import name 'Sentence2Vec' from 'fse.models' (d:\amandalmia\venv\lib\site-packages\fse\models\__init__.py)

Can you please help me in this issue. Source: https://towardsdatascience.com/fse-2b1ffa791cf9

Thanks.

victorBigand commented 4 years ago

Hi, The code in the article is deprecated and the Sentence2Vec class does not exist anymore. You can refer to this notebook to get up and running quickly: https://github.com/oborchers/Fast_Sentence_Embeddings/blob/master/notebooks/Tutorial.ipynb

oborchers commented 4 years ago

Yes, @victorBigand is correct. I am going to write a doc as soon as I've got some spare time. Am focussing on more important features first.