Open shj37 opened 3 months ago
That's expected behavior since the .update_topics
update the topic representations if you do not set them. So instead of this:
topic_model_outlier_reduction.update_topics(docs, topics=new_topics)
you should do this:
topic_model_outlier_reduction.update_topics(
docs,
topics=new_topics,
vectorizer_model=vectorizer_model,
representation_model=representation_model
)
Have you searched existing issues? 🔎
Desribe the bug
After running
reduce_outliers
andupdate_topics
, the effects of all specifications used invectorizer_model
(stop words, ngram) are gone. The results' representation words only show single words. Thanks.BERTopic Version
0.16.0