MaartenGr / MaartenGr/BERTopic

Home page get_topic_info() function not understood

Open
#1,897 5 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

![QQ截图20240331180918](https://github.com/MaartenGr/BERTopic/assets/64578267/fa92df3d-88ca-4fa7-999d-c68e290cfa49)
![QQ截图20240331180926](https://github.com/MaartenGr/BERTopic/assets/64578267/04f3fbb6-8b78-49c0-8829-21130da115b5)

Why don't the two functions get the same topic name with the same label? In fact I think the first picture is out of order, the name of the topic labeled 0 should not be 0_... What?

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 at the get_topic_info() entry point and compare the two calls shown in the screenshots, including how topic labels and names are produced. Reproduce the same-label case with a minimal example; done means the ordering and topic-name discrepancy is explained or corrected, with a focused regression test if a bug is confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.