跳到正文
菜单
简体中文

E5 vs Instructor

Text embedding model family trained on weakly supervised pairs.

功能对比

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

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

该选哪个?

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

Choose E5 if…

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

Choose Instructor if…

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

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.

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.