加载中…
加载中…
Q8A64 model file for VelociQ8
Fast CPU inference for GGUF models on Arm and x86
Embeddings, dense and MoE LLMs
Runtime ·
Releases ·
Usage ·
All models
This repository holds multilingual-e5-base converted to Q8A64, the 8-bit weight format of VelociQ8, to run on the CPU. It turns text in about 100 languages into vectors for retrieval, similarity, classification and clustering, with a short prefix on queries and on passages.
| Base model | intfloat/multilingual-e5-base, by intfloat (Liang Wang et al.) |
|---|---|
| Type | Text embedding model, 768-dimension vectors |
| Size | About 280M parameters (Hugging Face metadata; the original card gives no figure) |
| Context | 512 tokens in the original model |
| Weights license | MIT License |
| Measurements | None of its own. Verified to load and run, see Measurements |
This file loads only in VelociQ8 1.1 or later. Other GGUF tools, including standard llama.cpp, cannot load Q8A64 files. The automatic snippets that Hugging Face shows under Use this model (for llama.cpp, Ollama and similar tools) do not work with these files.
VelociQ8 is free-to-use proprietary software built on llama.cpp. It ships the usual tools (llama-server, llama-cli, llama-embedding, llama-bench and llama-quantize) with the same options and the same HTTP API, including the OpenAI-compatible endpoints. Download the archive for your machine from the table (GitHub release) or from the runtime folder of this repository, which has the same files. Check it against SHA256SUMS from the same place.
| Archive | For |
|---|---|
velociq8-1.5-linux-arm64.tar.gz |
Arm servers with dotprod: Ampere Altra, AWS Graviton2 and later, Neoverse N1 and later |
velociq8-1.5-linux-arm64-multi.tar.gz |
Any 64-bit Arm CPU; it picks the best kernels at startup |
velociq8-1.5-linux-x64.tar.gz |
x86-64 with AVX2 and FMA (Intel Haswell, AMD Zen and later) |
velociq8-1.5-windows-x64.zip |
Windows on the same x86-64 CPUs (tested on Windows 11) |
velociq8-1.5-ollama-0.40.13-linux-arm64.tar.gz |
Portable Ollama 0.40.13 for the CPU, Linux on Arm |
velociq8-1.5-ollama-0.40.13-linux-x64.tar.gz |
Portable Ollama 0.40.13, Linux on x86-64: CPU, or the GPU through Vulkan |
velociq8-1.5-ollama-0.40.13-windows-x64.zip |
Portable Ollama 0.40.13, Windows on x86-64: CPU, or the GPU through Vulkan |
The Ollama archives are a portable Ollama with VelociQ8 inside, and do not touch an installed Ollama. The x86-64 ones also use an NVIDIA, AMD or Intel GPU through Vulkan when its driver is installed; see Ollama. The Linux archives need glibc 2.28 or newer. There is also a Docker image for Linux on Arm and x86-64, ghcr.io/dhaern/velociq8 (see Docker). The other archives and the Docker image run on the CPU. VelociQ8 tools cannot download models: download the file from this repository first and pass it with -m.
For NVIDIA GPUs there are also portable Ollama archives with CUDA. They are larger (about 1 GB), so they are only on GitHub: velociq8-1.5-ollama-0.40.13-windows-x64-cuda.zip and velociq8-1.5-ollama-0.40.13-linux-x64-cuda.tar.gz. They need an NVIDIA GPU of the Turing generation or newer (GeForce RTX 20 series onwards) with a current driver.
Questions about this file go to the Community tab; problems with the runtime, to GitHub issues.
| File | Contents | Size |
|---|---|---|
multilingual-e5-base-Q8A64.gguf |
Q8A64 weights | 458.23 MiB |
LICENSE |
License text |
SHA256 of the weights file, in the format sha256sum -c reads:
6d5cfd1e7dd4ad72d49b34af95c9ea1e84285e6d1e843d804599fc2e669e80c7 multilingual-e5-base-Q8A64.gguf
Unpack the archive that matches your CPU (Linux Arm64 shown) and download the file:
tar xf velociq8-1.5-linux-arm64.tar.gz && cd velociq8-1.5-linux-arm64
REPO=VelociQ8/multilingual-e5-base-Q8A64-GGUF
FILE=multilingual-e5-base-Q8A64.gguf
curl -L -O https://huggingface.co/$REPO/resolve/main/$FILE
You can also download it from the Files tab or with hf download VelociQ8/multilingual-e5-base-Q8A64-GGUF multilingual-e5-base-Q8A64.gguf --local-dir .. On Windows use llama-server.exe from the zip; the options are the same.
Start an embeddings server. Use -t for the number of physical cores you want to give the model:
./llama-server -m multilingual-e5-base-Q8A64.gguf --embedding -t 4 -b 2048 -ub 2048 --port 8080
Each input must fit in one batch: -b 2048 -ub 2048 accepts texts of up to 2,048 tokens (the default, 512, rejects longer ones). For longer texts raise both values, up to the context of the model; memory use grows with them.
Ask for the embeddings of a query and a document in one request (the prefixes are explained under Prompt):
curl -s http://127.0.0.1:8080/v1/embeddings \
-H 'Content-Type: application/json' \
-d '{"input": ["query: How do solar panels produce electricity?", "passage: Solar panels use photovoltaic cells to convert sunlight into electrical energy."]}'
The reply has one vector of 768 numbers per input, in the same order. Each vector has unit length, so the dot product of two vectors is their cosine similarity.
multilingual-e5-base is used with a fixed prefix in front of the query text and a different one in front of the document text.
A query is sent like this (the prefix is everything before the sample question):
query: How do solar panels produce electricity?
A document is sent like this:
passage: Solar panels use photovoltaic cells to convert sunlight into electrical energy.
This model has no measurements of its own. Results for other models are published per model family (embeddings, dense LLMs, mixture-of-experts LLMs) in benchmarks.md (speed and memory) and quality.md (accuracy against full precision).
Verified: loads with VelociQ8 1.5 and passes a basic functional test (2026-10-21).
What was checked, with the VelociQ8 1.5 runtime, on the file in this repository:
| Check | Result |
|---|---|
| Vector size | 768 |
| Reference | The original model, run with PyTorch on a CPU in 32-bit float |
| Texts | 16: 8 queries and their 8 documents, in Spanish, English, French, German and Chinese |
| Cosine with the reference vectors, lowest / mean | 0.99962 / 0.99971 |
| Correct document ranked first | 8 of 8 queries (reference: 8 of 8) |
This is a functional check on a few short texts, not a quality benchmark. It shows that the converted file gives vectors very close to the original model's; it says nothing about retrieval quality on your own data.
Source: the original card of intfloat/multilingual-e5-base, by Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder and Furu Wei (technical report). What follows is copied or condensed from it and is their statement, not VelociQ8's; it leaves out the usage examples. Read on 2026-10-21. If anything here differs from the original, the original is right. Benchmark tables are not copied: the Mr. TyDi table is in the original card, and the card points to unilm/e5 to reproduce its BEIR and MTEB results.
Multilingual-E5-base is a multilingual text embedding model described in Multilingual E5 Text Embeddings: A Technical Report. It is initialized from xlm-roberta-base and trained in two stages: contrastive pretraining with weak supervision, then supervised fine-tuning. For labeled data sets only their training sets are used.
About 100 languages, those of xlm-roberta. The card warns that low-resource languages may see lower performance.
Passage retrieval in open QA and ad-hoc information retrieval, semantic similarity, bitext mining, paraphrase retrieval, and embeddings as features for classification and clustering.
Inputs must start with query: or passage: , even for non-English text; without them performance drops. The card's rules of thumb:
query: and passage: for asymmetric tasks such as passage retrieval in open QA and ad-hoc information retrieval.query: for symmetric tasks such as semantic similarity, bitext mining and paraphrase retrieval.query: when the vectors are features, for example for linear-probe classification or clustering.The card gives the license only in its metadata (license: mit). It gives no copyright line, and the original repository has no LICENSE file.
@article{wang2024multilingual,
title={Multilingual E5 Text Embeddings: A Technical Report},
author={Wang, Liang and Yang, Nan and Huang, Xiaolong and Yang, Linjun and Majumder, Rangan and Wei, Furu},
journal={arXiv preprint arXiv:2402.05672},
year={2024}
}
Two licenses apply, and they do not mix:
VelociQ8 is not affiliated with the developers of the original model, and this conversion is not endorsed by them.
This repository contains a converted copy of intfloat/multilingual-e5-base. The weights were converted to Q8A64 and stored in a GGUF file. The model was not retrained or fine-tuned.
License: MIT License. The permission notice is in the LICENSE file of this repository. The original repository gives no copyright line and has no LICENSE file, so the text here has no copyright line either.
Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere. Other product and hardware names belong to their respective owners and are used only to say what VelociQ8 is compared against or measured on.