FlagEmbedding is an open-source Python toolkit for developers building semantic search or retrieval-augmented generation (RAG) into their own applications. It runs BGE embedding and reranking models, with tools to fine-tune both and evaluate retrieval results. The library uses the MIT license.
Embedding models turn text into vectors so an application can find passages with similar meaning. Rerankers score the retrieved documents against a query to refine their order before an LLM uses them. FlagEmbedding covers both stages within the same toolkit, alongside training datasets and retrieval tutorials.
Its model choices cover different search needs:
The BGE family also includes small, base and large text embedding models for English and Chinese, giving developers a choice of model sizes. BGE models integrate with LangChain, and FlagEmbedding includes evaluation tools for comparing retrieval results. Model licenses vary by checkpoint. The MIT library license does not grant rights to every supported model; Gemma-derived releases retain the relevant Gemma terms. Check the exact embedding or reranking weights before commercial deployment.
Claim this page and we'll verify you by hand. FlagEmbedding gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find FlagEmbedding?Promote it
Something wrong or outdated on this page?
12.2KUpdated 1 month agoMIT
#Multilingual#Semantic search
BGE Embeddings is a family of embedding models and rerankers for developers building semantic search and retrieval-augmented generation (RAG). Developed by the Beijing Academy of Artificial Intelligence, it includes the MIT-licensed Python toolkit FlagEmbedding for running inference, evaluating retrieval and fine-tuning models.
2.8KUpdated 1 month agoMIT
macOS#Batch processing#Hugging Face integration#LoRA
2.2KUpdated 1 day agoMIT
#Hugging Face integration#Multilingual
Model2Vec turns sentence transformers into small static embedding models that run locally on CPU. It's for developers who need text embeddings for retrieval, code search or classification without the size and inference cost of the original transformer. The Python package is open source under the MIT license.
19.1KUpdated 1 week agoApache-2.0
#Hugging Face integration#Multilingual#Multimodal input
3.2KUpdated 23 hours agoApache-2.0
#Batch processing#Multilingual#ONNX
1.6KUpdated 9 months agoApache-2.0
#Hugging Face integration#Multilingual#Multimodal input
ColPali is a local AI document retrieval library for developers and researchers building document search or retrieval-augmented generation systems. It searches pages as images, using their text, charts and layout together rather than relying on a separate OCR pipeline. The colpali-engine package is deprecated; its maintainers recommend Sentence Transformers for new projects and production use.
Sentence Transformers is an open-source Python library for developers building semantic search and document retrieval on their own hardware. It runs embedding and reranker models locally, turning content into numerical representations for similarity comparisons and scoring results against a query. The library uses the Apache 2.0 license.
FastEmbed is a Python library that generates embeddings on your own hardware for semantic search and retrieval-augmented generation (RAG). It's for developers who need to turn text into searchable vectors without relying on a cloud embedding API. It can run on a CPU or use GPU acceleration, and its Apache 2.0 license makes it open source.
rerankers is a Python library for developers building search and retrieval systems who want to compare reranking models without rewriting their integration each time. It takes a query and candidate documents, then ranks their relevance through a shared interface across local models and hosted services. It's open source under Apache 2.0.