MaartenGr / MaartenGr/BERTopic

It seems like topic terms has some word sequence that never appears in the raw training corpus.

Open
#1,420 1 comment 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

![image](https://github.com/MaartenGr/BERTopic/assets/8592144/4bc6acbd-d091-4103-83be-991f4bafac4a)
For example, I am sure these red-circled word sequence has never appeared in the original corpus. Why do they appear in the topic term list? @MaartenGr

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

Start by reproducing the reported topic-term output from the linked image and compare it with the raw training corpus. Trace how BERTopic constructs its topic term list, then determine whether the displayed word sequences can be generated from the corpus and document the cause or expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.