Infinity-Doc2-5M
收藏资源简介:
Infinity-Doc2-5M 是一个专为文档解析任务设计的大规模、高质量训练数据集,包含约500万个样本(文档页面),覆盖了广泛的文档类型,如学术论文、研究报告、财务报告、报纸、教科书、考试试卷、杂志等,并支持中文、英文及中英混合文本。数据涵盖了单栏、多栏、垂直文本等多种复杂布局格式,充分体现真实世界文档的多样性。数据集提供了从块级到页面级的多层次、丰富的标注信息,包括文档结构元素的详细块级类别(如标题、文本段落、列表、表格、图像、数学公式等)、定位信息(边界框)、内容识别结果(如文本字符串、表格的HTML表示、公式的LaTeX代码、化学SMILES、图表等)以及文档的整体阅读顺序,还为表格、文本、公式等区域提供了详细的属性标注。为增强生成式文档解析模型的多样性和泛化能力,数据集设计了多样化的提示。在质量方面,结合了人工标注与智能生成,并辅以专家质检流程以确保准确性。部分数据由原始语料合成,确保不包含敏感信息并严格遵守版权法规,适用于学术和非商业用途。数据以图像文件和对应的JSONL格式标注文件组织,每个标注样本包含图像路径、多轮对话(含任务描述和模型输出)、可选的元素定位与类别信息以及任务和子任务属性。该数据集旨在为文档布局分析、元素检测与识别、公式解析、文档理解等任务提供坚实的数据基础,加速多语言、多场景下的文档解析研究和应用开发,采用CC-BY-NC-SA 4.0许可证。
Infinity-Doc2-5M is a large-scale, high-quality training dataset specifically designed for document parsing tasks. It contains approximately 5 million samples (document pages), covering a wide range of document types, including academic papers, research reports, financial reports, newspapers, textbooks, exam papers, magazines, etc., and supports Chinese, English, and mixed Chinese-English text. The data encompasses various complex layout formats such as single-column, multi-column, and vertical text, fully reflecting the diversity of real-world documents. The dataset provides multi-level, rich annotation information from block-level to page-level, including detailed block-level categories of document structural elements (e.g., headings, text paragraphs, lists, tables, images, mathematical formulas, etc.), positioning information (bounding boxes), content recognition results for each element area (e.g., text strings, HTML representations of tables, LaTeX code for formulas, chemical SMILES, charts, etc.), and the overall reading order of documents. Additionally, it offers detailed attribute annotations for areas such as tables, text, and formulas. To enhance the diversity and generalization capabilities of generative document parsing models, the dataset incorporates diverse prompts designed for different tasks and scenarios. In terms of data quality, it combines manual annotation with intelligent generation, supplemented by expert quality inspection processes to ensure accuracy. Part of the data is synthesized from original corpora, ensuring no sensitive information is included and strictly complying with copyright regulations, making it suitable for academic and non-commercial use. The data is organized as image files and corresponding JSONL-format annotation files, with each annotated sample containing image paths, multi-turn conversations (including task descriptions and model outputs), optional element positioning and category information (objects), and task and subtask attributes. This dataset provides a solid data foundation for tasks such as document layout analysis, element detection and recognition, formula parsing, and document understanding, aiming to accelerate research and application development in multilingual, multi-scenario document parsing, and is licensed under CC-BY-NC-SA 4.0.
数据集概述:Infinity-Doc2-5M
基本信息
- 数据集名称:Infinity-Doc2-5M
- 许可证:MIT
- 语言:英语、中文
- 数据规模:1M < n < 10M(约500万样本)
- 数据集链接:https://huggingface.co/datasets/infly/Infinity-Doc2-5M
数据集特点
Infinity-Doc2-5M 是一个专为文档解析场景设计的高质量训练数据集,具有以下核心特点:
1. 文档类型多样化
- 涵盖学术论文、研究报告、财务报表、报纸、教科书、试卷、杂志等多种文档类型
- 支持中文、英文以及中英文混合文本
- 包含单栏、多栏、竖排文字等多种复杂布局格式
2. 标注内容丰富
提供从块级到页面级的多层次标注,具体包括:
- 块级类别:标题、文本段落、表格、公式、页眉、页脚等
- 文档元素定位信息:每个元素的边界框坐标
- 元素区域识别结果:
- 文本字符串
- 表格 HTML 格式
- 公式 LaTeX 格式
- 化学式 SMILES 表示
- 图表信息
- 文档整体阅读顺序
3. 提示多样性
针对不同任务和场景设计了多样化的提示,以增强生成式文档解析模型的多样性和泛化能力。
4. 数据质量高
- 通过人工筛选、智能标注和数据合成相结合的方式生产
- 人工标注与专家质量检验确保高精度的文档图像标注数据
- 基于语料的数据合成引擎可构建文档图像和标注数据,实现100%准确率
数据集结构
目录结构
数据以压缩包形式存储,解压后结构如下:
task/ └── sub_task/ └── images/ # 图像存储目录 └── part_0001/ ├── file_x1_md5.png └── ... └── part_0002/ ├── file_y1_md5.png └── ... └── labels/ # 标注 JSONL 文件目录 └── label.jsonl
标注文件格式
label.jsonl 文件中每条数据的字段说明:
| 字段 | 类型 | 描述 |
|---|---|---|
images |
list | 图像路径列表(相对路径) |
conversations |
list | 训练对话信息,包含 from(human/gpt)和 value |
attributes |
struct | 任务属性,包含 task 和 subtask |
objects |
string(可选) | 布局定位信息,包含 ref(类别列表)和 bbox(边界框列表) |
应用场景
该数据集为以下任务提供数据基础:
- 文档布局分析
- 元素检测与识别
- 公式解析
- 文档理解
- 多语言、多场景的文档解析研究与开发
许可说明
本数据集采用 MIT 许可证。部分数据为原始语料合成,不包含敏感信息,严格遵守版权规定,适用于学术和非商业用途。




