jina-embeddings-v4
is a cutting-edge universal embedding model
for multimodal multilingual retrieval
. It's based on
qwen2.5-vl-3b-instruct
with three LoRA adapters:
retrieval
(optimized for retrieval tasks),
text-matching
(optimized for sentence similarity tasks), and
code
(optimized for code retrieval tasks). It is also heavily trained for visual document retrieval and late-interaction style multi-vector output.
Text-Only Task-Specific Models
Here, we removed the visual components of qwen2.5-vl and merged all LoRA adapters back into the base language model. This results in three task-specific v4 models with 3.09B parameters, downsized from the original jina-embeddings-v4 3.75B parameters:
All models above provide F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q3_K_M quantizations. More quantizations such as Unsloth-like dynamic quantizations are on the way.
Limitations
They can not handle image input.
They can not output multi-vector embeddings.
When using retrieval and code models, you must add
Query:
or
Passage:
in front of the input. This ensure the query and retrieval targets are correctly embedded into the correct space.
Run
llama-server
to host the embedding model as OpenAI API compatible HTTP server. As an example for using
text-matching
with
F16
, you can do:
llama-server -hf jinaai/jina-embeddings-v4-text-matching-GGUF:F16 --embedding --pooling mean -ub 8192
Remarks:
--pooling mean
is required as v4 is mean-pooling embeddings.
setting
--pooling none
is
not
as same as the multi-vector embeddings of v4. The original v4 has a trained MLP on top of the last hidden states to output multi-vector embeddings, each has 128-dim. In GGUF, this MLP was chopped off.
Client:
curl -X POST "http://127.0.0.1:8080/v1/embeddings" \
-H "Content-Type: application/json" \
-d '{ "input": [ "A beautiful sunset over the beach", "Un beau coucher de soleil sur la plage", "海滩上美丽的日落", "浜辺に沈む美しい夕日" ] }'
Note: When using
retrieval
and
code
models, add
Query:
or
Passage:
in front of your input, like this:
curl -X POST "http://127.0.0.1:8080/v1/embeddings" \
-H "Content-Type: application/json" \
-d '{ "input": [ "Query: A beautiful sunset over the beach", "Query: Un beau coucher de soleil sur la plage", "Query: 海滩上美丽的日落", "Query: 浜辺に沈む美しい夕日" ] }'
You can also use
llama-embedding
for one-shot embedding:
llama-embedding -hf jinaai/jina-embeddings-v4-text-matching-GGUF:F16 --pooling mean -p "jina is awesome" 2>/dev/null
Runs of jinaai jina-embeddings-v4-text-code-GGUF on huggingface.co
2.2K
Total runs
0
24-hour runs
279
3-day runs
319
7-day runs
1.1K
30-day runs
More Information About jina-embeddings-v4-text-code-GGUF huggingface.co Model
More jina-embeddings-v4-text-code-GGUF license Visit here:
jina-embeddings-v4-text-code-GGUF huggingface.co is an AI model on huggingface.co that provides jina-embeddings-v4-text-code-GGUF's model effect (), which can be used instantly with this jinaai jina-embeddings-v4-text-code-GGUF model. huggingface.co supports a free trial of the jina-embeddings-v4-text-code-GGUF model, and also provides paid use of the jina-embeddings-v4-text-code-GGUF. Support call jina-embeddings-v4-text-code-GGUF model through api, including Node.js, Python, http.
jina-embeddings-v4-text-code-GGUF huggingface.co is an online trial and call api platform, which integrates jina-embeddings-v4-text-code-GGUF's modeling effects, including api services, and provides a free online trial of jina-embeddings-v4-text-code-GGUF, you can try jina-embeddings-v4-text-code-GGUF online for free by clicking the link below.
jinaai jina-embeddings-v4-text-code-GGUF online free url in huggingface.co:
jina-embeddings-v4-text-code-GGUF is an open source model from GitHub that offers a free installation service, and any user can find jina-embeddings-v4-text-code-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of jina-embeddings-v4-text-code-GGUF install, users can directly use jina-embeddings-v4-text-code-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
jina-embeddings-v4-text-code-GGUF install url in huggingface.co: