跳到正文
菜单
简体中文

GTE vs Instructor

Embedding model family from Alibaba, trained for retrieval and ranking.

功能对比

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

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

该选哪个?

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

Choose GTE if…

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

Choose Instructor if…

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

GTE

model · Embedding Models

GTE is a family of text embedding models trained for retrieval, with variants covering English and multilingual use and long inputs. It solves the same problem as the other retrieval-focused embedding families: a general-purpose encoder is not optimised for the asymmetric comparison of a short query against a long document. It exists because retrieval quality is decided at the embedding step, and a family that scores well on public retrieval benchmarks is the cheapest way to improve everything downstream.

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.