MaartenGr / MaartenGr/BERTopic
Using zero shot topic names
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
Is there a way to use the zero shot topic names in the model output instead of the representations? For example when I do zero shot modeling with zeroshot_min_similarity = 0 I only get the zeroshot topics but when I to topic_model.view_hierarchy() it displays the topic keyword representation instead of the actual zero shot names.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing zero-shot modeling with zeroshot_min_similarity = 0, then compare the topic names in the model output with topic_model.view_hierarchy(). Trace how zero-shot names and keyword representations are selected for hierarchy display. Done means the hierarchy shows the actual zero-shot topic names instead of keyword representations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100