This is a dense text embedding model built on the Qwen3 decoder architecture.
It encodes text into 1024-dimensional vectors, supports over 100 languages, and
accepts up to 32768 input tokens. Embeddings are produced by taking the hidden
state of the last non-padding token and L2-normalizing it, so the similarity
score is the dot product of two embeddings.
Pooling and normalization are not part of the ONNX graph. FastEmbed applies both
after inference.
Files
File
Precision
Size
FastEmbed model name
onnx/model.onnx
+
onnx/model.onnx_data
fp32
2.38 GB
Qwen/Qwen3-Embedding-0.6B
onnx/model_quantized.onnx
int8 weights, fp32 activations
1.12 GB
Qwen/Qwen3-Embedding-0.6B-Q
The quantized file stores its weights as 8-bit
MatMulNBits
and therefore
requires
onnxruntime>=1.23
. Earlier versions only implement the 4-bit kernel
and will fail to load it.
Usage
This ONNX model is designed for use with FastEmbed.
from fastembed import TextEmbedding
model = TextEmbedding(model_name="Qwen/Qwen3-Embedding-0.6B")
instruction = (
"Instruct: Given a web search query, retrieve relevant passages that answer the query\n""Query:"
)
queries = ["What is the capital of China?"]
documents = ["The capital of China is Beijing."]
query_embeddings = list(model.query_embed([instruction + query for query in queries]))
document_embeddings = list(model.embed(documents))
Use
query_embed()
for queries and
embed()
for documents.
Queries should carry a task instruction, documents should not. FastEmbed does
not add the instruction for you, so prepend it as shown above. Task descriptions
can be written for the task at hand; the original model card recommends one
instruction per retrieval task and notes that omitting it costs roughly 1% to 5%
of retrieval quality.
Pass
model_name="Qwen/Qwen3-Embedding-0.6B-Q"
to use the quantized weights
instead.
The model supports Matryoshka embeddings between 32 and 1024 dimensions. This
export always returns 1024 dimensions; to use a shorter vector, truncate it and
re-normalize.
Accuracy
Measured against
SentenceTransformer("Qwen/Qwen3-Embedding-0.6B")
in fp32 on a
small sample of queries and documents:
Build
Cosine vs reference
Largest similarity shift
fp32
1.0000
0.000000
int8 weights
0.9997 mean, 0.9996 worst case
0.006
The fp32 export also reproduces the query/document score matrix from the
original model card exactly.
The int8 build applies weight-only quantization
through onnxruntime's
MatMulNBitsQuantizer
with a block size of 32.
Compared to the upstream checkpoint,
tokenizer_config.json
sets
model_max_length
to 32768, matching the model's own maximum position
embeddings, and
config.json
sets
pad_token_id
.
Qwen3-Embedding-0.6B-onnx huggingface.co is an AI model on huggingface.co that provides Qwen3-Embedding-0.6B-onnx's model effect (), which can be used instantly with this Qdrant Qwen3-Embedding-0.6B-onnx model. huggingface.co supports a free trial of the Qwen3-Embedding-0.6B-onnx model, and also provides paid use of the Qwen3-Embedding-0.6B-onnx. Support call Qwen3-Embedding-0.6B-onnx model through api, including Node.js, Python, http.
Qwen3-Embedding-0.6B-onnx huggingface.co is an online trial and call api platform, which integrates Qwen3-Embedding-0.6B-onnx's modeling effects, including api services, and provides a free online trial of Qwen3-Embedding-0.6B-onnx, you can try Qwen3-Embedding-0.6B-onnx online for free by clicking the link below.
Qdrant Qwen3-Embedding-0.6B-onnx online free url in huggingface.co:
Qwen3-Embedding-0.6B-onnx is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-Embedding-0.6B-onnx on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-Embedding-0.6B-onnx install, users can directly use Qwen3-Embedding-0.6B-onnx installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-Embedding-0.6B-onnx install url in huggingface.co: