data-snapshot
收藏资源简介:
该数据集由世界银行发展数据组创建,旨在为机构文档中的数据快照提取任务提供基准评估资源。数据集包含来自联合国难民署人道主义报告、世界银行政策研究工作报告和难民项目评估文档的476个PDF文件,共计7,717页,其中标注了3,908个包含可重用分析信息的图形和表格数据快照。数据集的构建过程涉及从公开门户检索文档,并人工筛选和标注具有语义意义的分析性视觉区域。该数据集主要应用于文档智能领域,用于评估和提升布局检测模型在操作型机构文档中识别和定位关键分析内容的能力,以解决通用文档分析与实际有用信息提取之间的差距。
This dataset was created by the Development Data Group of the World Bank, aiming to provide benchmark evaluation resources for the task of data snapshot extraction from institutional documents. It comprises 476 PDF documents sourced from humanitarian reports of the United Nations High Commissioner for Refugees (UNHCR), World Bank Policy Research Working Papers, and refugee project evaluation documents, totaling 7,717 pages. Among these, 3,908 graphical and tabular data snapshots containing reusable analytical information have been annotated. The construction process of this dataset involves retrieving documents from public portals, followed by manual screening and annotation of semantically meaningful analytical visual regions. This dataset is primarily applied in the field of Document Intelligence, to evaluate and enhance the capability of layout detection models in identifying and locating key analytical content within operational institutional documents, so as to bridge the gap between general document analysis and practical useful information extraction.
数据集概述:data-snapshot
核心目的:一个用于评估和开发从PDF文档中提取数据快照(data snapshot)的模型标注语料库。数据快照定义为包含来自统计数据、指标或结构化数据源的定量数据的图形或表格。
许可证:未知(待定)。
任务类别:目标检测、图像分割。
标签:PDF、文档布局分析、数据提取。
语言:英语、法语、西班牙语。
数据集规模:n < 1K。
数据集结构与组成
数据集按来源和配置项组织。目录结构如下:
ai4data/data-snapshot/ ├── annotations/<source>/.json ├── documents/<source>/.pdf ├── metadata/<source>/.json ├── schemas/.json ├── snapshots/<source>/*.png └── README.md
配置项 (Configs) 及其数据文件
annotations:标注文件,每个文档一个JSON文件。- 分片:
unhcr、prwp、refugee - 数据路径:
annotations/unhcr/*.json等。
- 分片:
metadata:文档级元数据文件,每个文档一个JSON文件。- 分片:
unhcr、prwp、refugee - 数据路径:
metadata/unhcr/*.json等。
- 分片:
documents:原始PDF文档文件。- 分片:
unhcr、prwp、refugee - 数据路径:
documents/unhcr/*.pdf等。
- 分片:
snapshots:从文档中提取的PNG图像文件,对应标注的边界框。- 分片:
unhcr、prwp、refugee - 数据路径:
snapshots/unhcr/*.png等。
- 分片:
数据来源 (Sources)
- UNHCR:联合国难民署
- PRWP:政策研究工作论文
- Refugee:难民相关
数据子集详情
1. 标注 (Annotations)
- 格式:JSON文件。
- 内容:指示数据快照的对象类别(图形/表格)及其边界框位置。
- 坐标系统:归一化
[x1, y1, x2, y2]格式,原点为左上角。 - 模式:遵循
schemas/data-snapshot-eval-v1.3.schema.json模式。 - 特性:即使文档没有数据快照,也会存在标注文件,但边界框列表为空。
- 关键字段:
label_map:类别名称到整数ID的映射 (1: Figure, 2: Table)。info:文件级元数据,包括模式版本、类型(ground_truth)、坐标系统等。documents:引用的文档列表。predictions:包含实际标注(注意:虽字段名为predictions,实为人类标注的ground truth),每个页面下的对象包含id,label,bbox(归一化坐标),score(ground truth为null)。
2. 文档 (Documents)
- 格式:原始PDF文件。
- 内容:被标注的实际PDF文档。
3. 元数据 (Metadata)
- 格式:JSON文件。
- 模式:遵循世界银行文档元数据标准。
- 特性:所有来源的文件共享统一的模式(相同键和类型)。
- 顶级字段:
type,metadata_information,document_description,provenance,tags,schematype,additional(包含来源特定字段)。
4. 快照 (Snapshots)
- 格式:PNG图像文件。
- 内容:根据文档和边界框位置提取的图像。
数据加载示例 (使用 HuggingFace datasets 库)
-
加载标注: python from datasets import load_dataset annotations = load_dataset("ai4data/data-snapshot", name="annotations", split="unhcr")
-
加载元数据: python metadata = load_dataset("ai4data/data-snapshot", name="metadata", split="unhcr")
-
加载文档: python docs = load_dataset("ai4data/data-snapshot", data_dir="documents/unhcr")
-
加载快照: python snapshots = load_dataset("ai4data/data-snapshot", data_dir="snapshots/unhcr")
数据集创建与引用
- 创建:标注通过人类使用 Label Studio 工具标注生成。
- 许可证:(待定)
- 引用信息:(待定)

- 1Benchmarking Open-Source Layout Detection Models for Data Snapshot Extraction from Institutional Documents世界银行·发展数据组 · 2026年



