Home page get_topic_info() function not understood
EricIrving-chs opened this issue · comments
It seems there is something strange going on with your topics when you run topic_model.get_topic_info()
. Could you provide your full code? Also, which version of BERTopic are you using?
It seems there is something strange going on with your topics when you run
topic_model.get_topic_info()
. Could you provide your full code? Also, which version of BERTopic are you using?
Thank you for your reply, this is an example of the official home page of bertopic, which I also found problematic.
@EricIrving-chs Could you provide the full code? I'm not entirely sure which example you are referring to and which version of BERTopic you are using. It would help me understand the problem if you could provide a working example.
@EricIrving-chs Could you provide the full code? I'm not entirely sure which example you are referring to and which version of BERTopic you are using. It would help me understand the problem if you could provide a working example.
This is not the code I ran, this is the example given by your Github, it's what comes out of running your program
Aaah, now I understand! I figured you ran into some issue with the topic naming/ids.
It seems that the example shown is simply from old code and is not what comes out of running BERTopic. In practice, these are now correctly ordered by their frequency.