from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
queries = [
'ما هو الغطاء الرأس الذي يعكس الهوية والمكانة الاجتماعية كما يظهر في الصورة؟',
]
documents = [
'Clothes',
'Music',
'Architecture',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 2048] [3, 2048]# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.2472, 0.1607, 0.1453]])
Evaluation
Metrics
Information Retrieval
Datasets:
pearl-ar-dev-hard
,
pearl-ar-dev-hard-final
and
pearl-ar-test-hard-final
Columns:
query
,
category
,
country
,
image
,
negative_0
,
negative_1
,
negative_2
, and
negative_3
Approximate statistics based on the first 200 samples:
query
category
country
image
negative_0
negative_1
negative_2
negative_3
type
string
string
string
image
image
image
image
image
details
min: 33 tokens
mean: 52.18 tokens
max: 82 tokens
min: 21 tokens
mean: 21.8 tokens
max: 24 tokens
min: 21 tokens
mean: 22.21 tokens
max: 24 tokens
min: 200x135 px
mean: 617x552 px
max: 800x786 px
min: 168x182 px
mean: 606x545 px
max: 800x788 px
min: 141x139 px
mean: 671x539 px
max: 800x791 px
min: 177x175 px
mean: 649x555 px
max: 800x788 px
min: 200x150 px
mean: 664x519 px
max: 800x790 px
Samples:
query
category
country
image
negative_0
negative_1
negative_2
negative_3
ما هو الغطاء الرأس الذي يعكس الهوية والمكانة الاجتماعية كما يظهر في الصورة؟
Clothes
Syria
كيف تساهم المجوهرات في إبراز شخصية الفنانة كما يظهر في الصورة؟
Music
Lebanon
ما هي الاختلافات بين الزخارف والكتابات التي تظهر في الصورة وبين تلك الموجودة في المعالم التاريخية الأخرى في نفس البلد، وما هي العناصر الفريدة التي تميز هذه الزخارف والكتابات؟
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
CachedMultipleNegativesRankingLoss
@misc{gao2021scaling,
title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
year={2021},
eprint={2101.06983},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
Runs of Omartificial-Intelligence-Space Qwen3-VL-Embedding-2B-Arabic-VDR on huggingface.co
151
Total runs
0
24-hour runs
2
3-day runs
97
7-day runs
97
30-day runs
More Information About Qwen3-VL-Embedding-2B-Arabic-VDR huggingface.co Model
More Qwen3-VL-Embedding-2B-Arabic-VDR license Visit here:
Qwen3-VL-Embedding-2B-Arabic-VDR huggingface.co is an AI model on huggingface.co that provides Qwen3-VL-Embedding-2B-Arabic-VDR's model effect (), which can be used instantly with this Omartificial-Intelligence-Space Qwen3-VL-Embedding-2B-Arabic-VDR model. huggingface.co supports a free trial of the Qwen3-VL-Embedding-2B-Arabic-VDR model, and also provides paid use of the Qwen3-VL-Embedding-2B-Arabic-VDR. Support call Qwen3-VL-Embedding-2B-Arabic-VDR model through api, including Node.js, Python, http.
Qwen3-VL-Embedding-2B-Arabic-VDR huggingface.co is an online trial and call api platform, which integrates Qwen3-VL-Embedding-2B-Arabic-VDR's modeling effects, including api services, and provides a free online trial of Qwen3-VL-Embedding-2B-Arabic-VDR, you can try Qwen3-VL-Embedding-2B-Arabic-VDR online for free by clicking the link below.
Omartificial-Intelligence-Space Qwen3-VL-Embedding-2B-Arabic-VDR online free url in huggingface.co:
Qwen3-VL-Embedding-2B-Arabic-VDR is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-VL-Embedding-2B-Arabic-VDR on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-VL-Embedding-2B-Arabic-VDR install, users can directly use Qwen3-VL-Embedding-2B-Arabic-VDR installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-VL-Embedding-2B-Arabic-VDR install url in huggingface.co: