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 harrier-oss-v1 270M converted to Q8A64, the 8-bit weight format of VelociQ8, to run on the CPU. It turns text into vectors for retrieval, clustering, semantic similarity, classification, bitext mining and reranking. Queries take a one-sentence task instruction; documents take none.
| Base model | microsoft/harrier-oss-v1-270m, by Microsoft |
|---|---|
| Type | Text embedding model, 640-dimension vectors |
| Size | 270M parameters |
| Context | 32,768 tokens in the original model |
| Weights license | MIT License |
| Measurements | None of its own. Verified to load and run, see Measurements |
Conversion note. This file was converted with the causal (decoder-only) architecture that the original checkpoint declares in its own configuration.
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 |
|---|---|---|
harrier-oss-v1-270m-Q8A64.gguf |
Q8A64 weights | 270.05 MiB |
LICENSE |
License text |
SHA256 of the weights file, in the format sha256sum -c reads:
d879ea54cff9d03b04b45b3c7ea506bbf020c9207f774f4ee6da65dd82d00a37 harrier-oss-v1-270m-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/harrier-oss-v1-270m-Q8A64-GGUF
FILE=harrier-oss-v1-270m-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/harrier-oss-v1-270m-Q8A64-GGUF harrier-oss-v1-270m-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 harrier-oss-v1-270m-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": ["Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: How do solar panels produce electricity?", "Solar panels use photovoltaic cells to convert sunlight into electrical energy."]}'
The reply has one vector of 640 numbers per input, in the same order. Each vector has unit length, so the dot product of two vectors is their cosine similarity.
harrier-oss-v1 270M is used with a fixed prefix in front of the query text; documents are sent as plain text, with no prefix.
A query is sent like this (the prefix is everything before the sample question):
Instruct: Given a web search query, retrieve relevant passages that answer the query
Query: How do solar panels produce electricity?
A document is sent as it is:
Solar panels use photovoltaic cells to convert sunlight into electrical energy.
For another task, replace the instruction with a one-sentence description of that task. The ones that Microsoft pre-configures are listed under Prompt format in About the base model.
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 | 640 |
| 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.99978 / 0.99987 |
| 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 microsoft/harrier-oss-v1-270m, by Microsoft. What follows is copied or condensed from it and is Microsoft's statement, not VelociQ8's. It leaves out Microsoft's ranking claim and the Python usage examples. Read on 2026-10-21. If anything here differs from the original, the original is right. Benchmark tables are not copied: the card has a table with an MTEB v2 score for each size, and its Evaluation section explains how to reproduce the scores with the mteb repository.
harrier-oss-v1 is a family of multilingual text embedding models developed by Microsoft. The models use decoder-only architectures with last-token pooling and L2 normalization to produce dense text embeddings. They can be applied to a wide range of tasks, including retrieval, clustering, semantic similarity, classification, bitext mining and reranking. The family has three sizes: 270M, 0.6B and 27B. This repository holds the 270M model.
The models are trained on multilingual data and support a wide range of languages, including but not limited to: Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek, English, Spanish, Estonian, Persian, Finnish, French, Hebrew, Hindi, Croatian, Hungarian, Indonesian, Italian, Japanese, Korean, Lithuanian, Latvian, Macedonian, Malay, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Albanian, Serbian, Swedish, Thai, Turkish, Ukrainian, Urdu, Vietnamese and Chinese.
The card has no intended-use section. It says the models can be applied to retrieval, clustering, semantic similarity, classification, bitext mining and reranking, "including but not limited to" those.
The original card does not say.
Each query must come with a one-sentence instruction that describes the task: Instruct: {task description}\nQuery: {query}. Documents take no instruction. The card's example task is Given a web search query, retrieve relevant passages that answer the query. Its FAQ says the instruction on the query side is how the model is trained, and that without it you will see a performance degradation. The pooling is last-token, followed by L2 normalization.
The card points to the prompts pre-configured in the original repository's config_sentence_transformers.json:
web_search_query: Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: sts_query: Instruct: Retrieve semantically similar text\nQuery: bitext_query: Instruct: Retrieve parallel sentences\nQuery: The prompts used for each evaluation task are in the original repository's mteb_v2_eval_prompts.json.
The card gives the license only in its metadata (license: mit). It has no license text of its own, and the original repository has no LICENSE file.
The original card has no citation entry.
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 microsoft/harrier-oss-v1-270m. 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.