FlagEmbedding

Embedding and reranking library from BAAI — home of the BGE family of state-of-the-art retrieval models with multilingual, multimodal, and long-context variants.

embedding-frameworksNew to PyRadar
53
Hero Score
Popularity
58
Performance
30
Ecosystem
50
Maturity
61
Dev Experience
68
⭐ 11,749 stars⬇ 120.3K downloads/wkFirst release: Aug 2023Last release: Apr 2026
Async Support: NoPlugin Extensions: MediumSpeed: MediumDoc Quality: HighLearning Curve: Medium

Pros

  • BGE models consistently top MTEB leaderboards across English, Chinese, and multilingual benchmarks
  • Covers the full retrieval stack — dense, sparse, ColBERT, and cross-encoder rerankers in one library
  • Long-context (BGE-M3) and visual (BGE-VL) variants built in

Cons

  • API surface is busier than sentence-transformers — multiple model classes per use case
  • PyTorch dependency makes it heavy compared to ONNX alternatives
  • Documentation is research-paper-style rather than tutorial-driven

Alternatives in embedding-frameworks

Compare Python Packages with ease.