跳到正文
菜单
简体中文

BGE vs E5

Embedding model family that ranks well on retrieval benchmarks.

功能对比

BGE 与 E5 功能对比
维度 BGE E5
Dimensions 1024 1024
License MIT MIT
Max tokens 512 512
Open weights Yes Yes
Provider BAAI Microsoft

灰底行表示两者相同;有差异的行才是下方推荐结论的依据。

该选哪个?

由上述差异按固定规则生成,不是模型生成的。

Choose BGE if…

已记录的属性中,没有任何一项显示它更有优势。

Choose E5 if…

已记录的属性中,没有任何一项显示它更有优势。

BGE

model · Embedding Models

BGE is a family of embedding models trained specifically for retrieval, available in sizes small enough to run locally. It solves the problem that a general-purpose embedding model is not optimised for the asymmetric comparison a search query and a document require. It exists because retrieval quality is set at the embedding step, so a model trained for it improves everything downstream without changing anything else.

E5

model · Embedding Models

E5 is an embedding model family trained on large collections of weakly supervised text pairs, with the task described in the input so one model serves queries, passages and classification. It solves the problem that an embedding model trained on one kind of pair transfers poorly to another. It exists because describing the task in the text is a cheap way to make one model cover several retrieval settings.