awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
shibing624 avatar

shibing624/text2vec

0
View on GitHub↗
4,970 星标·428 分支·Python·Apache-2.0·4 次浏览pypi.org/project/text2vec↗

Text2vec

text2vec 是一个文本向量化工具包和语义相似度框架,用于将单词和句子转换为数值向量。它提供了用于生成嵌入、计算语义接近度以及实现词法和语义搜索的集成工具集。

该项目包括一个模型微调流水线,用于使用监督或无监督数据集优化嵌入和匹配模型。它还通过提供文本嵌入 API 进一步脱颖而出,该 API 允许通过 gRPC 或 HTTP 协议将向量化模型部署为网络服务。

该框架涵盖了广泛的功能,包括语义分析、神经文本编码和向量搜索检索。它支持密集向量嵌入和诸如 BM25 之类的词项重叠算法,以确定相似度并识别相关词项。

额外的性能优化包括模型蒸馏、基于 PCA 的降维以及针对大规模数据集的多 GPU 分布式推理。

Features

  • Semantic Similarity Calculation - Calculates conceptual similarity between text segments using cosine similarity and embedding vectors.
  • Text Embeddings - Converts text into dense numerical vectors using transformer-based models to represent semantic meaning.
  • Text Vectorizations - Transforms words and sentences into numerical vectors to represent semantic meaning for ML tasks.
  • Text Vectorization Tools - Provides a toolkit for converting text into vectors using models like Word2Vec and Sentence-BERT.
  • Hybrid Semantic Search Tools - Provides a system for retrieving documents using both BM25 lexical overlap and dense vector embeddings.
  • Vector Similarity Search - Implements vector similarity search using cosine distance to measure semantic closeness between text embeddings.
  • Model Fine-Tuning - Provides a dedicated pipeline for optimizing embedding and matching models using supervised or unsupervised datasets.
  • Transformer Text Encoders - Uses transformer-based encoders to generate dense numerical vectors that represent the conceptual meaning of text.
  • Semantic Search Engines - Implements a semantic search engine that retrieves relevant documents based on conceptual query meaning.
  • Embedding Model Fine-Tuning - Implements processes for fine-tuning embedding models to optimize vector representations for specific domains.
  • Model Distillation - Implements model distillation to create smaller, faster versions of embedding models without significant accuracy loss.
  • Cross-Encoders - Provides cross-encoders that process text pairs simultaneously for high-precision semantic similarity scoring.
  • Model-as-a-Service Platforms - Packages vectorization models into scalable inference services as a Model-as-a-Service implementation.
  • Contrastive Fine-Tuning - Provides a pipeline for supervised contrastive fine-tuning to improve domain-specific embedding accuracy.
  • Semantic Vector Search - Retrieves the most relevant documents from a dataset based on the mathematical distance between query and document embeddings.
  • Inference Service Hosting - Wraps vectorization functions into high-performance API services for cloud-native deployment.
  • Model Inference APIs - Exposes text vectorization models as high-performance gRPC and HTTP network services.
  • BM25+ Scoring - Supports lexical-overlap scoring using the BM25 algorithm for non-semantic document retrieval.

Star 历史

shibing624/text2vec 的 Star 历史图表shibing624/text2vec 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Text2vec 的开源替代方案

相似的开源项目,按与 Text2vec 的功能重合度排序。
  • huggingface/sentence-transformershuggingface 的头像

    huggingface/sentence-transformers

    18,817在 GitHub 上查看↗

    This project is a transformer-based framework for generating dense and sparse vector embeddings of text and multimodal data. It serves as a library for fine-tuning models to perform semantic similarity tasks, retrieval, and reranking. The system is distinguished by its support for diverse architectural patterns, including bi-encoders for fast similarity search and cross-encoders for high-precision reranking. It provides dedicated pipelines for multimodal embeddings, mapping text and images into a shared vector space, and implements knowledge distillation to compress large models into smaller,

    Python
    在 GitHub 上查看↗18,817
  • timescale/pgaitimescale 的头像

    timescale/pgai

    5,802在 GitHub 上查看↗

    pgai is a PostgreSQL AI toolkit and framework designed to integrate large language models and vector embeddings directly into a database. It serves as a bridge for executing machine learning model requests and performing text-to-SQL translations within standard database queries. The project provides an automated vector embedding pipeline that handles the loading, parsing, and chunking of text from tables and unstructured documents. This system utilizes a background worker to synchronize embeddings automatically as source data changes and includes specialized tools for building retrieval-augme

    PLpgSQL
    在 GitHub 上查看↗5,802
  • chatopera/synonymschatopera 的头像

    chatopera/Synonyms

    5,107在 GitHub 上查看↗

    Synonyms is a natural language processing library and semantic similarity engine specifically designed for Chinese text. It functions as a word embedding toolkit and tokenizer that extracts semantic meaning and identifies synonyms by calculating the conceptual closeness between words and sentences. The system provides a toolkit for Chinese word embedding and synonym discovery, allowing for the retrieval of semantically similar words to expand vocabulary. It distinguishes itself through a configuration-driven approach to model loading, which supports the integration of custom word embeddings t

    Pythonaichatbotnlp
    在 GitHub 上查看↗5,107
  • huyingxi/synonymshuyingxi 的头像

    huyingxi/Synonyms

    5,107在 GitHub 上查看↗

    Synonyms is a Chinese natural language processing tool focused on semantic analysis. It provides capabilities for Chinese word segmentation, part-of-speech tagging, and the retrieval of synonyms based on semantic proximity. The project converts words and sentences into numerical vector representations to calculate similarity scores. This allows for the determination of semantic proximity between different phrases and the identification of chatbot intent through sentence comparison. The system also includes tools for automated keyword extraction and importance ranking to identify significant

    Python
    在 GitHub 上查看↗5,107
查看 Text2vec 的所有 30 个替代方案→

常见问题解答

shibing624/text2vec 是做什么的?

text2vec 是一个文本向量化工具包和语义相似度框架,用于将单词和句子转换为数值向量。它提供了用于生成嵌入、计算语义接近度以及实现词法和语义搜索的集成工具集。

shibing624/text2vec 的主要功能有哪些?

shibing624/text2vec 的主要功能包括:Semantic Similarity Calculation, Text Embeddings, Text Vectorizations, Text Vectorization Tools, Hybrid Semantic Search Tools, Vector Similarity Search, Model Fine-Tuning, Transformer Text Encoders。

shibing624/text2vec 有哪些开源替代品?

shibing624/text2vec 的开源替代品包括: huggingface/sentence-transformers — This project is a transformer-based framework for generating dense and sparse vector embeddings of text and multimodal… timescale/pgai — pgai is a PostgreSQL AI toolkit and framework designed to integrate large language models and vector embeddings… chatopera/synonyms — Synonyms is a natural language processing library and semantic similarity engine specifically designed for Chinese… huyingxi/synonyms — Synonyms is a Chinese natural language processing tool focused on semantic analysis. It provides capabilities for… marqo-ai/marqo — Marqo is an ecommerce product discovery platform, multimodal vector database, and AI search merchandising tool. It… johnsnowlabs/spark-nlp — Spark NLP is a toolkit for scalable text analysis and machine learning built on the Apache Spark distributed computing…