TR-DocVQA-Synth
收藏资源简介:
TR-DocVQA-Synth 是一个大规模合成的土耳其语文档视觉问答数据集,专为在土耳其商业文档上训练和评估多模态模型而设计。该数据集包含从结构化真实记录生成的 15,000 张文档图像和 235,000 个问答对。数据集聚焦于真实的土耳其文档布局和面向字段的推理,涵盖三大文档类别:1) 电子发票/电子存档风格发票,包含发票号、日期、买卖方公司、税号、商品表格、金额等典型字段;2) 商业合同,包含服务协议、货物购买协议、租赁协议等多种合同类型,涉及合同号、日期、合同方、金额、条款等字段;3) 报价/形式发票/采购订单文档,包含多种土耳其商业报价和订单表格,涉及文档号、日期、有效性、买卖方、产品/服务表格、折扣、增值税、总额等字段。数据集以 PNG 图像格式提供,并附带结构化的源元数据和问答注释。其目标是支持需要从文档图像中读取土耳其文本、理解文档布局、定位关键字段、推理表格以及使用视觉依据的文档证据回答问题的模型。在发布时,该数据集是首个专门围绕土耳其商业文档构建的大规模土耳其语文档视觉问答数据集,旨在弥补土耳其语在文档视觉问答资源方面的不足。数据集采用文档级别的训练/验证/测试划分,所有注释均以 JSONL 格式提供,并保留了用于生成文档和问答对的可审计结构化源记录。数据集为合成数据,避免了真实的个人或企业数据,适用于训练土耳其文档视觉问答模型、评估视觉语言模型、微调多模态大语言模型、基准测试 OCR+QA 流程等研究用途。
TR-DocVQA-Synth is a large-scale synthetic Turkish document visual question answering dataset designed for training and evaluating multimodal models on Turkish business documents. The dataset contains 15,000 document images and 235,000 question-answer pairs generated from structured real records. It focuses on authentic Turkish document layouts and field-oriented reasoning, covering three major document categories: 1) e-invoice/e-archive style invoices, including typical fields such as invoice number, date, buyer and seller companies, tax ID, item tables, and amounts; 2) business contracts, including various contract types such as service agreements, goods purchase agreements, and lease agreements, involving fields like contract number, date, parties, amounts, and clauses; 3) quotation/proforma invoice/purchase order documents, including various Turkish commercial quotation and order forms, involving fields such as document number, date, validity, buyer and seller, product/service tables, discounts, VAT, and total amounts. The dataset is provided in PNG image format with structured source metadata and QA annotations. Its goal is to support models that require reading Turkish text from document images, understanding document layouts, locating key fields, reasoning about tables, and answering questions using visual evidence from documents. At the time of release, it is the first large-scale Turkish document visual question answering dataset specifically built around Turkish business documents, aiming to address the scarcity of Turkish resources in document visual question answering. The dataset uses document-level train/validation/test splits, with all annotations provided in JSONL format and retaining auditable structured source records for generating documents and QA pairs. As synthetic data, it avoids real personal or corporate data and is suitable for research purposes such as training Turkish document VQA models, evaluating vision-language models, fine-tuning multimodal large language models, and benchmarking OCR+QA pipelines.
数据集概述:TR-DocVQA-Synth
TR-DocVQA-Synth 是一个大规模、合成的土耳其语文档视觉问答(Document VQA)数据集。它专为训练和评估多模态模型在土耳其语商业文档上的理解能力而设计。
数据集规模
- 文档总数:15,000 张文档图像
- 问答对总数:235,000 个
- 数据划分:
- 训练集:12,000 个文档,188,026 个问答对
- 验证集:1,500 个文档,23,504 个问答对
- 测试集:1,500 个文档,23,470 个问答对
文档类型
数据集包含三大类土耳其语商业文档:
- 发票文档 (Invoice Documents):模拟土耳其 e-Fatura / e-Arşiv 风格的发票,包含发票号、日期、买卖双方公司及税号、商品明细表、金额等信息。
- 合同文档 (Contract Documents):模拟商业合同,类型包括服务协议、商品采购协议、租赁协议、软件许可协议等,包含合同编号、签约方、合同金额、期限、罚则等信息。
- 报价/形式发票/采购订单文档 (Offer/Proforma/Purchase Order Documents):包括价格报价单、形式发票、采购订单等,包含文档编号、有效期、商品/服务表、折扣、总金额、交付与付款条款等信息。
数据集结构与格式
数据集的目录结构清晰,主要包含:
images/:按文档类型(invoice, contract, offer)组织的 PNG 图像文件。annotations/:JSONL 格式的问答对注释文件(train.jsonl,val.jsonl,test.jsonl)。documents/:JSONL 格式的文档级元数据文件。source_records/:JSONL 格式的结构化源记录,用于生成文档,确保数据可重现和可审计。
注释格式
每个问答对以 JSON 格式记录,包含以下关键字段:
question_id: 唯一标识符document_id: 所属文档 IDdocument_type: 文档类型 (invoice/contract/offer)image_path: 文档图像相对路径question: 土耳其语自然语言问题answer: 标准答案field: 提供答案的源字段split: 数据集划分 (train/val/test)
示例: json { "question_id": "contract_000001_q001", "document_id": "contract_000001", "document_type": "contract", "image_path": "images/contract/contract_000001.png", "question": "Sözleşme numarası nedir?", "answer": "SOZ202300000001", "field": "contract_no", "split": "val" }
数据集用途与特点
- 主要任务:土耳其语文档视觉问答(Turkish Document Visual Question Answering)。
- 数据生成:采用两阶段合成数据管线,先生成结构化源数据,再渲染成文档图像并生成问答对。所有答案皆源自结构化记录,而非 OCR 或模型猜测。
- 布局多样性:为每种文档类型设计了多种模板,以减少模型对单一视觉结构的过拟合。
- 核心价值:作为首个大规模聚焦土耳其语商业文档的 Document VQA 数据集,填补了该领域的空白。
- 开源许可:数据以 CC BY 4.0 协议发布,代码以 MIT 协议发布。
注意事项与局限性
- 合成数据:所有文档均为合成生成,不包含真实公司、个人或法律数据。
- 局限:数据集不包含真实扫描件常见的模糊、歪斜、手写、折痕等噪声;可能未覆盖所有真实的土耳其文档布局;模板化渲染可能导致重复模式。
- 评估建议:模型在此数据集上训练后,建议同时在真实或半真实的土耳其文档样本上进行评估,推荐使用 Exact Match、ANLS 等指标。





