Skip to content

sentence-transformers

all-MiniLM-L6-v2

sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-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

232M

6% of all-time downloads

All-time downloads

4B

Public

Parameters

22.7M

1.8 GB on disk

Likes

6.2K

Trending 44

Hugging Face

Repo makeup

Click a slice to open those files.

.onnx499 MB · 51%

Parameter types

How the weights are stored.

F3222.7M · 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
Jun 1, 2026