#351351st of 433 in ML frameworks and libraries

gensim

Python library for topic modelling and document similarity on large corpora

Stars
16.5k
License
LGPL-2.1
Last commit
Oct 2025
Last release
Oct 2025
Language
Python
Stars, last 35 weeks+233
25 Mar 2026: 16,286 stars1 Apr 2026: 16,295 stars8 Apr 2026: 16,302 stars15 Apr 2026: 16,310 stars22 Apr 2026: 16,319 stars29 Apr 2026: 16,324 stars6 May 2026: 16,332 stars13 May 2026: 16,336 stars20 May 2026: 16,342 stars27 May 2026: 16,353 stars3 Jun 2026: 16,363 stars10 Jun 2026: 16,374 stars17 Jun 2026: 16,381 stars24 Jun 2026: 16,388 stars1 Jul 2026: 16,396 stars8 Jul 2026: 16,405 stars15 Jul 2026: 16,409 stars22 Jul 2026: 16,413 stars29 Jul 2026: 16,423 stars5 Aug 2026: 16,430 stars12 Aug 2026: 16,436 stars19 Aug 2026: 16,437 stars26 Aug 2026: 16,441 stars2 Sept 2026: 16,444 stars9 Sept 2026: 16,449 stars16 Sept 2026: 16,454 stars23 Sept 2026: 16,459 stars30 Sept 2026: 16,466 stars7 Oct 2026: 16,472 stars14 Oct 2026: 16,482 stars21 Oct 2026: 16,488 stars28 Oct 2026: 16,495 stars4 Nov 2026: 16,499 stars11 Nov 2026: 16,508 stars18 Nov 2026: 16,513 stars25 Nov 2026: 16,519 stars

16,286 on 25 Mar 202616,519 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Before you pick it

  • No commits in a year. The last commit was on 2025-10-16; fixes and security patches may not come. Source (opens in a new tab), checked .

Overview

Gensim implements streamed, out-of-core versions of LSA/LSI, LDA, Random Projections, HDP and word2vec, plus document indexing and similarity retrieval. Corpora are read through Python generators, so input can exceed RAM. Heavy computation goes through NumPy and BLAS. The project is in stable maintenance mode: bug and documentation fixes only, no new features.

Who it is for: NLP and IR practitioners doing topic modelling or similarity search

Strengths

  • Memory-independent streaming: processes corpora larger than RAM via generators
  • Multicore LSA, LDA, HDP, Random Projections and word2vec implementations
  • LSA and LDA can run distributed on a cluster of computers
  • Simple streaming and transformation APIs for custom corpora and algorithms

Weaknesses

  • Maintenance mode: no new features accepted
  • Classic topic models and word2vec only; no transformer or LLM tooling in the README
  • Speed depends on a fast BLAS; building NumPy from source is non-trivial
  • Python 2.7 support dropped after 3.8.3

What it needs

  • no GPU
  • Needs NumPy, BLAS (MKL, ATLAS or OpenBLAS recommended)
  • Models: LSA/LSI, LDA, HDP, Random Projections, word2vec

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#349webdnnIn-browser neural network inference for ONNX models via WebGPU, WebGL and WebAssembly2k starscustom license31 out of 100
#350streamingPyTorch IterableDataset that streams sharded training data from cloud object storage1.6k starsApache-2.031 out of 100
#352deepoDockerfile generator and prebuilt images for deep learning environments6.3k starsMIT29 out of 100
#353texarTensorFlow toolkit for text generation and NLP model building2.4k starsApache-2.029 out of 100
#354arraymancerN-dimensional tensor library for Nim with autograd and a neural network DSL1.4k starsApache-2.029 out of 100