Repository navigation
Replies: 1 comment
|
Hierarchical options are implemented in BERTopic, like this which might be relevant for you. It creates a hierarchy without updating the internal model. That way, you can use the resulting dataframe of hierarchical topics to demonstrate this potential hierarchy. You would, however, need to update the model if you want to show different levels of hierarchy for every function/visualization that BERTopic supports. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello!
After running BERTopic unsupervised, I created a seed_topic_list to be passed into Guided BERTopic, then a KeyBERT representation layer.
The results are bigram topic labels which are good albeit granular.
I understand I can merge these topics, however I'd like to retain the original granular topics, in cases some people want to see that detail.
Is this possible? So that I can choose to display my docs either at the topic_high_level or the topic_low_level granularity, and also display the hierarchy?
If not possible, I was thinking of the alternatives:
Append granular bigram topics to dataframe to preserve them before running:
and append these as the high-level results.
But would this give a unigram that's potentially unrelated to the granular bigram, ie. if it picks out one of the representative words for that topic to construct the unigram?
Thanks
Noah
All reactions