Views
No views yet
| File | Quantization | Size |
|---|---|---|
| ms-marco-MiniLM-L-6-v2-q4_k.gguf | Q4_K | 18 MB |
| ms-marco-MiniLM-L-6-v2-q8_0.gguf | Q8_0 | 24 MB |
| ms-marco-MiniLM-L-6-v2.gguf | F32 | 87 MB |
1# Download
2huggingface-cli download cstr/ms-marco-MiniLM-L-6-v2-GGUF ms-marco-MiniLM-L-6-v2-q4_k.gguf --local-dir .
3
4# Run with CrispEmbed
5./crispembed -m ms-marco-MiniLM-L-6-v2-q4_k.gguf "Hello world"
6
7# Or with auto-download
8./crispembed -m ms-marco-MiniLM-L-6-v2 "Hello world"| Property | Value |
|---|---|
| Architecture | BERT |
| Parameters | 22M |
| Embedding Dimension | 384 |
| Layers | 6 |
| Pooling | CLS |
| Tokenizer | WordPiece |
| Base Model | cross-encoder/ms-marco-MiniLM-L-6-v2 |
1# Build CrispEmbed
2git clone https://github.com/CrispStrobe/CrispEmbed
3cd CrispEmbed
4cmake -S . -B build && cmake --build build -j
5
6# Encode
7./build/crispembed -m ms-marco-MiniLM-L-6-v2-q4_k.gguf "query text"
8
9# Server mode
10./build/crispembed-server -m ms-marco-MiniLM-L-6-v2-q4_k.gguf --port 8080
11curl -X POST http://localhost:8080/v1/embeddings \
12 -d '{"input": ["Hello world"], "model": "ms-marco-MiniLM-L-6-v2"}'convert-bert-embed-to-gguf.pycross-encoder.apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.-g7c files).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.