BERTopic
Leveraging BERT and c-TF-IDF to create easily interpretable topics.
RepoPi no longer tracks this repository daily. Stats below were last updated on 2026-05-25. See current data on GitHub.
💡 Why It Matters
This project addresses the challenge of extracting interpretable topics from text corpora by combining transformer-based sentence embeddings with a class-based TF-IDF approach. Unlike traditional topic models like LDA that rely on bag-of-words representations, it generates dense clusters of semantically similar documents, improving topic coherence and interpretability. The architecture integrates Hugging Face transformers for embeddings and applies c-TF-IDF to highlight distinctive topic words. It supports multiple embedding backends and can incorporate vision models for multimodal topic modeling. With over 7,600 stars and recent commits, it shows active maintenance but lacks notable growth signals, suggesting steady but niche adoption. Machine learning engineers focused on NLP tasks will benefit most, especially those needing flexible, interpretable topic extraction. It is not suitable when lightweight or purely classical models suffice, or when deep probabilistic topic modeling with hierarchical Bayesian inference is required, where tools like Gensim or Mallet are better fits.
🎯 When to Use
Choose this when you need semantically rich, interpretable topics from text using transformer embeddings and want to experiment with different embedding models. Consider Gensim or Mallet if you prefer traditional probabilistic topic models without dependency on transformers or require hierarchical topic structures.
👥 Team Fit & Use Cases
Commonly used in teams building internal document summarisation, content categorisation, or exploratory data analysis pipelines that require extracting meaningful topics from large text collections. It is also suited for research prototypes involving semantic clustering or augmenting search with topic insights.
🎭 Best For
🏷️ Topics & Ecosystem
📊 Activity
Latest commit: 2026-05-13. Activity data is based on daily RepoPi snapshots of the GitHub repository.