Back to directory

BERTopic

A Python library for topic modeling that combines BERT-style embeddings with class-based TF-IDF to produce dense, easily interpreted topic clusters.

BERTopic

BERTopic is a topic-modeling library that uses transformer embeddings together with a class-based variant of TF-IDF to build dense clusters of documents, keeping the words that matter in each topic's description so the resulting topics stay easy to interpret.

It supports guided, supervised and semi-supervised topic modeling; manual, multi-topic and hierarchical variants; class-based, dynamic and online/incremental modeling; and multimodal and multi-aspect modeling, alongside newer zero-shot topic modeling, merging separately trained models and seeding topics with chosen words.

It installs with pip or uv, optionally with alternative embedding backends such as Flair, Gensim, spaCy or Universal Sentence Encoder, or a lighter installation without transformers, UMAP or HDBSCAN for use with other embedding methods.

More in Libraries

See all 292
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • TradeCanvas

    bonguynvan.github.io

    A zero-dependency canvas charting engine for building TradingView-style trading charts in JavaScript, with 66 technical indicators, 24 drawing tools, 17 chart types, and real-time streaming.

  • 3d retro graphics

    3d-retro.com

    A free, CC0-licensed library of copy-paste retro 3D and demoscene graphics effects, such as plasma, raytracing, and voxel terrain, runnable as WebGL 1 or plain 2D canvas.