Skip to content

mainbrains

all-MiniLM-L6-v2

mainbrains/all-MiniLM-L6-v2

all-MiniLM-L6-v2 is a sentence similarity model from mainbrains. 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.

Fork maintained by @mainbrains — Using MiniLM for real-time semantic search and embedding pipelines in production RAG systems. Integration: ONNX-optimized, running as a sidecar service for document retrieval. ~5ms/que…

Downloads · 30 days

26

39% of all-time downloads

All-time downloads

66

Public

Parameters

22.7M

930 MB on disk

Likes

0

Public

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
Created
Aug 20, 2026
Updated
Aug 20, 2026