Datasets:
Tasks:
Visual Document Retrieval
Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
Tags:
Synthetic
multimodal-ai
evaluation
visual-document-retrieval
document-question-answering
image-to-text
License:
Publish artifacts for multimodal-document-retrieval-20260812
Browse files- README.md +59 -0
- data/test.jsonl +4 -0
- data/train.jsonl +14 -0
- project.json +52 -0
- sources.json +12 -0
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: Multimodal Document Retrieval Baseline Synthetic Evaluation Set
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
task_categories:
|
| 9 |
+
- visual-document-retrieval
|
| 10 |
+
tags:
|
| 11 |
+
- synthetic
|
| 12 |
+
- multimodal-ai
|
| 13 |
+
- evaluation
|
| 14 |
+
- visual-document-retrieval
|
| 15 |
+
- document-question-answering
|
| 16 |
+
- image-to-text
|
| 17 |
+
- feature-extraction
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train.jsonl
|
| 23 |
+
- split: test
|
| 24 |
+
path: data/test.jsonl
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Multimodal Document Retrieval Baseline Synthetic Dataset
|
| 28 |
+
|
| 29 |
+
## Summary
|
| 30 |
+
|
| 31 |
+
This dataset contains 14 training examples and 4
|
| 32 |
+
held-out examples for **Business documents contain meaning in text, tables, layout, and imagery that text-only retrieval can miss.**
|
| 33 |
+
|
| 34 |
+
Every record is synthetic and includes:
|
| 35 |
+
|
| 36 |
+
- `input`: query, event, or feature description
|
| 37 |
+
- `label`: expected class, route, relation, or evidence category
|
| 38 |
+
- `context`: synthetic supporting context
|
| 39 |
+
- `source`: fictional source identifier
|
| 40 |
+
- `variant`: generation pattern
|
| 41 |
+
- `synthetic`: always `true`
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
- Reproducible unit and integration tests
|
| 46 |
+
- Baseline model training
|
| 47 |
+
- Evaluation harness development
|
| 48 |
+
- Schema and architecture demonstrations
|
| 49 |
+
|
| 50 |
+
## Limitations
|
| 51 |
+
|
| 52 |
+
The starter dataset contains synthetic textual modality descriptors, not sensitive scanned documents.
|
| 53 |
+
|
| 54 |
+
This dataset does not represent real users, patients, customers, production
|
| 55 |
+
traffic, or licensed media. It must not be presented as real-world evidence.
|
| 56 |
+
|
| 57 |
+
## Related Model
|
| 58 |
+
|
| 59 |
+
[RKB109/multimodal-document-retrieval-20260812-model](https://huggingface.co/RKB109/multimodal-document-retrieval-20260812-model)
|
data/test.jsonl
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id":"multimodal-document-retrieval-2-1","input":"Locate the architecture diagram showing a queue","label":"technical-diagram","context":"Caption service diagram; labels producer queue consumer.","source":"doc-02","variant":"direct","synthetic":true}
|
| 2 |
+
{"id":"multimodal-document-retrieval-3-2","input":"In an operations review, Find the signed privacy exception request","label":"policy-form","context":"OCR privacy exception; layout signature block approved.","source":"doc-03","variant":"operations","synthetic":true}
|
| 3 |
+
{"id":"multimodal-document-retrieval-4-3","input":"For an evaluation case, Which invoice contains a tax adjustment?","label":"invoice","context":"OCR invoice 184; table subtotal tax adjustment final total.","source":"doc-04","variant":"evaluation","synthetic":true}
|
| 4 |
+
{"id":"multimodal-document-retrieval-6-1","input":"Which form includes retention approval?","label":"policy-form","context":"OCR retention request; checkbox approved; signature present.","source":"doc-06","variant":"direct","synthetic":true}
|
data/train.jsonl
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id":"multimodal-document-retrieval-1-1","input":"Find the invoice with a shipping surcharge table","label":"invoice","context":"OCR total 1480; table shipping surcharge 80; image company seal.","source":"doc-01","variant":"direct","synthetic":true}
|
| 2 |
+
{"id":"multimodal-document-retrieval-1-2","input":"In an operations review, Find the invoice with a shipping surcharge table","label":"invoice","context":"OCR total 1480; table shipping surcharge 80; image company seal.","source":"doc-01","variant":"operations","synthetic":true}
|
| 3 |
+
{"id":"multimodal-document-retrieval-1-3","input":"For an evaluation case, Find the invoice with a shipping surcharge table","label":"invoice","context":"OCR total 1480; table shipping surcharge 80; image company seal.","source":"doc-01","variant":"evaluation","synthetic":true}
|
| 4 |
+
{"id":"multimodal-document-retrieval-2-2","input":"In an operations review, Locate the architecture diagram showing a queue","label":"technical-diagram","context":"Caption service diagram; labels producer queue consumer.","source":"doc-02","variant":"operations","synthetic":true}
|
| 5 |
+
{"id":"multimodal-document-retrieval-2-3","input":"For an evaluation case, Locate the architecture diagram showing a queue","label":"technical-diagram","context":"Caption service diagram; labels producer queue consumer.","source":"doc-02","variant":"evaluation","synthetic":true}
|
| 6 |
+
{"id":"multimodal-document-retrieval-3-1","input":"Find the signed privacy exception request","label":"policy-form","context":"OCR privacy exception; layout signature block approved.","source":"doc-03","variant":"direct","synthetic":true}
|
| 7 |
+
{"id":"multimodal-document-retrieval-3-3","input":"For an evaluation case, Find the signed privacy exception request","label":"policy-form","context":"OCR privacy exception; layout signature block approved.","source":"doc-03","variant":"evaluation","synthetic":true}
|
| 8 |
+
{"id":"multimodal-document-retrieval-4-1","input":"Which invoice contains a tax adjustment?","label":"invoice","context":"OCR invoice 184; table subtotal tax adjustment final total.","source":"doc-04","variant":"direct","synthetic":true}
|
| 9 |
+
{"id":"multimodal-document-retrieval-4-2","input":"In an operations review, Which invoice contains a tax adjustment?","label":"invoice","context":"OCR invoice 184; table subtotal tax adjustment final total.","source":"doc-04","variant":"operations","synthetic":true}
|
| 10 |
+
{"id":"multimodal-document-retrieval-5-1","input":"Show the network diagram with a gateway","label":"technical-diagram","context":"Caption network topology; labels client gateway service.","source":"doc-05","variant":"direct","synthetic":true}
|
| 11 |
+
{"id":"multimodal-document-retrieval-5-2","input":"In an operations review, Show the network diagram with a gateway","label":"technical-diagram","context":"Caption network topology; labels client gateway service.","source":"doc-05","variant":"operations","synthetic":true}
|
| 12 |
+
{"id":"multimodal-document-retrieval-5-3","input":"For an evaluation case, Show the network diagram with a gateway","label":"technical-diagram","context":"Caption network topology; labels client gateway service.","source":"doc-05","variant":"evaluation","synthetic":true}
|
| 13 |
+
{"id":"multimodal-document-retrieval-6-2","input":"In an operations review, Which form includes retention approval?","label":"policy-form","context":"OCR retention request; checkbox approved; signature present.","source":"doc-06","variant":"operations","synthetic":true}
|
| 14 |
+
{"id":"multimodal-document-retrieval-6-3","input":"For an evaluation case, Which form includes retention approval?","label":"policy-form","context":"OCR retention request; checkbox approved; signature present.","source":"doc-06","variant":"evaluation","synthetic":true}
|
project.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "Multimodal Document Retrieval Baseline",
|
| 3 |
+
"problem": "Business documents contain meaning in text, tables, layout, and imagery that text-only retrieval can miss.",
|
| 4 |
+
"domain": "multimodal-ai",
|
| 5 |
+
"architecture": "retrieval",
|
| 6 |
+
"hugging_face_tasks": [
|
| 7 |
+
"visual-document-retrieval",
|
| 8 |
+
"document-question-answering",
|
| 9 |
+
"image-to-text",
|
| 10 |
+
"feature-extraction"
|
| 11 |
+
],
|
| 12 |
+
"recommended_stack": [
|
| 13 |
+
"FastAPI for ingestion and multimodal search",
|
| 14 |
+
"Transformers with LayoutLMv3 or ColPali-style encoders",
|
| 15 |
+
"OCR adapter plus image captioning",
|
| 16 |
+
"PostgreSQL plus pgvector for fused embeddings",
|
| 17 |
+
"Object storage for source documents",
|
| 18 |
+
"OpenTelemetry plus retrieval ablation reports"
|
| 19 |
+
],
|
| 20 |
+
"real_world_data_sources": [
|
| 21 |
+
{
|
| 22 |
+
"name": "SEC EDGAR company facts API",
|
| 23 |
+
"url": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000320193.json",
|
| 24 |
+
"purpose": "Real tabular filing facts and document metadata"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"name": "arXiv API",
|
| 28 |
+
"url": "https://export.arxiv.org/api/query?search_query=all:document%20understanding&start=0&max_results=5",
|
| 29 |
+
"purpose": "Public papers and document-layout retrieval scenarios"
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"job_description_skills": [
|
| 33 |
+
"Multimodal embeddings and document understanding",
|
| 34 |
+
"OCR, layout, image, and text feature fusion",
|
| 35 |
+
"Vector retrieval and modality-aware ranking",
|
| 36 |
+
"Ablation testing and retrieval evaluation",
|
| 37 |
+
"Scalable document ingestion and object storage"
|
| 38 |
+
],
|
| 39 |
+
"impact_targets": [
|
| 40 |
+
"Improve Recall@5 by >= 20% over text-only retrieval",
|
| 41 |
+
"Report modality ablations for OCR, layout, and image signals",
|
| 42 |
+
"Index 100,000 documents with resumable ingestion",
|
| 43 |
+
"Keep p95 retrieval latency below 500 ms"
|
| 44 |
+
],
|
| 45 |
+
"baseline_evaluation": {
|
| 46 |
+
"test_examples": 4,
|
| 47 |
+
"accuracy": 1,
|
| 48 |
+
"synthetic_evaluation": true
|
| 49 |
+
},
|
| 50 |
+
"estimated_delivery": "8-12 weeks for one engineer",
|
| 51 |
+
"generated_baseline_is_production_ready": false
|
| 52 |
+
}
|
sources.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "SEC EDGAR company facts API",
|
| 4 |
+
"url": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000320193.json",
|
| 5 |
+
"purpose": "Real tabular filing facts and document metadata"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "arXiv API",
|
| 9 |
+
"url": "https://export.arxiv.org/api/query?search_query=all:document%20understanding&start=0&max_results=5",
|
| 10 |
+
"purpose": "Public papers and document-layout retrieval scenarios"
|
| 11 |
+
}
|
| 12 |
+
]
|