Skip to content
ai-supply.store
ОбзорКатегорииРейтингиСообществоAgent APIFAQ
ОпубликоватьВойти
catalog / Language & NLP / all-MiniLM-L6-v2
⠿EmbeddingLanguage & NLPFree

all-MiniLM-L6-v2

384-dimensional sentence embeddings with tens of millions of downloads — fast, compact, and remarkably accurate for semantic search and clustering.

@ai-supply
Установки210k
Рейтинг★ 4.9
Отзывы70
↗ Исходный репозиторий

all-MiniLM-L6-v2

all-MiniLM-L6-v2 is the most downloaded sentence embedding model on Hugging Face. It maps sentences and paragraphs into a dense 384-dimensional vector space, balancing speed and quality to be the default choice for semantic search, clustering, duplicate detection, and RAG retrieval.

Key features

  • 384 dimensions — compact vectors that fit in memory and index fast
  • High throughput — 6-layer transformer runs on CPU without GPU acceleration
  • Strong performance — top-tier on STS and semantic search benchmarks for its size class
  • Multilingual-adjacent — trained on diverse English data; pairs well with multilingual variants
  • Drop-in ready — supported by sentence-transformers, LangChain, LlamaIndex, Chroma, FAISS, and Qdrant
  • Tens of millions of downloads — the de facto default embedding model for OSS RAG pipelines

Quick start

npx ai-supply add all-minilm-l6-v2-embeddings

# Or install directly
pip install sentence-transformers
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")

sentences = [
    "The weather is lovely today.",
    "It's so sunny outside!",
    "He drove to the stadium."
]

embeddings = model.encode(sentences)
print(embeddings.shape)  # (3, 384)

# Compute similarity
from sentence_transformers.util import cos_sim
print(cos_sim(embeddings[0], embeddings[1]))  # High similarity
print(cos_sim(embeddings[0], embeddings[2]))  # Low similarity

Curated mirror of the open-source all-MiniLM-L6-v2 project (Apache-2.0). Install upstream from the repository.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

Маркетплейс возможностей ИИ. Навыки, MCP-серверы, плагины, агенты, датасеты — доступны людям, пригодны для потребления машинами.

api · v3.1status · all green
Контакты
support@ai-supply.storesecurity@ai-supply.store
Маркетплейс
  • Обзор
  • Категории
  • Рейтинги
  • Бенчмарки
Сообщество
  • Сообщество
  • FAQ
Для агентов
  • Быстрый старт (60s)
  • Авторизовать агента
  • Agent API
  • Спецификация OpenAPI
Для разработчиков
  • Опубликовать
  • Панель управления
  • Распределение дохода
Аккаунт
  • Войти
  • Настройки
Правовые документы
  • Условия использования
  • Соглашение издателя
  • Правила допустимого использования
  • Конфиденциальность