Open kirrat975 opened 1 week ago
I just pushed a fix, good catch. Any specific reason you are using doc2vec
as embedding model?
@ddangelov at first i was using universalsentence encoder but it was causing import error so i used this,can you suggest an embedding model that is good for domain specific topics(technical)?
@ddangelov An error is occuring since new contextual_top2vec is added.When i am using embeddingmodel='doc2vec' then at time of finding topics this error occurs: 2024-11-14 14:56:44,195 - top2vec - INFO - Pre-processing documents for training INFO:top2vec:Pre-processing documents for training 2024-11-14 14:56:45,567 - top2vec - INFO - Creating joint document/word embedding INFO:top2vec:Creating joint document/word embedding 2024-11-14 15:00:05,393 - top2vec - INFO - Creating lower dimension embedding of documents INFO:top2vec:Creating lower dimension embedding of documents /usr/local/lib/python3.10/dist-packages/umap/umap.py:1952: UserWarning: n_jobs value 1 overridden to 1 by setting random_state. Use no seed for parallelism. warn( 2024-11-14 15:00:20,966 - top2vec - INFO - Finding dense areas of documents INFO:top2vec:Finding dense areas of documents 2024-11-14 15:00:21,130 - top2vec - INFO - Finding topics INFO:top2vec:Finding topics AttributeError Traceback (most recent call last)