Published July 11, 2022
| Version v0.11.0
Software
Open
MaartenGr/BERTopic: v0.11.0
Authors/Creators
- 1. IKNL
- 2. Ada
- 3. Mustang Analytics
- 4. Tsinghua University
- 5. Huggingface
Description
Highlights
- Perform hierarchical topic modeling with
.hierarchical_topics - Visualize hierarchical topic representations with
.visualize_hierarchy - Extract a text-based hierarchical topic representation with
.get_topic_tree - Visualize 2D documents with
.visualize_documents() - Visualize 2D hierarchical documents with
.visualize_hierarchical_documents() - Create custom labels to the topics throughout most visualizations
- Manually merge topics with
.merge_topics() Added native Hugging Face transformers support ## Documentation
Added example for finding similar topics between two models in the tips & tricks page
- Add multi-modal example in the tips & tricks page
- Fix support for k-Means in
.visualize_heatmap(#532) - Fix missing topic 0 in
.visualize_topics(#533) - Fix inconsistencies in
.get_topic_info(#572) and (#581) - Add
optimal_orderingparameter to.visualize_hierarchyby @rafaelvalero in #390 - Fix RuntimeError when used as sklearn estimator by @simonfelding in #448
- Fix typo in visualization documentation by @dwhdai in #475
- Fix typo in docstrings by @xwwwwww in #549
- Support higher Flair versions
.visualize_hierarchy:
Extract a text-based hierarchical topic representation with .get_topic_tree:
.
└─atheists_atheism_god_moral_atheist
├─atheists_atheism_god_atheist_argument
│ ├─■──atheists_atheism_god_atheist_argument ── Topic: 21
│ └─■──br_god_exist_genetic_existence ── Topic: 124
└─■──moral_morality_objective_immoral_morals ── Topic: 29
Visualize 2D documents with .visualize_documents():
Visualize 2D hierarchical documents with .visualize_hierarchical_documents():
Files
MaartenGr/BERTopic-v0.11.0.zip
Files
(6.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:ba9757fb929d8af7969df5f69c05af6a
|
6.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/MaartenGr/BERTopic/tree/v0.11.0 (URL)