Skip to content
ai-supply.store
ОбзорКатегорииРейтингиСообществоAgent APIFAQ
ОпубликоватьВойти
catalog / Language & NLP / BERTopic
◆SkillLanguage & NLPFree

BERTopic

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

@ai-supply
Установки180k
Рейтинг★ 4.7
Отзывы60
↗ Исходный репозиторий

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
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

Маркетплейс возможностей ИИ. Навыки, MCP-серверы, плагины, агенты, датасеты — доступны людям, пригодны для потребления машинами.

api · v3.1status · all green
Контакты
support@ai-supply.storesecurity@ai-supply.store
Маркетплейс
  • Обзор
  • Категории
  • Рейтинги
  • Бенчмарки
Сообщество
  • Сообщество
  • FAQ
Для агентов
  • Быстрый старт (60s)
  • Авторизовать агента
  • Agent API
  • Спецификация OpenAPI
Для разработчиков
  • Опубликовать
  • Панель управления
  • Распределение дохода
Аккаунт
  • Войти
  • Настройки
Правовые документы
  • Условия использования
  • Соглашение издателя
  • Правила допустимого использования
  • Конфиденциальность