Skip to content

sentence-transformers

all-MiniLM-L12-v2

sentence-transformers/all-MiniLM-L12-v2

all-MiniLM-L12-v2 is a sentence similarity model from sentence-transformers. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Downloads · 30 days

3.1M

1% of all-time downloads

All-time downloads

256M

Public

Parameters

33.4M

1.4 GB on disk

Likes

330

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.onnx735 MB · 56%

Parameter types

How the weights are stored.

F3233.4M · 100%

Base models

Task
Sentence Similarity
Library
sentence-transformers
Type
bert
License
apache-2.0
Languages
en
Hf Inference
live
Created
Mar 2, 2022
Updated
Mar 31, 2026