PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Topic Modeling Python Packages

Python packages with the GitHub topic topic-modeling. Sorted by relevance, with stars and monthly downloads.
RaRe-Technologies
gensim

Topic Modelling for Humans

7.1M 16K 4K
MaartenGr
bertopic

Leveraging BERT and c-TF-IDF to create easily interpretable topics.

467K 8K 906
nomic-ai
nomic

Nomic Developer API SDK

42K 2K 196
nealcaren
topica

Fast, all-purpose topic modeling for Python: 20+ models (LDA, STM, CTM, DMR, keyATM, BERTopic, ETM, ...) behind one NumPy-native interface on a parallel Rust core, with shared diagnostics and reproducible fits.

27K 4 2
JasonKessler
scattertext

Beautiful visualizations of how language differs among document types.

16K 2K 285
bab2min
tomotopy

Python package of Tomoto, the Topic Modeling Tool

13K 596 65
ddangelov
top2vec

Top2Vec learns jointly embedded topic, document and word vectors.

10K 3K 376
gregversteeg
corextopic

Hierarchical unsupervised and semi-supervised topic models for sparse count data with CorEx

8K 641 117
MIND-LAB
octis

OCTIS: Comparing Topic Models is Simple! A python package to optimize and evaluate topic models (accepted at EACL2021 demo track)

5K 803 117
MilaNLProc
contextualized-topic-models

A python package to run contextualized topic modeling. CTMs combine contextualized embeddings (e.g., BERT) with topic models to get coherent topics. Published at EACL and ACL 2021 (Bianchi et al.).

5K 1K 154
stephenhky
shorttext

Various Algorithms for Short Text Mining

3K 471 74
lffloyd
embedded-topic-model

A package to run embedded topic modelling with ETM. Adapted from the original at: https://github.com/adjidieng/ETM

2K 94 10
ddbourgin
numpy-ml

Machine learning, in numpy

2K 16K 4K
drob-xx
topicmodeltuner

HDBSCAN Tuning for BERTopic Models

2K 51 3
emirkyz
manta-topic-modelling

Comprehensive topic modeling system using Non-negative Matrix Factorization (NMF)

2K 3 1
ContextLab
hypertools

A Python toolbox for gaining geometric insights into high-dimensional data

2K 2K 164
bobxwu
fastopic

A Fast, Adaptive, Stable, and Transferable Topic Model (NeurIPS 2024)

2K 162 13
bobxwu
topmost

A Topic Modeling System Toolkit (ACL 2024 Demo)

1K 291 27
yaniv-shulman
chunkey-bert

ChunkeyBert is a minimal and easy-to-use keyword extraction technique that leverages BERT embeddings for unsupervised keyphrase extraction from long text documents.

1K 1 0
zhiyzuo
python-topic-model-preprocessor

A helper class for facilitating preprocessing of text corpus before any topic modeling algorithms

1K 2 0
Sinapsis-AI
sinapsis-bertopic

Package for topic modeling using BERTopic, including templates for fitting models and making predictions.

1K 0 0
DecafSunrise
simpletopicmodel

Easily identifying themes in text

1K 1 0
rmovva
hypothesaes

HypotheSAEs: hypothesizing interpretable relationships in text datasets using sparse autoencoders. https://arxiv.org/abs/2502.04382

1K 90 27
maximtrp
bitermplus

Biterm Topic Model (BTM): modeling topics in short texts

982 86 15
    • Data from PyPI, GitHub, ClickHouse, and BigQuery