Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
jina-embeddings-v4
is a universal embedding model for multimodal and multilingual retrieval.
The model is specially designed for complex document retrieval, including visually rich documents with charts, tables, and illustrations.
from sentence_transformers import SentenceTransformer
# Initialize the model
model = SentenceTransformer("jinaai/jina-embeddings-v4", trust_remote_code=True)
# ========================# 1. Retrieval Task# ========================# Encode query
query_embeddings = model.encode(
sentences=["Overview of climate change impacts on coastal cities"],
task="retrieval",
prompt_name="query",
)
print(f"query_embeddings.shape = {query_embeddings.shape}")
# Encode passage (text)
passage_embeddings = model.encode(
sentences=[
"Climate change has led to rising sea levels, increased frequency of extreme weather events..."
],
task="retrieval",
prompt_name="passage",
)
print(f"passage_embeddings.shape = {passage_embeddings.shape}")
# Encode image/document
image_embeddings = model.encode(
sentences=["https://i.ibb.co/nQNGqL0/beach1.jpg"],
task="retrieval",
)
print(f"image_embeddings.shape = {image_embeddings.shape}")
# ========================# 2. Text Matching Task# ========================
texts = [
"غروب جميل على الشاطئ", # Arabic"海滩上美丽的日落", # Chinese"Un beau coucher de soleil sur la plage", # French"Ein wunderschöner Sonnenuntergang am Strand", # German"Ένα όμορφο ηλιοβασίλεμα πάνω από την παραλία", # Greek"समुद्र तट पर एक खूबसूरत सूर्यास्त", # Hindi"Un bellissimo tramonto sulla spiaggia", # Italian"浜辺に沈む美しい夕日", # Japanese"해변 위로 아름다운 일몰", # Korean
]
text_embeddings = model.encode(sentences=texts, task="text-matching")
# ========================# 3. Code Understanding Task# ========================# Encode query
query_embeddings = model.encode(
sentences=["Find a function that prints a greeting message to the console"],
task="code",
prompt_name="query",
)
# Encode code
code_embeddings = model.encode(
sentences=["def hello_world():\n print('Hello, World!')"],
task="code",
prompt_name="passage",
)
# ========================# 4. Use multivectors# ========================# If you want to use multi-vector embeddings, please use the Hugging Face model directly.
Jina-VDR
Alongside
jina-embeddings-v4
, we’re releasing
Jina VDR
, a multilingual, multi-domain benchmark for visual document retrieval. The task collection can be viewed
here
, and evaluation instructions can be found
here
.
Join our
Discord community
and chat with other community members about ideas.
Citation
If you find
jina-embeddings-v4
useful in your research, please cite the following paper:
@misc{günther2025jinaembeddingsv4universalembeddingsmultimodal,
title={jina-embeddings-v4: Universal Embeddings for Multimodal Multilingual Retrieval},
author={Michael Günther and Saba Sturua and Mohammad Kalim Akram and Isabelle Mohr and Andrei Ungureanu and Sedigheh Eslami and Scott Martens and Bo Wang and Nan Wang and Han Xiao},
year={2025},
eprint={2506.18902},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2506.18902},
}
Runs of jinaai jina-embeddings-v4 on huggingface.co
141.6K
Total runs
2.1K
24-hour runs
504
3-day runs
-5.1K
7-day runs
-66.6K
30-day runs
More Information About jina-embeddings-v4 huggingface.co Model
jina-embeddings-v4 huggingface.co is an AI model on huggingface.co that provides jina-embeddings-v4's model effect (), which can be used instantly with this jinaai jina-embeddings-v4 model. huggingface.co supports a free trial of the jina-embeddings-v4 model, and also provides paid use of the jina-embeddings-v4. Support call jina-embeddings-v4 model through api, including Node.js, Python, http.
jina-embeddings-v4 huggingface.co is an online trial and call api platform, which integrates jina-embeddings-v4's modeling effects, including api services, and provides a free online trial of jina-embeddings-v4, you can try jina-embeddings-v4 online for free by clicking the link below.
jinaai jina-embeddings-v4 online free url in huggingface.co:
jina-embeddings-v4 is an open source model from GitHub that offers a free installation service, and any user can find jina-embeddings-v4 on GitHub to install. At the same time, huggingface.co provides the effect of jina-embeddings-v4 install, users can directly use jina-embeddings-v4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.