Skip to main content

Overview

all-MiniLM-L12-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-MiniLM-L12-v2 is a fine-tuned model that uses the pretrained microsoft/MiniLM-L12-H384-uncased model under the hood.This model is 5x faster than all-mpnet-base-v2, while still offering good quality. It comes from the sbert all family of models.

Using the model

Installation:

Create Index

Embed & Upsert

Query

Lorem Ipsum