Datasets:
Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type string to null
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2328, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1870, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2130, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1872, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2164, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1872, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2023, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type string to null
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
sample_id string | doc_id string | source string | lang string | mode string | loss_mask_mode string | window_pages list | num_pages int64 | images list | image_root string | state_S_t dict | is_perturbed bool | perturbation_ops list | target_dsl_y_t string | ignore_loss_char_spans list | meta dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dochienet_024v9632db_w00 | 024v9632db | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2,
3
] | 5 | [
"images/024v9632db/page1.jpg",
"images/024v9632db/page2.jpg",
"images/024v9632db/page3.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|figure|><|loc|>1,323,228,624,285
<|text|><|text|>Living without food<|loc|>1,321,294,877,340
<|text|><|text|>66 You don't realize how important food is until you don't have it. 99<|loc|>1,320,343,865,392
<|text|><|text|>Stories from people who live without food in Edmonton, Alberta<|loc|>1,319,493,780,532
<|text|><|t... | [] | {
"num_blocks": 52,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_024v9632db_w01 | 024v9632db | dochienet | english | LONG_DOC | mask_formula_table | [
5,
6
] | 5 | [
"images/024v9632db/page5.jpg",
"images/024v9632db/page6.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>Real-life stories<|loc|>5,114,103,362,126
<|text|><|text|>We know many people are living with chronic hunger and poor nutrition. But what does that mean for each person? What does hunger really look like and feel like? The purpose of this project was to go beyond the statistics, beyond the st... | [] | {
"num_blocks": 41,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_03uc9l6o7j_w02 | 03uc9l6o7j | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2
] | 11 | [
"images/03uc9l6o7j/page1.jpg",
"images/03uc9l6o7j/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>Strategic Business Plan FY2020-2024 Executive Summary<|loc|>1,87,101,917,272
<|figure|><|loc|>1,0,322,1000,755
<|footer|><|loc|>1,395,811,606,947
<|header|><|text|>i Why a Utah Inland Port Authority?<|loc|>2,61,46,701,145
<|text|><|text|>This is a watershed moment for logistics in Utah. The s... | [] | {
"num_blocks": 15,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_03uc9l6o7j_w03 | 03uc9l6o7j | dochienet | english | LONG_DOC | mask_formula_table | [
3,
4
] | 11 | [
"images/03uc9l6o7j/page3.jpg",
"images/03uc9l6o7j/page4.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": " facilitate goods movement across modes(between airplanes, trains, and trucks), customs clearance, retail and e-commerce warehousing and distribution, and light manufacturing uses.",
"ends_with_punct": true
},
"M_table": {
"active": false
... | false | [] | <|text|><|text|>What makes the Utah Inland Port different and better? While the Utah Inland Port features all the key elements of other successful inland ports, it stands out in several distinct ways:<|loc|>3,109,83,882,117
<|text|><|text|>• Sustainability and Innovation: Focus on sustainable and smart logistics, devel... | [] | {
"num_blocks": 29,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_03uc9l6o7j_w04 | 03uc9l6o7j | dochienet | english | LONG_DOC | mask_formula_table | [
5,
6,
7
] | 11 | [
"images/03uc9l6o7j/page5.jpg",
"images/03uc9l6o7j/page6.jpg",
"images/03uc9l6o7j/page7.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "The Strategic Business Plan outlines the following goals, strategies, and target actions.",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|header|><|loc|>5,87,81,678,101
<|title|><|level|>2<|text|>Strategy: Promote connectivity to drive economic competitiveness<|loc|>5,85,143,779,160
<|text|><|text|>Rail Accessibility: Promote dual access rail facilities and rail infrastructure development statewide.<|loc|>5,85,182,843,200
<|text|><|text|>Roadway Connec... | [] | {
"num_blocks": 49,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_03uc9l6o7j_w05 | 03uc9l6o7j | dochienet | english | LONG_DOC | mask_formula_table | [
8,
9,
10,
11
] | 11 | [
"images/03uc9l6o7j/page8.jpg",
"images/03uc9l6o7j/page9.jpg",
"images/03uc9l6o7j/page10.jpg",
"images/03uc9l6o7j/page11.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "Sustainability Certification: Undergo performance-based certification process such as the EcoDistricts certification.",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>2<|text|>Strategy: Promote sustainable industry practices<|loc|>8,85,67,602,90
<|text|><|text|>Responsible Sourcing and Procurement: Promote responsible corporate sourcing and procurement through education on environmental impacts through emission inventories that account for impacts both upstream and... | [] | {
"num_blocks": 59,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_05yfk9mhfm_w06 | 05yfk9mhfm | dochienet | chinese | LONG_DOC | mask_formula_table | [
1,
2
] | 5 | [
"images/05yfk9mhfm/page1.jpg",
"images/05yfk9mhfm/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|header|><|text|>航空发动机Aeroengine<|loc|>1,451,65,551,98
<|header|><|text|>第39卷第2期2013年4月<|loc|>1,83,67,186,96
<|header|><|text|>Vol.39 No.2Apr. 2013<|loc|>1,841,68,918,96
<|title|><|level|>1<|text|>EJ200涡扇发动机和功质比为10.4的T800涡轴发动航空发动机动力传输系统的技术发展思考<|loc|>1,183,151,818,181
<|text|><|text|>李宏新,李国权<|loc|>1,444,206,559,222
<|t... | [] | {
"num_blocks": 38,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_05ygo9cfld_w07 | 05ygo9cfld | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2,
3
] | 6 | [
"images/05ygo9cfld/page1.jpg",
"images/05ygo9cfld/page2.jpg",
"images/05ygo9cfld/page3.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>LAW OF THE REPUBLIC OF BELARUS of December 25,2005 No 77-3<|loc|>1,362,69,777,108
<|text|><|text|>On Quarantine and Plant Protection<|loc|>1,380,118,754,141
<|title|><|level|>1<|text|>CHAPTER1GENERAL PROVISIONS<|loc|>1,414,468,685,506
<|text|><|text|>Adopted by the House of Representatives on... | [] | {
"num_blocks": 42,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_05ygo9cfld_w08 | 05ygo9cfld | dochienet | english | LONG_DOC | mask_formula_table | [
4,
5,
6
] | 6 | [
"images/05ygo9cfld/page4.jpg",
"images/05ygo9cfld/page5.jpg",
"images/05ygo9cfld/page6.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|text|><|text|>Relations in the field of quarantine and plant protection shall be regulated by this Law and other legislation acts in the field of quarantine and plant protection, international treaties of the Republic of Belarus, international legal acts that constitute the law of the Eurasian Economic Union.<|loc|>4... | [] | {
"num_blocks": 47,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_089n177x0n_w09 | 089n177x0n | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2
] | 15 | [
"images/089n177x0n/page1.jpg",
"images/089n177x0n/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>CONTENTS<|loc|>1,178,89,459,128
<|toc|><|text|>Acknowledgments ................................................iii Executive Summary ..............................................xxi Section 1 Introduction ...................................................... 1 Section 2 Mental Health of the... | [
[
1636,
1658
]
] | {
"num_blocks": 9,
"masked_blocks": 1,
"cross_page_positive": false
} |
dochienet_089n177x0n_w10 | 089n177x0n | dochienet | english | LONG_DOC | mask_formula_table | [
3,
4
] | 15 | [
"images/089n177x0n/page3.jpg",
"images/089n177x0n/page4.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "(continued)",
"ends_with_punct": false
},
"M_table": {
"active": false
}
} | false | [] | <|table|>[MASKED_TABLE_CONTENT]<|loc|>3,120,93,827,846
<|caption|><|text|>(continued)<|loc|>3,762,851,826,862
<|page_num|><|text|>340<|loc|>3,116,933,144,944
<|footer|><|text|>Mental Health, United States, 2010<|loc|>3,154,933,404,945
<|table|>[MASKED_TABLE_CONTENT]<|loc|>4,178,93,886,842
<|caption|><|text|>(continued)... | [
[
9,
31
],
[
244,
266
]
] | {
"num_blocks": 8,
"masked_blocks": 2,
"cross_page_positive": false
} |
dochienet_089n177x0n_w11 | 089n177x0n | dochienet | english | LONG_DOC | mask_formula_table | [
5,
6,
7
] | 15 | [
"images/089n177x0n/page5.jpg",
"images/089n177x0n/page6.jpg",
"images/089n177x0n/page7.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "(continued)",
"ends_with_punct": false
},
"M_table": {
"active": false
}
} | false | [] | <|table|>[MASKED_TABLE_CONTENT]<|loc|>5,119,92,827,813
<|page_num|><|text|>342<|loc|>5,116,932,144,946
<|footer|><|text|>Mental Health, United States, 2010<|loc|>5,156,933,405,947
<|title|><|level|>1<|text|>APPENDIX B:GLOSSARY<|loc|>6,176,102,502,188
<|text|><|text|>Any mental illness(AMI). Among adults aged 18 or olde... | [
[
9,
31
]
] | {
"num_blocks": 28,
"masked_blocks": 1,
"cross_page_positive": true
} |
dochienet_089n177x0n_w12 | 089n177x0n | dochienet | english | LONG_DOC | mask_formula_table | [
8,
9,
10
] | 15 | [
"images/089n177x0n/page8.jpg",
"images/089n177x0n/page9.jpg",
"images/089n177x0n/page10.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "urces. Within Federal guidelines, State governments set eligibility standards, determine optional services provided, set reimbursement rates, and administer the program. Income and",
"ends_with_punct": false
},
"M_table": {
"active": false... | false | [] | <|text|><|cont_prev|><|text|>resources are only two factors in determining eligibility, so not all persons with limited income in a State are necessarily covered by this program.<|loc|>8,175,91,511,165
<|text|><|text|>Medicare. A Federal government program that provides health insurance coverage to eligible adults aged... | [
[
7936,
7958
],
[
7993,
8015
]
] | {
"num_blocks": 35,
"masked_blocks": 2,
"cross_page_positive": true
} |
dochienet_089n177x0n_w13 | 089n177x0n | dochienet | english | LONG_DOC | mask_formula_table | [
11,
12,
13,
14,
15
] | 15 | [
"images/089n177x0n/page11.jpg",
"images/089n177x0n/page12.jpg",
"images/089n177x0n/page13.jpg",
"images/089n177x0n/page14.jpg",
"images/089n177x0n/page15.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "urces. Within Federal guidelines, State governments set eligibility standards, determine optional services provided, set reimbursement rates, and administer the program. Income and",
"ends_with_punct": false
},
"M_table": {
"active": true,... | false | [] | <|caption|><|text|>Medications for Mental Health Disorders (continued)<|loc|>11,117,90,550,107
<|table|>[MASKED_TABLE_CONTENT]<|loc|>11,119,119,826,232
<|table|>[MASKED_TABLE_CONTENT]<|loc|>11,119,253,827,474
<|table|>[MASKED_TABLE_CONTENT]<|loc|>11,120,494,825,620
<|caption|><|text|>Medications for Substance Use Disor... | [
[
104,
126
],
[
161,
183
],
[
218,
240
],
[
359,
381
],
[
496,
518
],
[
3638,
3660
]
] | {
"num_blocks": 25,
"masked_blocks": 6,
"cross_page_positive": false
} |
dochienet_09d0qmdbsr_w14 | 09d0qmdbsr | dochienet | chinese | LONG_DOC | mask_formula_table | [
1,
2
] | 5 | [
"images/09d0qmdbsr/page1.jpg",
"images/09d0qmdbsr/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>财政部关于印发《政府采购促进中小企业发展管理办法》的通知<|loc|>1,150,83,848,150
<|text|><|text|>财库〔2020〕46号<|loc|>1,416,166,583,185
<|text|><|text|>各中央预算单位办公厅(室),各省、自治区、直辖市、计划单列市财政厅(局)工业和信息化主管部门,新疆生产建设兵团财政局、工业和信息化主管部门:<|loc|>1,137,220,868,270
<|text|><|text|>为贯彻落实《关于促进中小企业健康发展的指导意见》,发挥政府采购政策功能,促进中小企业发展,根据《中华人民共和国政府采购法》《... | [] | {
"num_blocks": 29,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09d0qmdbsr_w15 | 09d0qmdbsr | dochienet | chinese | LONG_DOC | mask_formula_table | [
3,
4,
5
] | 5 | [
"images/09d0qmdbsr/page3.jpg",
"images/09d0qmdbsr/page4.jpg",
"images/09d0qmdbsr/page5.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "第七条采购限额标准以上,200万元以下的货物和服务采购项目、400万元",
"ends_with_punct": false
},
"M_table": {
"active": false
}
} | false | [] | <|text|><|text|>相关行业平均利润率、市场竞争状况等,在本办法规定的幅度内确定。<|loc|>3,141,81,855,126
<|text|><|text|>第八条超过200万元的货物和服务采购项目、超过400万元的工程采购项目中适宜由中小企业提供的,预留该部分采购项目预算总额的30%以上专门面向中小企业采购,其中预留给小微企业的比例不低于60%。预留份额通过下列措施进行:<|loc|>3,140,140,860,269
<|text|><|text|>(一)将采购项目整体或者设置采购包专门面向中小企业采购;<|loc|>3,189,278,738,297
<|text|><|text|>(二)要求供应商以联合体形式... | [] | {
"num_blocks": 36,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09mp5cd2gw_w16 | 09mp5cd2gw | dochienet | chinese | LONG_DOC | mask_formula_table | [
1,
2
] | 5 | [
"images/09mp5cd2gw/page1.jpg",
"images/09mp5cd2gw/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|header|><|text|>【更新】2021/8/1【編輯著作權者】黃婉玲<|loc|>1,595,94,905,108
<|header|><|text|>(建議使用工具列--〉檢視--〉文件引導模式/功能窗格)<|loc|>1,548,109,914,122
<|other|><|text|>中<|loc|>1,848,50,907,93
<|title|><|level|>1<|text|>《移民政策相關測驗題庫彙編》》18單元&450題<|loc|>1,211,156,771,178
<|text|><|text|>【科目】包括。a另有申論題國際法相關測驗題庫。《〈解答隱藏檔〉><|loc|>1,342,192,63... | [
[
477,
499
]
] | {
"num_blocks": 59,
"masked_blocks": 1,
"cross_page_positive": false
} |
dochienet_09vmnclgcq_w17 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2
] | 20 | [
"images/09vmnclgcq/page1.jpg",
"images/09vmnclgcq/page2.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>I. Introduction<|loc|>1,145,144,291,158
<|text|><|loc|>1,175,242,459,267
<|text|><|loc|>1,185,268,323,279
<|text|><|text|>HenryCountyiscurrentlydevelopingtheNash Farm Battlefield Park, which occupies a 204 acre tract at the Henry-Clayton County line, northeast of Lovejoy, Georgia. This decisi... | [] | {
"num_blocks": 18,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09vmnclgcq_w18 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
3,
4
] | 20 | [
"images/09vmnclgcq/page3.jpg",
"images/09vmnclgcq/page4.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "Thearchaeologicalfieldworkwasdirectedby Mr. Daniel T. Elliott. Mr. Elliott serves as President and Research Associate of the LAMAR Institute.",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|figure|><|loc|>3,182,169,829,805
<|caption|><|text|>Figure 2. Map of the Atlanta Campaign, Showing Study Area at Extreme Lower Right.<|loc|>3,176,846,782,860
<|page_num|><|text|>3<|loc|>3,508,888,518,898
<|figure|><|loc|>4,145,138,775,575
<|caption|><|text|>Figure 3. Plowed Samples Shown in Blue.<|loc|>4,175,589,464,... | [] | {
"num_blocks": 11,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09vmnclgcq_w19 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
5,
6,
7
] | 20 | [
"images/09vmnclgcq/page5.jpg",
"images/09vmnclgcq/page6.jpg",
"images/09vmnclgcq/page7.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "capturing and controlling Atlanta and he made several attempts to do just that. To do this Sherman sent two Cavalry brigades, General McCook’s and Stoneman’s, to sever the railroad",
"ends_with_punct": false
},
"M_table": {
"active": false... | false | [] | <|text|><|cont_prev|><|text|>line south of Atlanta. Their goal, as planned, was not achieved. The two Union cavalry units were to rendezvous at Lovejoy Station. McCook’s Cavalry arrived as planned and proceededtotearupportionsofthetracks. Stoneman’s Cavalry did not comply with Sherman’s orders and they never reached Lo... | [] | {
"num_blocks": 16,
"masked_blocks": 0,
"cross_page_positive": true
} |
dochienet_09vmnclgcq_w20 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
8,
9
] | 20 | [
"images/09vmnclgcq/page8.jpg",
"images/09vmnclgcq/page9.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "ne to the east. He would follow later with the stragglers... “It was the most perfect rout,” Kilpatrick wrote later, “any cavalry has sustained during the war... (Martin 1996:187).",
"ends_with_punct": true
},
"M_table": {
"active": false
... | false | [] | <|figure|><|loc|>8,180,143,756,426
<|caption|><|text|>Figure 4. Cavalry Raid(Kilpatrick Shown in Center), Harper's Weekly , 1863.<|loc|>8,175,470,714,483
<|figure|><|loc|>8,171,531,758,808
<|caption|><|text|>Figure 5. Kilpatrick's Cavalry at the Battle of Waynesboro, Georgia( Harper's Weekly 1865).<|loc|>8,175,824,824,... | [] | {
"num_blocks": 12,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09vmnclgcq_w21 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
10,
11,
12
] | 20 | [
"images/09vmnclgcq/page10.jpg",
"images/09vmnclgcq/page11.jpg",
"images/09vmnclgcq/page12.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "S Soldiers and Sailors System(2007); and the Official Record of the Rebellion(OR Volume 38);Love(1866:501-502,1023-1025);Quiner (1866:958-961); and Dyer (Volume 2, 1979:1672-1673).",
"ends_with_punct": true
},
"M_table": {
"active": false
... | false | [] | <|title|><|level|>1<|text|>ORDER OF BATTLE, AUGUST 20, 1864<|loc|>10,336,143,694,159
<|text|><|text|>Union Forces<|loc|>10,177,173,290,185
<|text|><|text|>Major General Judson Kilpatrick<|loc|>10,176,188,412,200
<|text|><|text|>Army of the Cumberland<|loc|>10,177,215,354,226
<|text|><|text|>Major General George Henry T... | [] | {
"num_blocks": 78,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_09vmnclgcq_w22 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
13,
14,
15
] | 20 | [
"images/09vmnclgcq/page13.jpg",
"images/09vmnclgcq/page14.jpg",
"images/09vmnclgcq/page15.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "On June 10 [1863] Shenandoah Valley, Kilpatrick unwittingly slaughtered the 1st",
"ends_with_punct": false
},
"M_table": {
"active": false
}
} | false | [] | <|text|><|text|>Massachusetts. He then sent the 2nd New York to the front and they rode into an ambush – more than100died.Kilpatrickwasdevastated.On July 2, as Pickett’s Charge failed, General Kilpatrick saw an opportunity to be a hero,<|loc|>13,143,125,472,192
<|text|><|text|>He ordered Farnsworth to assault the flank... | [] | {
"num_blocks": 25,
"masked_blocks": 0,
"cross_page_positive": true
} |
dochienet_09vmnclgcq_w23 | 09vmnclgcq | dochienet | english | LONG_DOC | mask_formula_table | [
16,
17,
18,
19,
20
] | 20 | [
"images/09vmnclgcq/page16.jpg",
"images/09vmnclgcq/page17.jpg",
"images/09vmnclgcq/page18.jpg",
"images/09vmnclgcq/page19.jpg",
"images/09vmnclgcq/page20.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "Figure 8. Two Views of the 4th Michigan Cavalry’s Battle Flag(Glendinning 2007).",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|figure|><|loc|>16,177,126,403,382
<|caption|><|text|>F, 4th Michigan Cavalry(civilwarmysterys.com 2007).<|loc|>16,175,399,470,439
<|figure|><|loc|>16,561,125,877,316
<|caption|><|loc|>16,560,333,787,374
<|figure|><|loc|>16,175,460,845,796
<|caption|><|text|>Figure 11. Unidentified Cavalrymen, 7th Pennsylvania Cavalry... | [] | {
"num_blocks": 45,
"masked_blocks": 0,
"cross_page_positive": false
} |
dochienet_0a51k4mj12_w24 | 0a51k4mj12 | dochienet | english | LONG_DOC | mask_formula_table | [
1,
2,
3
] | 17 | [
"images/0a51k4mj12/page1.jpg",
"images/0a51k4mj12/page2.jpg",
"images/0a51k4mj12/page3.jpg"
] | E:/WorkSpace/10-22-文档解析实验/data/DocHieNet/dochienet_dataset | {
"P_open": [],
"H_closed": [],
"T_tail": {
"tail_chars": "",
"ends_with_punct": true
},
"M_table": {
"active": false
}
} | false | [] | <|title|><|level|>1<|text|>REAL PROPERTY PURCHASE AND SALE AGREEMENT<|loc|>1,240,174,758,191
<|text|><|text|>THIS REAL PROPERTY PURCHASE AND SALE AGREEMENT(“Agreement”) is made and entered into as of the 1st day of November 2022(“Effective Date”), by and between Scott Foster of 113 Chartmaster Place, Vallejo, Californi... | [] | {
"num_blocks": 34,
"masked_blocks": 0,
"cross_page_positive": true
} |
End of preview.
Stage2 SFT — 端到端全文档解析训练集(LP3 范式)
面向端到端全文档解析的指令微调数据:给定连续 N 页页面图 + 上一窗的结构状态,输出整窗的 raw DSL(块类型 + 层级 + BBox + 跨页合并标记)。
配套代码(构建管线 + LoRA 训练脚本):私有仓库 truthstriver/doc-parse-e2e。
文件
| 文件 | 大小 | 说明 |
|---|---|---|
stage2_sft.jsonl |
141 MB | 主训练集,17,600 条(4,873 篇独立文档) |
stage2_sft_ir_trees.jsonl |
131 MB | 每条样本对应的 IR 真值树侧车(回环校验用,不喂模型) |
stage3_grpo_docs.jsonl |
6.9 MB | Stage 3 GRPO 文档池(6,000 篇,难例 60% + 常规 40%) |
ir_pool/*.jsonl |
394 MB | 统一 Document IR,16,324 篇 / 606,109 块(可重建) |
reports/*.json |
4.2 MB | 每步验收报告(转换、窗构造、回环、PubTables k 检测、指纹、域分布) |
eval_fingerprints.pkl |
1.5 MB | 1,163 条评测指纹(MinHash-128 + pHash + LSH),1.45 MB |
字段(stage2_sft.jsonl)
{
"sample_id": "dochienet_024v9632db_w00", // <source>_<doc_id>_w<窗号>
"doc_id": "024v9632db",
"source": "dochienet", // dochienet | comphrdoc | pubtables_v2 | infinity_doc_400k
"lang": "english",
"mode": "LONG_DOC", // LONG_DOC | SINGLE_PAGE(扰动样本靠 is_perturbed 区分)
"loss_mask_mode": "mask_formula_table", // full | mask_formula_table | table_only
"window_pages": [1, 2, 3], // 1-based 绝对页号
"num_pages": 5, // 文档总页数(不是窗页数)
"images": ["images/024v9632db/page1.jpg"], // 相对 image_root
"image_root": "…/data/DocHieNet/dochienet_dataset",
"state_S_t": { // 上一窗传下来的四元组结构状态
"P_open": [{"level": 2, "text": "…", "conf": 0.9}],
"H_closed": [{"level": 1, "text": "…"}],
"T_tail": {"tail_chars": "…", "ends_with_punct": true},
"M_table": {"active": false}
},
"is_perturbed": false,
"perturbation_ops": [],
"target_dsl_y_t": "<|title|><|level|>2<|text|>…<|loc|>1,120,64,878,98\n…",
"ignore_loss_char_spans": [[8, 24]], // 该区间在训练时置 -100(字符级,需 offset 对齐到 token)
"meta": {"num_blocks": 52, "masked_blocks": 0, "cross_page_positive": false}
}
目标 DSL
<|type|>[<|level|>N][<|cont_prev|>][<|merge_prev|><|drop_thead|>k][<|text|>内容]<|loc|>page,x1,y1,x2,y2
- 页号 1-based;坐标归一化到 0–1000。
merge_prev+drop_thead k表示跨页表续页及其重复表头行数(真实 PDF 里 50.9% 的续页 k=0)。[MASKED_CONTENT]是 loss 屏蔽占位符(PubTables 非表格区),对应ignore_loss_char_spans区间, 不是要模型学会的文本。
统计
| 项 | 值 |
|---|---|
| 样本 / 独立文档 | 17,600 / 4,873(1 篇 ≈ 3.6 窗) |
| 模式 | LONG_DOC 14,080(含 3,520 扰动)· SINGLE_PAGE 3,520 |
| 源构成 | Comp-HRDoc 43.3% · DocHieNet 39.9% · PubTables 9.9% · Infinity 7.0% |
| 跨页正例 | 5,331(样本层 30.3%,窗层 37.8%) |
| 前窗状态非空 | 51.2% |
| 文档页数 | p50 12 · max 47 · ≥16 页仅 30 篇(0.6%) |
| target 长度 | 字符 p50 6,313 / p90 13,022;token p50 ≈ 2,506 / p90 ≈ 4,742 |
| 图像 token | 约 1,575 / 页(1134×1440 → 1280² 上限) |
图像怎么拿(不随本数据集分发)
images 是相对路径,按 image_root 拼。四个源都来自公开数据集,请从各自官方渠道获取:
| source | 原始数据集 | 图像根(本机示例) |
|---|---|---|
dochienet |
DocHieNet | data/DocHieNet/dochienet_dataset/{images/<doc_id>/pageN.jpg} |
comphrdoc |
Comp-HRDoc(HRDoc 扩展) | data/CompHRDoc/datasets/Comp-HRDoc/… |
pubtables_v2 |
kensho/PubTables-v2(CDLA-Permissive-2.0) | data/PubTables-v2/Full Documents/train/… |
infinity_doc_400k |
infly/Infinity-Doc-400K(前 2 / 97 分片) | data/Infinity-Doc-400K/*.parquet(需先导出页面图) |
拿到后用 doc_parse_data_pipeline/configs/pipeline_config.yaml 里的 image_root 重指即可。
许可与使用限制
本数据集是加工后的标注(文本 + 结构 + 坐标),不包含原始页面图像,也不包含原文全文的再分发授权:
pubtables_v2来源:CDLA-Permissive-2.0(可商用、可再分发)。dochienet/comphrdoc/infinity_doc_400k:原始数据条款尚未逐一核实, 本数据集仅限研究用途。如需商用,请自行向原始数据方确认;如有异议请联系删除。- 训练出的模型权重将继承上述混合许可的约束,商用前必须复核。
已知限制
- 长文档覆盖极弱:≥16 页文档只有 30 篇(0.6%),而 LP3 的核心能力是跨页状态递推 —— 这批数据能训"短窗接续",训不出"50–300 页长文档"。
- **表格被刻意压到 9.9%**:全量接入时占 58%,会牺牲正文层级能力;跨页表质量高但量少。
- 无多语:只有英/中,德/法/日/西为 0。
- 文档级重复:17,600 条只对应 4,873 篇,按样本数估训练量会高估。
引用
@misc{stage2_sft_lp3_2026,
title = {Stage2 SFT for End-to-End Full-Document Parsing (LP3 paradigm)},
author = {Zhu, Shiyu},
year = {2026},
note = {Logics-Parsing-V3-style DSL, 17,600 windows over 4,873 documents}
}
- Downloads last month
- 34