MaartenGr/BERTopic

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

71
/ 100
Verified

Combines dense transformer embeddings with dimensionality reduction (UMAP) and clustering (HDBSCAN) to discover coherent topics, then applies class-based TF-IDF to extract semantically meaningful keywords per cluster. Supports diverse modeling paradigms including supervised, hierarchical, dynamic, multimodal, and zero-shot approaches, with optional LLM-based topic representation for natural language summaries. Integrates with 🤗 Hugging Face transformers and offers pluggable backends for embeddings (Flair, spaCy, Gensim) and vision models for cross-modal topic discovery.

7,443 stars. Used by 5 other packages. Available on PyPI.

Maintenance 10 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 21 / 25

How are scores calculated?

Stars

7,443

Forks

882

Language

Python

License

MIT

Last pushed

Feb 20, 2026

Commits (30d)

0

Dependencies

9

Reverse dependents

5

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/MaartenGr/BERTopic"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.