Skip to main content

When to use it

all-mpnet-base-v2 is a sentence and short paragraph encoder. Given an input text, it outputs a vector which captures the semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. all-mpnet-base-v2 is a fine-tuned model that uses the pretrained microsoft/mpnet-base model under the hood. This model has the best quality of the sbert all family of models.

Quickstart

Installation

Create index

Embed & upsert

Query