AttributeError: type object 'BERTopic' has no attribute 'merge_models' though in the documentation, there has merge_models
random-annoym opened this issue · comments
random-annoym commented
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.
Maarten Grootendorst commented
You should use the latest version of BERTopic for that (v0.16). Then it will work!
Maarten Grootendorst commented
Also, check out the full tutorial on how to use it here: https://maartengr.github.io/BERTopic/getting_started/merge/merge.html