#413413th of 433 in ML frameworks and libraries

sense2vec

Python library for part-of-speech-keyed word vectors, as a spaCy component

Stars
1.7k
License
MIT
Last commit
Mar 2026
Last release
Apr 2023
Language
Python
Stars, last 29 weeks+9
6 May 2026: 1,669 stars13 May 2026: 1,669 stars20 May 2026: 1,669 stars27 May 2026: 1,669 stars3 Jun 2026: 1,669 stars10 Jun 2026: 1,669 stars17 Jun 2026: 1,669 stars24 Jun 2026: 1,669 stars1 Jul 2026: 1,669 stars8 Jul 2026: 1,673 stars15 Jul 2026: 1,674 stars22 Jul 2026: 1,675 stars29 Jul 2026: 1,676 stars5 Aug 2026: 1,676 stars12 Aug 2026: 1,676 stars19 Aug 2026: 1,676 stars26 Aug 2026: 1,676 stars2 Sept 2026: 1,677 stars9 Sept 2026: 1,677 stars16 Sept 2026: 1,677 stars23 Sept 2026: 1,677 stars30 Sept 2026: 1,678 stars7 Oct 2026: 1,678 stars14 Oct 2026: 1,678 stars21 Oct 2026: 1,678 stars28 Oct 2026: 1,678 stars4 Nov 2026: 1,678 stars11 Nov 2026: 1,678 stars18 Nov 2026: 1,678 stars25 Nov 2026: 1,678 stars

1,669 on 6 May 20261,678 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

sense2vec loads, queries and trains word vectors keyed by phrase and sense, such as machine_learning|NOUN, so the same word gets separate vectors per part-of-speech tag or entity label. It plugs into spaCy v3 as a pipeline component with token and span attributes, or runs standalone. Pretrained Reddit 2015 and 2019 vectors are provided, and you can train your own with GloVe or fastText.

Who it is for: NLP engineers using spaCy who need phrase and sense-aware word vectors

Strengths

  • spaCy v3 component exposing s2v_vec, s2v_freq and s2v_most_similar on tokens and spans
  • Pretrained Reddit vectors: 2015 (573 MB) and 2019 (4 GB)
  • Can train custom vectors from raw text using GloVe or fastText
  • Optional precomputed nearest-neighbor cache for faster most-similar queries

Weaknesses

  • Last release was April 2023; version 2.0 targets spaCy v3 only
  • Keys are case-sensitive and must follow the phrase_text|SENSE format
  • Pretrained vectors are separate release downloads; the 2019 set needs manual merging
  • 2015-era word vectors, not transformer or LLM embeddings

What it needs

  • no GPU
  • Needs spaCy v3, GloVe or fastText (training only), Prodigy (optional recipes), Streamlit (optional demo)
  • Models: sense2vec vector tables, spaCy pipelines, GloVe, fastText 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
#411petastormParquet data loader for TensorFlow, PyTorch and Spark training1.9k starsApache-2.016 out of 100
#412circuit_trainingReinforcement learning framework for placing macros in chip floorplans1.8k starsApache-2.016 out of 100
#414e3nnPyTorch library for building E(3)-equivariant neural networks Live demo ↗ (opens in a new tab)1.3k starscustom license16 out of 100
#415pytorch_sparsePyTorch extension for sparse matrix ops with autograd on CPU and GPU1.1k starsMIT16 out of 100
#416audiomentationsPython library for augmenting audio waveforms in ML training pipelines2.3k starsMIT15 out of 100