From 5228c61d39a7486b0a67579f4ed18222c5043da0 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Sun, 14 Jun 2026 18:25:31 +0200 Subject: server: per-family embedding encoding (Qwen3 float, pplx int8) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 8427674..715d28d 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,12 @@ the model's output size (1024 for `Qwen3-Embedding-0.6B`, 2560 for `Qwen3-Embedding-4B`, 4096 for `Qwen3-Embedding-8B`). Truncated Matryoshka embeddings are re-normalized before encoding. +`encoding_format` follows each model's API family. Qwen3-Embedding models are +OpenAI-compatible: it defaults to `float` (the true float32 vector) and also +accepts `base64` (base64-encoded float32). pplx-embed models default to +`base64_int8` and also accept `base64_binary` and `float` (the decoded int8 +view). Always compare embeddings with cosine similarity. + Example: ```bash -- cgit v1.3.1