#7171st of 80 in Open models

text2vec

Python library for sentence embeddings and Chinese text similarity models

Stars
5k
License
Apache-2.0
Last commit
Feb 2026
Last release
Sep 2023
Language
Python
Stars, last 29 weeks+53
22 Apr 2026: 4,923 stars29 Apr 2026: 4,927 stars6 May 2026: 4,929 stars13 May 2026: 4,931 stars20 May 2026: 4,936 stars27 May 2026: 4,937 stars3 Jun 2026: 4,942 stars10 Jun 2026: 4,944 stars17 Jun 2026: 4,946 stars24 Jun 2026: 4,946 stars1 Jul 2026: 4,949 stars8 Jul 2026: 4,950 stars15 Jul 2026: 4,951 stars22 Jul 2026: 4,953 stars29 Jul 2026: 4,957 stars5 Aug 2026: 4,959 stars12 Aug 2026: 4,961 stars19 Aug 2026: 4,963 stars26 Aug 2026: 4,964 stars2 Sept 2026: 4,965 stars9 Sept 2026: 4,966 stars16 Sept 2026: 4,968 stars23 Sept 2026: 4,970 stars30 Sept 2026: 4,971 stars7 Oct 2026: 4,971 stars14 Oct 2026: 4,973 stars21 Oct 2026: 4,974 stars28 Oct 2026: 4,974 stars4 Nov 2026: 4,976 stars11 Nov 2026: 4,976 stars

4,923 on 22 Apr 20264,976 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

text2vec is a PyTorch-based Python library that encodes words, sentences and paragraphs into vectors. It implements Word2Vec, SBERT, CoSENT and BGE training and inference, and links pretrained Chinese and multilingual CoSENT models on Hugging Face, benchmarked with Spearman scores on ATEC, BQ, LCQMC, PAWSX and STS-B. It also supports multi-GPU/CPU inference and a CLI for batch encoding.

Who it is for: Engineers building Chinese or multilingual semantic matching pipelines

Strengths

  • Pretrained Chinese and multilingual CoSENT models, with published Spearman scores on seven test sets
  • Covers training and inference for SBERT, CoSENT and BGE in one package
  • Multi-GPU and multi-CPU inference, plus a CLI for batch encoding
  • Models also load via plain transformers or sentence-transformers, so the library is optional

Weaknesses

  • Last release v1.2.9 is from September 2023; newer embedding models are not covered
  • README and docs are mostly in Chinese; English version is a separate file
  • Word2Vec vector file link points to Baidu Pan, awkward outside China
  • Released models are 2023-era BERT-base size, except one bge-large variant

What it needs

  • GPU optional
  • Needs PyTorch, transformers, gensim
  • Models: Word2Vec, SBERT, CoSENT, BGE, Hugging Face transformers models

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Open models

See all 80
Also in Open models
RankProjectScore
1ruviewWiFi CSI sensing on ESP32 for presence, breathing, heart rate and pose104.1k stars+6,757 (+6.9%) in 30 daysMIT94 out of 100
2layaSingle-pass multilingual classifier returning typed decisions with calibrated odds Live demo ↗ (opens in a new tab)35.5k stars+3,001 (+9.2%) in 30 daysApache-2.088 out of 100
3rf-detrReal-time transformer models for object detection, segmentation and keypoints Live demo ↗ (opens in a new tab)10.1k stars+280 (+2.9%) in 30 daysApache-2.081 out of 100
#4timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research35.4k stars+1,097 (+3.2%) in 30 daysApache-2.078 out of 100
#5open_clipPyTorch library for training and running CLIP-style image-text models14.3k starscustom license78 out of 100