EveryDev.ai
Subscribe
Home
Tools

5,347+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2725
  • Coding2018
  • Infrastructure950
  • Projects752
  • Research670
  • MCP655
  • Analytics520
  • Marketing503
  • Design435
  • Testing432
  • Data395
  • Security362
  • Integration270
  • Prompts257
  • Communication255
  • Extensions227
  • Voice182
  • DevOps176
  • Commerce175
  • Web124
  • Learning114
  • Finance39
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. text2vec
    text2vec icon

    text2vec

    Search and Discovery

    Python toolkit that converts words, sentences and paragraphs into vectors and computes text similarity using Word2Vec, SBERT, CoSENT and BGE models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    text2vec core library licensed under the OSI-approved Apache License 2.0; free for commercial use with attribution to text2vec link and license in product description.

    Engagement

    Available On

    Android
    Web
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Search and DiscoveryRetrieval-Augmented GenerationAI Development Libraries

    Alternatives

    INSTRUCTORSentence TransformersFlashRank
    Developer
    Ming Xu (徐明)Algorithm Researcher, Deep Learning Developer

    Listed Nov 2026

    About text2vec

    text2vec is an open-source Python toolkit by XuMing (shibing624) that turns text (words, sentences, paragraphs) into vector matrices and computes semantic similarity. It implements Word2Vec, Sentence-BERT, CoSENT and BGE representation models and compares them on text semantic matching tasks. The latest PyPI release is 1.3.8 (Nov 29, 2025), distributed under the Apache 2.0 license.

    What It Is

    text2vec is a text embedding library installed with pip. A SentenceModel loads a pretrained model (the default is shibing624/text2vec-base-chinese) and encodes sentences into numpy arrays, for example 768-dimensional embeddings. A Word2Vec model based on a lightweight Tencent AI Lab Chinese word-vector file is also provided, with sentence vectors computed by averaging word vectors.

    Workflow and Outputs

    • Compute embeddings in Python, or in batch through the text2vec command-line tool, which reads a one-sentence-per-line file and writes a CSV of embeddings. Multi-GPU and multi-CPU inference is supported.
    • Score sentence similarity with cosine similarity in the range [-1, 1].
    • Run semantic search that returns the top-k most similar sentences from a corpus for a query.
    • Models can also be loaded through HuggingFace Transformers or sentence-transformers.

    Training and Models

    The repository includes training scripts for supervised and unsupervised CoSENT and SBERT models, BERT-Match, and BGE fine-tuning with (query, positive, negative) triples. Training data can be your own sentence pairs labeled 0/1 or on a 0-5 similarity scale. Released models cover Chinese, multilingual and BGE-based variants, with evaluation tables on ATEC, BQ, LCQMC, PAWSX, STS-B and SOHU sets. Embedding dimensionality reduction and distillation are supported by reusing sentence-transformers methods.

    Deployment

    The README describes serving models as a gRPC/HTTP service through Jina or as a native HTTP service with FastAPI. The project also lists released Chinese semantic matching datasets on HuggingFace.

    text2vec - 1

    Community Discussions

    Be the first to start a conversation about text2vec

    Share your experience with text2vec, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache 2.0)

    text2vec core library licensed under the OSI-approved Apache License 2.0; free for commercial use with attribution to text2vec link and license in product description.

    • Apache License 2.0
    • Free for commercial use
    • Word2Vec, RankBM25, BERT, Sentence-BERT, CoSENT text representation models
    • Command-line tool (CLI) for batch text vectorization
    • Multi-GPU/multi-CPU inference

    Capabilities

    Key Features

    • Sentence and word embeddings via Word2Vec, SBERT, CoSENT and BGE
    • Cosine-based sentence similarity scoring
    • Semantic text search over a corpus
    • Command-line batch vectorization to CSV
    • Multi-GPU and multi-CPU inference
    • Supervised and unsupervised model training and fine-tuning
    • BGE triplet dataset building with hard negative mining
    • Model dimensionality reduction and distillation
    • Deployment via Jina gRPC or FastAPI
    • Released Chinese and multilingual pretrained models and datasets

    Integrations

    PyTorch
    HuggingFace Transformers
    sentence-transformers
    Gensim
    Jina
    FastAPI
    Hugging Face Hub
    Gradio

    Ratings & Reviews

    No ratings yet

    Be the first to rate text2vec and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Ming Xu (徐明)

    Algorithm Researcher, Deep Learning Developer

    Read more about Ming Xu (徐明)
    GitHub
    1 tool in directory

    Similar Tools

    INSTRUCTOR icon

    INSTRUCTOR

    Instruction-finetuned text embedding model that produces task- and domain-specific embeddings from a natural-language instruction, without finetuning.

    Sentence Transformers icon

    Sentence Transformers

    Python library for state-of-the-art sentence, text, and image embeddings using transformer models for semantic search and similarity.

    FlashRank icon

    FlashRank

    Ultra-lite Python library that adds fast pairwise and listwise re-ranking to search and retrieval pipelines without requiring Torch or Transformers.

    Browse all tools

    Related Topics

    Search and Discovery

    AI-powered tools for finding and exploring information.

    81 tools

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    210 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    530 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions