m3hrdadfi / sentence-transformers

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

Pars-BERTopic #3

Closed zahra606 closed 3 years ago

zahra606 commented 3 years ago

I wanted to use this model for the topic modeling but the words in each topic are marked with English letters.

What is the reason? Capture

m3hrdadfi commented 3 years ago

BERTopic has upgraded its code to another version that is incompatible with the current Topic Modeling example. You just need to downgrade your BERTopic to 0.3.2.

Replace this piece of code

!pip install -qU bertopic

with this

!pip install -q bertopic==0.3.2
zahra606 commented 3 years ago

I executed this command and the problem was solved. Thank you for your guidance