BERTopic - Predicting topic assignments through cosine similarity of topic and document embeddings. #2056
Replies: 2 comments 5 replies
-
That is a normal message indicating what is happening under the hood. When you run
The latter happens when you run |
Beta Was this translation helpful? Give feedback.
-
Sure this is the full log:
The function is:
where each one is as following:
and
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have been using BERTopic for a while now and this week I upgraded to latest BERTopic version (0.16.2).
Now for some reason I have the following message printed as part of my code:
70/74 [09:02<00:31, 7.76s/it]2024-06-19 13:08:49,777 - BERTopic - Predicting topic assignments through cosine similarity of topic and document embeddings.
The code:
The message appears to be a part of the tqdm generator, which I guess is coming from somewhere inside
transform
implementation.I couldn't find the reference for this in the package.
In addition, I was under the impression that applying
transform
results in extracting the HDBSCAN probabilities and not the cosine similarity.Would appreciate any assistance in the matter.
Beta Was this translation helpful? Give feedback.
All reactions