Dataset Viewer
Auto-converted to Parquet Duplicate
query
stringlengths
14
112
pos_image
imagewidth (px)
670
1.65k
neg_images
images listlengths
4
4
neg_kinds
listlengths
4
4
من هم الأمناء العامين لمجلس التعاون الخليجي وفترات خدمتهم
[ "hard", "hard", "hard", "easy" ]
جدول الأمناء العامين لمجلس التعاون لدول الخليج العربية
[ "hard", "hard", "hard", "easy" ]
قائمة أمناء عامين مجلس التعاون الخليجي من 1981 حتى الآن
[ "hard", "hard", "hard", "easy" ]
ما هو ترتيب الجيوش العربية حسب القوة في منطقة الخليج العربي؟
[ "hard", "hard", "hard", "easy" ]
جدول مقارنة القوات المسلحة في دول الخليج العربي عام 2023
[ "hard", "hard", "hard", "easy" ]
ميزانية الدفاع الإنفاق العسكري في السعودية والإمارات وقطر والكويت والبحرين وعمان
[ "hard", "hard", "hard", "easy" ]
ما هي الدول الأعضاء المؤسسة لمنظمة التعاون الإسلامي عام 1969؟
[ "hard", "hard", "hard", "easy" ]
قائمة الدول الإسلامية الأعضاء المؤسسين منظمة المؤتمر الإسلامي
[ "hard", "hard", "hard", "easy" ]
ما هي الكثافة السكانية لدول العالم ؟
[ "hard", "hard", "hard", "easy" ]
جدول الكثافة السكانية للدول العربية والأجنبية بالكيلومتر المربع
[ "hard", "hard", "hard", "easy" ]
قائمة أعلى الدول في الكثافة السكانية مع المساحة وعدد السكان
[ "hard", "hard", "hard", "easy" ]
جدول أعداد الطلبة في الكليات الطبية بالسعودية حسب الجنس
[ "hard", "hard", "hard", "easy" ]
كم عدد الطلاب والطالبات في كلية الطب جامعة الملك سعود الرياض
[ "hard", "hard", "hard", "easy" ]
إحصائيات الطلبة في كليات الطب وطب الأسنان والصيدلة والعلوم الطبية التطبيقية وكلية العلوم والمهن الصحية
[ "hard", "hard", "hard", "easy" ]
ما هي أشهر المعالم والآثار في محافظة صيدا؟
[ "hard", "hard", "hard", "easy" ]
جدول المعالم الأثرية في صيدا قلعة أبو عريش مسجد القبب
[ "hard", "hard", "hard", "easy" ]
قائمة المواقع التاريخية والأثرية في مدينة صيدا اللبنانية
[ "hard", "hard", "hard", "easy" ]
ما هي الدول الأعضاء الحالية في منظمة أوبك وبياناتها الاقتصادية؟
[ "hard", "hard", "hard", "easy" ]
جدول إنتاج النفط وعدد السكان في دول أوبك 2022
[ "hard", "hard", "hard", "easy" ]
قائمة الدول الأعضاء في أوبك مع المساحة والناتج المحلي الإجمالي
[ "hard", "hard", "hard", "easy" ]
كم عدد حصص أوبك وإنتاجها وقدرتها القصوى من البترول؟
[ "hard", "hard", "hard", "easy" ]
ما إنتاج النفط في دول أوبك الكويت السعودية نيجيريا ليبيا فنزويلا ؟
[ "hard", "hard", "hard", "easy" ]
ما هي رتب القوات الجوية الملكية السعودية؟
[ "hard", "hard", "hard", "easy" ]
جدول رتب الطيران السعودي من جندي إلى رئيس أركان
[ "hard", "hard", "hard", "easy" ]
تسلسل الرتب العسكرية في سلاح الجو السعودي
[ "hard", "hard", "hard", "easy" ]
ما هي الكليات العسكرية والمعاهد في المملكة العربية السعودية؟
[ "hard", "hard", "hard", "easy" ]
جدول الكليات العسكرية السعودية مع مواقعها وتواريخ تأسيسها
[ "hard", "hard", "hard", "easy" ]
جدول بطولات وألقاب النادي من 2011 إلى 2023
[ "hard", "hard", "hard", "easy" ]
تاريخ فوز النادي بكأس السوبر السعودي وكأس العرب للأندية الأبطال
[ "hard", "hard", "hard", "easy" ]
جدول الطريق إلى النهائي في البطولة العربية
[ "hard", "hard", "hard", "easy" ]
ترتيب الفرق المؤهلة لنهائي البطولة ونقاط كل فريق
[ "hard", "hard", "hard", "easy" ]
من هم مدربو نادي تيلي ساتانا من 1981 إلى 1991؟
[ "hard", "hard", "hard", "easy" ]
جدول المدربين الذين تولوا تدريب فريق كرة القدم في الثمانينات
[ "hard", "hard", "hard", "easy" ]
قائمة مدربي نادي تيلي ساتانا في الثمانينات وبداية التسعينات
[ "hard", "hard", "hard", "easy" ]
من كان رئيس النادي الأهلي المصري في الستينات؟
[ "hard", "hard", "hard", "easy" ]
جدول رؤساء النادي الأهلي عبر التاريخ
[ "hard", "hard", "hard", "easy" ]
عمر عدريه رئيس الأهلي بطولات
[ "hard", "hard", "hard", "easy" ]
من هو رئيس النادي الذي حصل على بطولة واحدة في الفترة 2018-2023؟
[ "hard", "hard", "hard", "easy" ]
جدول رؤساء النادي عبر تاريخ البطولات
[ "hard", "hard", "hard", "easy" ]
ما هم اللاعبون المعارون من نادي ريال مدريد؟
[ "hard", "hard", "hard", "easy" ]
لاعبو ريال مدريد المعارون إلى أندية أخرى الموسم الحالي
[ "hard", "hard", "hard", "easy" ]
جدول كرة اليد في الخليج مواسم مختلفة
[ "hard", "hard", "hard", "easy" ]
ما هي نتائج بطولات كرة اليد الخليجية من 1413 إلى 1425 هجري؟
[ "hard", "hard", "hard", "easy" ]
الفائزين ببطولة كرة اليد الخليجية عبر السنوات
[ "hard", "hard", "hard", "easy" ]
جدول البطولات لكل فريق في الدوري المصري
[ "hard", "hard", "hard", "easy" ]
كم بطولة فاز بها الأهلي والزمالك في تاريخ كرة القدم المصرية
[ "hard", "hard", "hard", "easy" ]
إحصائيات وأرقام الأندية المصرية في الدوري الممتاز
[ "hard", "hard", "hard", "easy" ]
قائمة مباريات كأس خادم الحرمين الشريفين النهائية
[ "hard", "hard", "hard", "easy" ]
جدول المباريات النهائية لكأس خادم الحرمين من 1983 إلى 2011
[ "hard", "hard", "hard", "easy" ]
ما هي أطول المباني في السعودية؟
[ "hard", "hard", "hard", "easy" ]
ما ترتيب ناطحات السحاب في المملكة العربية السعودية حسب الارتفاع ؟
[ "hard", "hard", "hard", "easy" ]
قائمة أبراج الرياض وارتفاعها بالمتر
[ "hard", "hard", "hard", "easy" ]
ما هي أطول المباني قيد الإنشاء أو المقترحة في العالم؟
[ "hard", "hard", "hard", "easy" ]
ما أطول الأبراج تحت الإنشاء ؟
[ "hard", "hard", "hard", "easy" ]
جدول أداء الأندية السعودية في البطولات المحلية والآسيوية
[ "hard", "hard", "hard", "easy" ]
كم عدد البطولات التي حققها نادي الهلال والأهلي والنصر
[ "hard", "hard", "hard", "easy" ]
قائمة الفائزين بالدوري السعودي وكأس آسيا من الأندية السعودية
[ "hard", "hard", "hard", "easy" ]
ما هي نتائج مباريات المنطقة الغربية في البطولة؟
[ "hard", "hard", "hard", "easy" ]
ما هي الشركات التابعة لشركة العربي الوطني للاستثمار ونسب ملكيتها؟
[ "hard", "hard", "hard", "easy" ]
جدول الشركات التابعة العربي الوطني استثمار وكالة تأمين
[ "hard", "hard", "hard", "easy" ]
قائمة فروع ومواقع عمليات شركة العربي الوطني للاستثمار في السعودية والكايمان
[ "hard", "hard", "hard", "easy" ]
ما هي نتائج الجولة التمهيدية الثانية في البطولة؟
[ "hard", "hard", "hard", "easy" ]
جدول نتائج مباريات الفرق في الدور الثاني التمهيدي
[ "hard", "hard", "hard", "easy" ]
ما هي نتيجة مباراة نادي أجمعل الاوزبكي ضد نادي استقلال دوشنيه
[ "hard", "hard", "hard", "easy" ]
نتائج مباريات كأس الخليج العربي من 1970 إلى 1994
[ "hard", "hard", "hard", "easy" ]
جدول البطولات الخليجية وأماكن إقامتها والفرق المشاركة في السبعينات والثمانينات
[ "hard", "hard", "hard", "easy" ]
من فاز بكأس الخليج في السبعينات والثمانينات؟
[ "hard", "hard", "hard", "easy" ]
من هم مدربو الفرق الفائزة بكأس آسيا للأندية منذ عام 1970؟
[ "hard", "hard", "hard", "easy" ]
جدول مدربي الأندية الآسيوية الفائزة بالبطولة القارية
[ "hard", "hard", "hard", "easy" ]
قائمة المدربين الذين حققوا لقب دوري أبطال آسيا مع فرقهم
[ "hard", "hard", "hard", "easy" ]
ما هو الترتيب النهائي لمنتخبات آسيا في تصفيات كأس العالم؟
[ "hard", "hard", "hard", "easy" ]
ما هو جدول ترتيب المنتخبات العربية والآسيوية حسب النقاط والأهداف ؟
[ "hard", "hard", "hard", "easy" ]
ما إحصائيات الأهداف والتسديدات والأخطاء المركبة ؟
[ "hard", "hard", "hard", "easy" ]
ما هي المناطق المدرجة تحت فئة الجزء الثاني في السعودية؟
[ "hard", "hard", "hard", "easy" ]
من هم رؤساء الجامعة السابقون وفترات خدمتهم؟
[ "hard", "hard", "hard", "easy" ]
جدول رؤساء الجامعة بالتواريخ الهجرية والميلادية
[ "hard", "hard", "hard", "easy" ]
د. فالح بن رجاء الله السلمي رئيس الجامعة منذ 2024
[ "hard", "hard", "hard", "easy" ]
من هم أعضاء مجلس الوزراء السعودي الحاليين وتواريخ تعيينهم؟
[ "hard", "hard", "hard", "easy" ]
جدول أعضاء الحكومة السعودية وزراء الدولة
[ "hard", "hard", "hard", "easy" ]
قائمة الوزراء في المملكة العربية السعودية مع تواريخ شغل المناصب
[ "hard", "hard", "hard", "easy" ]
كم عدد الميداليات التي حصلت عليها مصر في أولمبياد طوكيو 2020؟
[ "hard", "hard", "hard", "easy" ]
جدول ميداليات الدول العربية في أولمبياد طوكيو 2020
[ "hard", "hard", "hard", "easy" ]
إحصائيات الميداليات الذهبية والفضية والبرونزية للبلدان العربية في الألعاب الأولمبية طوكيو
[ "hard", "hard", "hard", "easy" ]
كم كان عدد سكان مصر في السبعينات؟
[ "hard", "hard", "hard", "easy" ]
جدول إحصائيات السكان في جمهورية مصر العربية في الفترة 1960-1974
[ "hard", "hard", "hard", "easy" ]
تطور عدد السكان في مصر من عام 1960 إلى 1974
[ "hard", "hard", "hard", "easy" ]
كم كان عدد سكان ليبيا في السبعينيات؟
[ "hard", "hard", "hard", "easy" ]
ما إحصائيات السكان ليبيا 1960-1974 ؟
[ "hard", "hard", "hard", "easy" ]
ما عدد السكان في ليبيا من عام 1960 إلى 1974 ؟
[ "hard", "hard", "hard", "easy" ]
كم كان عدد سكان تونس في الستينات والسبعينات؟
[ "hard", "hard", "hard", "easy" ]
جدول إحصائيات السكان تونس 1960-1974
[ "hard", "hard", "hard", "easy" ]
تطور عدد السكان في تونس من عام 1960 إلى 1974
[ "hard", "hard", "hard", "easy" ]
كم كان عدد سكان الجمهورية اليمنية في السبعينيات؟
[ "hard", "hard", "hard", "easy" ]
جدول إحصائيات السكان اليمن 1960-1974
[ "hard", "hard", "hard", "easy" ]
تطور عدد السكان في اليمن من 1960 إلى 1974
[ "hard", "hard", "hard", "easy" ]
معدل النمو السكاني في مصر من 1961 إلى 1975
[ "hard", "hard", "hard", "easy" ]
جدول إحصائيات النمو السكاني في جمهورية مصر العربية خلال الستينات والسبعينات
[ "hard", "hard", "hard", "easy" ]
كم كان معدل النمو السكاني في مصر عام 1970؟
[ "hard", "hard", "hard", "easy" ]
ما هو معدل النمو السكاني في ليبيا من 1961 إلى 1975؟
[ "hard", "hard", "hard", "easy" ]
جدول إحصائيات النمو السكاني ليبيا الستينات والسبعينات
[ "hard", "hard", "hard", "easy" ]
End of preview. Expand in Data Studio
NAMAA Community

NAMAA-Space/DEAM-Embed-Triplets

Human-verified Arabic triplets for visual document retrieval

Paper ACL Anthology License Language

Training release of DEAM: Diverse Embeddings for Arabic Multimodal Retrieval
EMNLP 2026 · Main Conference


Overview

DEAM-Train is the human-verified training release of DEAM, the first open Arabic visual document retrieval resource. Each row pairs an Arabic query with the rendered document image that answers it and a set of negative images: three hard negatives that look similar but do not answer it, and one easy negative. Use it to fine-tune multimodal embedding models and late-interaction retrievers such as Qwen-VL, ColPali and ColQwen on Arabic charts, tables and text pages from Wikipedia, books, government documents and news.

DEAM overview
The DEAM pipeline: nine Arabic domains rendered to images, three query intents, a 3-annotator review with 2/3 consensus, and positive / hard / easy negatives. The figure shows the full DEAM resource; this repository releases its human-verified training subset.

Triplets 10,448
Positive documents 3,569
Unique document images 6,055
Subsets 8: tables, bar charts, line charts, pie charts, Wikipedia, books, government, news
Negatives per query 4 images, embedded: 3 hard + 1 easy
Human-verified every positive document; 6,134 queries (59%) reviewed one by one
Query length 8.4 words on average (3–18)
Language Modern Standard Arabic

Highlights

  • Every positive was reviewed by a person. Annotators either approved or rewrote each query (round 1), or accepted the document page and its rendering (round 2).
  • Fixed negative layout. Every row has exactly three hard negatives and one easy negative, embedded, so you can train contrastively without a separate corpus lookup.
  • Repaired text pages. Some news, government and book pages came from PDF text with broken Arabic (presentation forms, swapped ligatures, glued words). Their text was corrected and the pages re-rendered.
  • Correct Arabic rendering. Pages are rendered with HTML and Playwright, which handles Arabic letter shaping and right-to-left layout correctly.
  • Separate from the benchmark. Anything that overlaps the DEAM evaluation sets is removed.

Subsets

Subset Rows Positive docs Images Approved Edited Doc accepted
tables 1,115 421 1,654 921 194 —
bar_charts 771 302 373 644 127 —
line_charts 83 30 229 72 11 —
pie_charts 125 42 393 103 22 —
wikipedia 758 257 604 590 14 154
books 904 293 324 406 25 473
government 5,147 1,708 1,890 1,468 26 3,653
news 1,545 516 588 1,490 21 34
all (default) 10,448 3,569 6,055 5,694 440 4,314

Approved means an annotator accepted the query as written. Edited means an annotator rewrote it, and the rewritten text is used. Doc accepted means an annotator accepted the document page and its rendering; its LLM-written queries were kept without a per-query check.


Quick start

from datasets import load_dataset

ds     = load_dataset("Omartificial-Intelligence-Space/DEAM-Train", split="train")            # all subsets
tables = load_dataset("Omartificial-Intelligence-Space/DEAM-Train", "tables", split="train")  # one subset

ex = tables[0]
ex["query"]        # str              Arabic query
ex["pos_image"]    # PIL.Image        document that answers the query
ex["neg_images"]   # list[PIL.Image]  4 negatives: 3 hard, then 1 easy
ex["neg_kinds"]    # list[str]        ["hard", "hard", "hard", "easy"]
Example: contrastive batch with in-batch + hard negatives
import random
from datasets import load_dataset

ds = load_dataset("Omartificial-Intelligence-Space/DEAM-Train", split="train").shuffle(seed=0)

def collate(batch, n_hard=1):
    queries   = [ex["query"] for ex in batch]
    positives = [ex["pos_image"] for ex in batch]
    hards     = [random.choice([im for im, k in zip(ex["neg_images"], ex["neg_kinds"]) if k == "hard"]
                               or ex["neg_images"])
                 for ex in batch for _ in range(n_hard)]
    return queries, positives + hards   # docs: B positives followed by B*n_hard negatives

queries, docs = collate([ds[i] for i in range(8)])

Data fields

Field Type Description
query string Arabic retrieval query
pos_image Image Rendered document image that answers the query
neg_images list[Image] 4 negative document images from the same subset
neg_kinds list[string] Always ["hard", "hard", "hard", "easy"]: hard is top-ranked by a visual retriever, easy is a low-ranked lexical match

Each row is one query. A document image can appear in 1–3 rows, one for each of its queries that was kept.


Construction

1 · Documents. Arabic tables, chart data, and passages from Wikipedia, books, government documents and news were collected by the NAMAA community. They were rendered to images with an HTML + Playwright pipeline. Pages vary in background and font size, and each page's height fits its content. Passages extracted from PDFs with damaged Arabic text (presentation forms, swapped ligatures, glued or split words, Persian letters) were corrected and re-rendered before release.

2 · Queries. LLMs wrote three Arabic queries per document. Charts and tables were prompted with the image itself and prose with its text. The queries cover different intents: factual questions, keyword queries and descriptive queries.

3 · Human review. Community annotators reviewed the documents in Argilla in two rounds.

  • Round 1 (query review). For each query annotators chose approve, edit (rewrite) or reject, and rated the rendering of the image.
  • Round 2 (document screening). For Wikipedia, books, government and news pages, annotators accepted or rejected each page (content and rendering). Pages accepted by a majority keep their LLM-written queries.

4 · Hard negatives. For each query, candidates come from the same subset. They are ranked with ColQwen2.5, using MaxSim over late-interaction image embeddings. The three top-ranked non-positive documents are kept as hard (topped up from the same page's other queries when needed). One more document, taken from deep in a TF-IDF/BM25 ranking, is kept as the easy negative; for about 1% of rows with no mined easy negative, a random page of the same subset is used. Documents that annotators rejected, flagged or rated as badly rendered are never used as negatives.

5 · Decontamination. The following are removed:

  • queries that match any query in the DEAM test or validation sets, after Arabic normalisation (diacritics, punctuation, whitespace)
  • every document in the DEAM test and validation splits, both as a positive and as a negative
  • duplicate (document, query) pairs

Intended use

  • Fine-tuning Arabic or multilingual visual document retrievers and multimodal embedding models with contrastive or triplet objectives.
  • Hard-negative training for understanding Arabic charts, tables and text pages.

Out of scope: evaluating or reporting benchmark results on this data, and commercial use (see the license).


License

Released under CC BY-NC 4.0 for non-commercial research use. Source documents keep their original licenses.

Citation

If you use DEAM-Train, please cite the DEAM paper:

@inproceedings{nacar-etal-2026-deam,
    title     = "{DEAM}: Diverse Embeddings for {A}rabic Multimodal Retrieval",
    author    = "Nacar, Omer  and
      Mohamed Emad Elden, Fatimah  and
      Al Hallay, Rahaf Saeed  and
      A.Azim, Mona  and
      Hamod, Aya  and
      Zaytoon, Mohamed  and
      Qandos, Nour  and
      Abdelaziz, Mohamed  and
      Elhosiny, Israa  and
      El-Ghawi, Yousra Alaa  and
      Sibaee, Serry  and
      Hamoud, Hadi  and
      Al-Zaid, Norah Naji  and
      Ragab, Muhammed  and
      Al Jallad, Khloud",
    editor    = "Lee, Hung-Yi  and
      Dev, Sunipa  and
      Li, Jessy  and
      Elliott, Desmond",
    booktitle = "Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing",
    month     = oct,
    year      = "2026",
    address   = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url       = "https://aclanthology.org/2026.emnlp-main.2329/",
    pages     = "52897--52913",
    ISBN      = "979-8-89176-459-0"
}

Acknowledgements

DEAM was built by the NAMAA Community with support from Tuwaiq Academy. We thank the community annotators who reviewed every document in this release.

Downloads last month
1