maartengr/bertopic

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 8th, 2026
Created on September 22nd, 2020
Open Issues & Pull Requests: 471 (+0)
GitHub issues: Enabled
Number of forks: 919
Total Stargazers: 7,828 (+0)
Total Subscribers: 56 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.8 hours
Mean response time: 4.5 days
90th percentile: 9.7 days
Tracked items: 211

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 51% of tracked open issues have had no activity in three months. Only 4% of issues opened in the past year have been closed. Three people close 57% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 150
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 546 days
Stale 30+ days: 144
Stale 90+ days: 126

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (87)
  • good first issue (4)
  • enhancement (3)
  • question (2)

Most active issues this week

Detailed Description

BERTopic is a topic modeling library that leverages transformer embeddings and c-TF-IDF to create interpretable topics from document collections.

The tool addresses the challenge of extracting meaningful topics from text while maintaining interpretability. It works by combining dense embeddings from transformer models with a class-based TF-IDF variant to identify and describe clusters of semantically similar documents. This approach produces topic representations that preserve important keywords while organizing documents into coherent groups.

BERTopic suits projects requiring flexible topic discovery across diverse scenarios. It supports guided, supervised, semi-supervised, and manual topic assignment, as well as hierarchical topic structures, dynamic topics over time, and online incremental learning. The tool can handle multimodal data, multi-aspect analysis, and zero-shot classification. It also enables topic representation refinement through large language models. Teams should choose this tool when they need interpretable topic labels alongside document clustering, particularly when working with transformer-based embeddings or when topic requirements vary from fully unsupervised to heavily constrained scenarios.

The project maintains active development with regular feature additions and refinements to its modeling capabilities. The codebase shows consistent attention to both core functionality and user experience through documentation and example coverage. Development activity reflects responsiveness to extending the tool's applicability across different topic modeling paradigms and data modalities.