跳到正文
菜单
简体中文

BGE vs Instructor

Embedding model family that ranks well on retrieval benchmarks.

功能对比

BGE 与 Instructor 功能对比
维度 BGE Instructor
Dimensions 1024 768
License MIT Apache-2.0
Max tokens 512 512
Open weights Yes Yes
Provider BAAI HKU NLP

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

该选哪个?

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

Choose BGE if…

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

Choose Instructor 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.

Instructor

model · Embedding Models

Instructor embeds text together with an instruction describing what the embedding is for, so one model serves retrieval, clustering and classification without fine-tuning for each. It solves the problem that a single fixed embedding cannot be optimal for several different tasks, and fine-tuning a copy per task is expensive and easy to get wrong. It exists because telling the model what kind of similarity you want is a cheap substitute for training it to want that.