GGUF format of mixedbread-ai/mxbai-rerank-xsmall-v1 for use with CrispEmbed.
MixedBread Rerank XSmall v1. Fast cross-encoder reranker for English.
| File | Quantization | Size |
|---|---|---|
| mxbai-rerank-xsmall-v1-q4_k.gguf | Q4_K | 64 MB |
| mxbai-rerank-xsmall-v1-q8_0.gguf | Q8_0 | 74 MB |
| mxbai-rerank-xsmall-v1.gguf | F32 | 273 MB |
# Download
huggingface-cli download cstr/mxbai-rerank-xsmall-v1-GGUF mxbai-rerank-xsmall-v1-q4_k.gguf --local-dir .
# Run with CrispEmbed
./crispembed -m mxbai-rerank-xsmall-v1-q4_k.gguf "Hello world"
# Or with auto-download
./crispembed -m mxbai-rerank-xsmall-v1 "Hello world"
| Property | Value |
|---|---|
| Architecture | BERT |
| Parameters | 33M |
| Embedding Dimension | 384 |
| Layers | 6 |
| Pooling | CLS |
| Tokenizer | WordPiece |
| Base Model | mixedbread-ai/mxbai-rerank-xsmall-v1 |
Verified bit-identical to HuggingFace sentence-transformers (cosine similarity >= 0.999 on test texts).
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 mxbai-rerank-xsmall-v1-q4_k.gguf "query text"
# Server mode
./build/crispembed-server -m mxbai-rerank-xsmall-v1-q4_k.gguf --port 8080
curl -X POST http://localhost:8080/v1/embeddings \
-d '{"input": ["Hello world"], "model": "mxbai-rerank-xsmall-v1"}'
convert-bert-embed-to-gguf.pymixedbread-ai.apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.-g7c corrected artifacts (missing ContextPooler stage)The original conversions (all pre-g7c files in this repo) were missing the
DeBERTa ContextPooler stage: HF scores classifier(gelu(pooler(CLS))),
the old artifacts scored raw dot(CLS, w) + b. Score calibration was
destroyed (±0.3 instead of the HF ±6 scale) and rankings reordered
(xsmall near-inverted on test queries). Use the *-g7c.gguf files —
the f16 matches the official repo's own ONNX export to ~1e-5. The old files
are retained only so released CrispEmbed binaries' SHA pins keep working.
Evidence: tests/results/mxbai-gelu/SUMMARY.md in the CrispEmbed repo.
有文件?提交种子。
提交种子