m3hrdadfi / sentence-transformers

Sentence Embeddings with ParsBERT
Apache License 2.0
51 stars 6 forks source link

Error in importing libs #4

Closed tadeha closed 3 years ago

tadeha commented 3 years ago

As the topic modeling Colab example, I've used the following versions of the libraries:

!pip install -qU sentence-transformers==0.3.9
!pip install -q bertopic==0.3.2

But unfortunately, when Colab tries to import it, it runs to the error below:

Screen Shot 2021-05-23 at 13 08 58
m3hrdadfi commented 3 years ago

@tadeha

It is now resolved!

m3hrdadfi commented 3 years ago

@tadeha,

In case of having the same problem, feel free to reopen the issue.

FatemehMashhadi commented 1 year ago

Hi, As the Semantic_Search Colab example, the versions of required libraries are not compatible. Please specify the required versions.

!pip install -qU sentence-transformers==1.2.0
!pip install -qU wikipedia-api
!pip install -qU hazm==0.5
!pip install -qU clean-text[gpl]
!pip install -qU emoji==1.7
!pip install nltk==3.0.2
!pip install numpy==1.23.0