Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Language & NLP / BERTopic
◆SkillLanguage & NLPFree

BERTopic

Modular topic modeling framework using transformer embeddings and c-TF-IDF for interpretable, coherent topics.

@ai-supply
Installs180k
Rating★ 4.7
Reviews60
↗ Source repository

BERTopic

BERTopic is a topic modeling technique that leverages transformer-based embeddings (BERT, Sentence-BERT, OpenAI) to create dense clusters of documents, then uses class-based TF-IDF to produce coherent, interpretable topic representations.

Key Features

  • Transformer embeddings: Use any sentence-transformer, OpenAI, or Hugging Face embedding model as the backbone
  • Modular design: Swap out any component — embedding, dimensionality reduction (UMAP), clustering (HDBSCAN), and vectorization
  • Dynamic topics: Track how topics evolve over time with topics_over_time
  • Guided modeling: Seed the model with keywords to steer topic discovery
  • Zero-shot classification: Assign documents to pre-defined topics without training
  • Visualization: Built-in Plotly visualizations — topic hierarchy, similarity heatmap, topic evolution
  • Online learning: Incrementally update the model with new documents

Quick Start

pip install bertopic
from bertopic import BERTopic
from sklearn.datasets import fetch_20newsgroups

docs = fetch_20newsgroups(subset="all")["data"]
model = BERTopic(language="english", calculate_probabilities=True)
topics, probs = model.fit_transform(docs)

print(model.get_topic_info().head(10))
model.visualize_topics()

Add to ai-supply

npx ai-supply add bertopic-topic-modeling

Curated mirror of the open-source BERTopic (MIT). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
⠿Embedding
Sentence Transformers
State-of-the-art sentence and text embeddings — compute semantic similarity, clustering, and dense retrieval.
↓ 750k★ 4.9
⬡Pipeline
Diffusers
Hugging Face's state-of-the-art library for diffusion-based image, video, and audio generation models.
↓ 750k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy