Aller au contenu
Menu
Français

Instructor vs OpenAI Text Embedding 3

Embedding model that takes a task instruction alongside the text.

Comparaison des critères

Comparaison de Instructor et OpenAI Text Embedding 3
Critère Instructor OpenAI Text Embedding 3
Dimensions 768 1536 by default, 256 to 3072 selectable
License Apache-2.0 Proprietary
Max tokens 512 8191
Open weights Yes No
Provider HKU NLP OpenAI

Les lignes grisées sont identiques pour les deux ; ce sont les lignes qui diffèrent qui motivent la recommandation ci-dessous.

Lequel choisir ?

Généré à partir des différences ci-dessus par des règles structurées, et non par un modèle.

Choose Instructor if…

Aucun des attributs enregistrés ne le distingue à son avantage.

Choose OpenAI Text Embedding 3 if…

Aucun des attributs enregistrés ne le distingue à son avantage.

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.

OpenAI Text Embedding 3

model · Embedding Models

Text Embedding 3 is OpenAI's hosted embedding family, notable for letting the caller choose a shorter output vector than the model natively produces. It solves the storage problem directly: embedding indexes are sized by dimensions times vectors, so trimming 3072 dimensions to 512 or 256 shrinks the index substantially at a small quality cost. It exists because that trade is one the caller is better placed to make than the model author, and it removes the need to retrain to change it.