Instructions to use MindDex/multilingual-e5-small-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MindDex/multilingual-e5-small-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf MindDex/multilingual-e5-small-GGUF:IQ4_XS --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf MindDex/multilingual-e5-small-GGUF:IQ4_XS --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible embeddings server: ./build/bin/llama serve -hf MindDex/multilingual-e5-small-GGUF:IQ4_XS --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use MindDex/multilingual-e5-small-GGUF with Ollama:
ollama run hf.co/MindDex/multilingual-e5-small-GGUF:IQ4_XS
- Unsloth Desktop
- Docker Model Runner
How to use MindDex/multilingual-e5-small-GGUF with Docker Model Runner:
docker model run hf.co/MindDex/multilingual-e5-small-GGUF:IQ4_XS
- Lemonade
How to use MindDex/multilingual-e5-small-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MindDex/multilingual-e5-small-GGUF:IQ4_XS
Run and chat with the model
lemonade run user.multilingual-e5-small-GGUF-IQ4_XS
List all available models
lemonade list
- Atomic Chat
|
Download README.md from MindDex/multilingual-e5-small-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 5.04 kB
-
https://huggingface.co/MindDex/multilingual-e5-small-GGUF/resolve/main/README.md
- Command line
-
hf download hf://MindDex/multilingual-e5-small-GGUF/README.md
-
curl -L -o README.md https://huggingface.co/MindDex/multilingual-e5-small-GGUF/resolve/main/README.md
5.04 kB
| license: mit | |
| language: [en, de, fr, es, zh, ja, ko, ar, hi, pt, ru, it, nl, pl, tr, vi, th, id, sv, da, no, fi, cs, ro, hu, bg, uk, ca, el, hr, sk, sl, et, lt, lv, ms, tl, sw, af, cy, ga, sq, mk, bs, mt, gl, eu, is, ka, hy, kk, uz, az, be, mn, ne, si, km, my, lo, am, ps, sd, ku, ug, bo, dz, fy] | |
| tags: [embeddings, gguf, ggml, text-embeddings, bert, crispembed, ollama] | |
| pipeline_tag: feature-extraction | |
| base_model: intfloat/multilingual-e5-small | |
| # multilingual-e5-small GGUF | |
| GGUF format of [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) for use with [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed) and [Ollama](https://ollama.com). | |
| ## Files | |
| | File | Quantization | Size | cos vs HF | | |
| |------|-------------|------|-----------| | |
| | [multilingual-e5-small.gguf](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small.gguf) | F32 | 455 MiB | 1.0000 (reference) | | |
| | [multilingual-e5-small-q8_0.gguf](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small-q8_0.gguf) | Q8_0 | 126 MiB | 0.9999 | | |
| | [multilingual-e5-small-q4_k.gguf](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small-q4_k.gguf) | Q4_K | 115 MiB | 0.990 | | |
| | [multilingual-e5-small-q4_k-imatrix.gguf](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small-q4_k-imatrix.gguf) | Q4_K + imatrix | 115 MiB | not measured | | |
| | [multilingual-e5-small-iq4_xs.gguf](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small-iq4_xs.gguf) | IQ4_XS | 115 MiB | not measured | | |
| Sizes are MiB (what the file browser above reports). Auxiliary files: | |
| [`multilingual-e5-small.imatrix`](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small.imatrix) | |
| (131 KiB, the importance matrix used for the imatrix/IQ quants) and | |
| [`multilingual-e5-small-imatrix-ab.txt`](https://huggingface.co/cstr/multilingual-e5-small-GGUF/resolve/main/multilingual-e5-small-imatrix-ab.txt) | |
| (the A/B notes from producing it). | |
| **Recommended: Q8_0.** It is within 0.0001 cosine of the F32 reference while | |
| being 3.6Γ smaller, so F32 buys nothing you can measure. Drop to a 4-bit quant | |
| only when you are memory-bound: they save a further 11 MiB β about 9% β and | |
| Q4_K gives up an order of magnitude more accuracy (0.990) to do it. At this | |
| model size the 4-bit tier is rarely the right trade; it matters much more on | |
| the larger models in this registry. | |
| ## Quick Start | |
| ### CrispEmbed | |
| ```bash | |
| ./crispembed -m multilingual-e5-small "Hello world" | |
| ./crispembed-server -m multilingual-e5-small --port 8080 | |
| ``` | |
| ### Ollama (with [CrispStrobe fork](https://github.com/CrispStrobe/ollama/tree/feat/xlmr-embedding)) | |
| ```bash | |
| # Create model | |
| echo "FROM multilingual-e5-small-q8_0.gguf" > Modelfile | |
| ollama create multilingual-e5-small -f Modelfile | |
| # Embed | |
| curl http://localhost:11434/api/embed -d '{"model":"multilingual-e5-small","input":["Hello world"]}' | |
| ``` | |
| ### Python (CrispEmbed) | |
| ```python | |
| from crispembed import CrispEmbed | |
| model = CrispEmbed("multilingual-e5-small-q8_0.gguf") | |
| vectors = model.encode(["Hello world", "Goodbye world"]) | |
| ``` | |
| ## Model Details | |
| | Property | Value | | |
| |----------|-------| | |
| | Architecture | BERT | | |
| | Parameters | 118M | | |
| | Embedding Dimension | 384 | | |
| | Layers | 12 | | |
| | Pooling | mean | | |
| | Tokenizer | SentencePiece | | |
| | Language | multilingual | | |
| | Q8_0 vs HuggingFace | 0.9999 | | |
| | Q4_K vs HuggingFace | 0.990 | | |
| ## Server API | |
| CrispEmbed server supports four API dialects: | |
| - `POST /embed` β native | |
| - `POST /v1/embeddings` β OpenAI-compatible | |
| - `POST /api/embed` β Ollama-compatible | |
| - `POST /api/embeddings` β Ollama legacy | |
| ## Credits | |
| - Original model: [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) | |
| - Inference: [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed) (MIT, ggml-based) | |
| ## Provenance and EU AI Act Art. 53 note | |
| - **Upstream model:** [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) β published by `intfloat`. | |
| - **Upstream licence:** `mit`. 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. | |