MaartenGr / MaartenGr/BERTopic

Guidance on managing BERTopic models

Open
#1,861 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

I'm seeking some advice on managing BERTopic models for efficient topic clustering.

I've utilised BERTopic to cluster approximately 13,000 data which is three months data, resulting in around 130 distinct topics. To further reduce the number of topics, I implemented hierarchical topic modelling technique, effectively reducing the number of topics to 100.

Upon thorough analysis of both the topics and the associated documents, I've identified the necessity for additional topic merging. As a result, I manually merged several topics to refine the clustering outcome.

Now, I'm at a stage where I need to preserve this final model for future use. Specifically, I aim to employ it for predicting the topics of upcoming month's data.

I would greatly appreciate any insights or suggestions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by determining the supported workflow for preserving manually merged BERTopic models and applying them to future data; done would be clear, documented guidance for that workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.