-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify zero-shot topic modeling #2060
Merged
MaartenGr
merged 16 commits into
MaartenGr:master
from
semandex:issue2-simplify-zero-shot
Jul 1, 2024
Merged
Simplify zero-shot topic modeling #2060
MaartenGr
merged 16 commits into
MaartenGr:master
from
semandex:issue2-simplify-zero-shot
Jul 1, 2024
Commits on May 28, 2024
-
- zero-shot topic modeling is now only the equivalent of a clustering step - removed implementation where this functionality is done through merging two models - all documents are used at once when calculating representations - probability comes from cosine similarity when zeroshot topics are used - validate `nr_topics` with respect to how many zero-shot topics matched - track `self._outliers` and `self.topic_labels_` using `@property`, as they are derivatives of other attributes - validate existence of outliers before outlier reduction
Configuration menu - View commit details
-
Copy full SHA for b95de5d - Browse repository at this point
Copy the full SHA b95de5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b1d6f - Browse repository at this point
Copy the full SHA 96b1d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69fa29c - Browse repository at this point
Copy the full SHA 69fa29cView commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc12e03 - Browse repository at this point
Copy the full SHA fc12e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02134d6 - Browse repository at this point
Copy the full SHA 02134d6View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cfd75a4 - Browse repository at this point
Copy the full SHA cfd75a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecd0224 - Browse repository at this point
Copy the full SHA ecd0224View commit details -
When merging zero-shot, keep single zero-shot label if meets threshol…
…d with new topic embedding (#2)
Configuration menu - View commit details
-
Copy full SHA for 19af331 - Browse repository at this point
Copy the full SHA 19af331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9155a87 - Browse repository at this point
Copy the full SHA 9155a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a7b194 - Browse repository at this point
Copy the full SHA 2a7b194View commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f16c3d - Browse repository at this point
Copy the full SHA 0f16c3dView commit details
Commits on Jun 23, 2024
-
Merge branch 'master' into issue2-simplify-zero-shot
# Conflicts: # bertopic/_bertopic.py
Configuration menu - View commit details
-
Copy full SHA for cecb683 - Browse repository at this point
Copy the full SHA cecb683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7766277 - Browse repository at this point
Copy the full SHA 7766277View commit details -
Make
self._topic_id_to_zeroshot_topic_idx
private, add comments/doc……strings, lower threshold zeroshot test, fix outliers for probabilities during zeroshot (#2)
Configuration menu - View commit details
-
Copy full SHA for fbc574b - Browse repository at this point
Copy the full SHA fbc574bView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e812366 - Browse repository at this point
Copy the full SHA e812366View commit details
Commits on Jun 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e093b5b - Browse repository at this point
Copy the full SHA e093b5bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.