Open kzaho-m opened 4 months ago
What happens here is that the cluster model actually only found 18 clusters. Then, you ask it to reduce it to 96 which is not possible since you only found 18 clusters. You cannot reduce 18 clusters into 96. You can only do that if the initial number of clusters is higher than the value you set for nr_topics.
Have you searched existing issues? 🔎
Desribe the bug
I am stuck with the bug: set nr_topics=96 (min_cluster_size=60, min_samples=30) then have "BERTopic - Topic reduction - Reduced number of topics from 18 to 18". Should it be like "BERTopic - Topic reduction - Reduced number of topics from 96 to 18" or something? Do you have any ideas on how to get rid of this "Topic reduction" step?
Reproduction
Train model
BERTopic Version
0.16.3