/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
ms-marco-MiniLM-L-6-v2
Опубликована
17 апр 2026

ms-marco-MiniLM-L-6-v2-GGUF

ЭмбеддингиТекст → embedding9 профессий

ms-marco-MiniLM-L-6-v2 GGUF — это конвертированная и квантизованная версия модели cross-encoder/ms-marco-MiniLM-L-6-v2, опубликованная пользователем cstr для запуска через лёгкий движок инференса CrispEmbed на базе ggml.

1 187скачиваний за 30 дней0лайковвеса обновлены5 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель предназначена для ранжирования текстовых пар и повышения качества поиска, в частности для reranking в системах RAG и сценариях, требующих работы в реальном времени. Указан английский язык.

Модель построена на архитектуре BERT, содержит около 22 млн параметров, 6 слоёв, размерность представления 384, использует CLS-pooling и токенизатор WordPiece. Доступны варианты GGUF с представлением Q4_K размером 18 МБ, Q8_0 размером 24 МБ и F32 размером 87 МБ. Конвертация не изменяла архитектуру, словарь или заявленные возможности исходной модели; для преобразованных файлов заявлена битовая эквивалентность с реализацией Hugging Face с cosine similarity не менее 0,999 на тестовых текстах.

Сильные стороны модели — небольшой размер, высокая скорость и возможность инференса без Python и ONNX через CrispEmbed, включая серверный режим. Ограничения включают специализацию на английских текстах и назначение для reranking, а не для генерации текста. В README также указано, что следует предпочитать исправленные файлы с суффиксом -g7c, поскольку исходные файлы имели некорректно преобразованную scoring head и могли давать неправильно калиброванные оценки и изменять порядок результатов. Модель распространяется по лицензии Apache-2.0 на тех же условиях, что и исходная модель.

Для каких профессий подходит9

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

ms-marco-MiniLM-L-6-v2 GGUF

GGUF format of cross-encoder/ms-marco-MiniLM-L-6-v2 for use with CrispEmbed.

MS MARCO MiniLM L-6 v2. Fastest cross-encoder reranker, 22M parameters. Ideal for real-time RAG.

Files

FileQuantizationSize
ms-marco-MiniLM-L-6-v2-q4_k.ggufQ4_K18 MB
ms-marco-MiniLM-L-6-v2-q8_0.ggufQ8_024 MB
ms-marco-MiniLM-L-6-v2.ggufF3287 MB

Quick Start

# Download
huggingface-cli download cstr/ms-marco-MiniLM-L-6-v2-GGUF ms-marco-MiniLM-L-6-v2-q4_k.gguf --local-dir .

# Run with CrispEmbed
./crispembed -m ms-marco-MiniLM-L-6-v2-q4_k.gguf "Hello world"

# Or with auto-download
./crispembed -m ms-marco-MiniLM-L-6-v2 "Hello world"

Model Details

PropertyValue
ArchitectureBERT
Parameters22M
Embedding Dimension384
Layers6
PoolingCLS
TokenizerWordPiece
Base Modelcross-encoder/ms-marco-MiniLM-L-6-v2

Verification

Verified bit-identical to HuggingFace sentence-transformers (cosine similarity >= 0.999 on test texts).

Usage with CrispEmbed

CrispEmbed is a lightweight C/C++ text embedding inference engine using ggml. No Python runtime, no ONNX. Supports BERT, XLM-R, Qwen3, and Gemma3 architectures.

# Build CrispEmbed
git clone https://github.com/CrispStrobe/CrispEmbed
cd CrispEmbed
cmake -S . -B build && cmake --build build -j

# Encode
./build/crispembed -m ms-marco-MiniLM-L-6-v2-q4_k.gguf "query text"

# Server mode
./build/crispembed-server -m ms-marco-MiniLM-L-6-v2-q4_k.gguf --port 8080
curl -X POST http://localhost:8080/v1/embeddings \
    -d '{"input": ["Hello world"], "model": "ms-marco-MiniLM-L-6-v2"}'

Credits

Provenance and EU AI Act Art. 53 note

  • Upstream model: cross-encoder/ms-marco-MiniLM-L-6-v2 — published by cross-encoder.
  • Upstream licence: apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.
  • What was done here: format conversion and/or quantisation only (GGUF/GGML). No training, no fine-tuning, no merging, no distillation, no change to architecture, vocabulary or capability. Only the numeric representation of the upstream weights differs.
  • Training data: documented — where it is documented at all — by the upstream provider; see the upstream model card. No training data was used, added or selected by this repository.
  • Provider status: under Regulation (EU) 2024/1689 the upstream authors remain the provider of this model. Converting the serialisation format does not make this repository the provider of a new general-purpose AI model, and no such claim is made. Questions about training content, copyright policy or model capability belong upstream.

2026-08-05: corrected scoring head (-g7c files)

The original .gguf files in this repo were converted without the BertPooler stage: HF's BertForSequenceClassification scores classifier(tanh(pooler(CLS))), but these files carried only the 1-layer classifier, so scores came out mis-calibrated (≈ ±0.2 instead of ≈ ±11) and the ranking tail could reorder. The -g7c files fold the pooler into a dense→tanh→out_proj head and match the reference ONNX export (Xenova/ms-marco-MiniLM-L-6-v2) to ≤1e-3 at f16. Prefer the -g7c files; the originals are kept only so older CrispEmbed releases keep their pinned downloads.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
1a9ef5c

0 моделей