MaartenGr / BERTopic

Leveraging BERT and c-TF-IDF to create easily interpretable topics.

Home Page:https://maartengr.github.io/BERTopic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: type object 'BERTopic' has no attribute 'merge_models' though in the documentation, there has merge_models

random-annoym opened this issue · comments

Here,
https://maartengr.github.io/BERTopic/api/bertopic.html#bertopic._bertopic.BERTopic.merge_models has a way to combine topic models. But it is not working throwing error.

You should use the latest version of BERTopic for that (v0.16). Then it will work!

Also, check out the full tutorial on how to use it here: https://maartengr.github.io/BERTopic/getting_started/merge/merge.html