MaartenGr / MaartenGr/BERTopic

Using zero shot topic names

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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.