albertklorer commited on
Commit
a2fd26a
·
verified ·
1 Parent(s): a7baacc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +11 -29
README.md CHANGED
@@ -13,23 +13,6 @@ tags:
13
  - prime-environments
14
  size_categories:
15
  - n<1K
16
- configs:
17
- - config_name: default
18
- data_files:
19
- - split: test
20
- path: data/test-*
21
- dataset_info:
22
- features:
23
- - name: images
24
- list: image
25
- - name: output
26
- dtype: string
27
- splits:
28
- - name: test
29
- num_bytes: 699664919
30
- num_examples: 420
31
- download_size: 649638911
32
- dataset_size: 699664919
33
  ---
34
 
35
  # MPDocBench-Parse for RLVR (images → gold Markdown)
@@ -38,9 +21,8 @@ A Hugging Face repackage of **MPDocBench-Parse** (*Benchmarking Practical
38
  Multi-page Document Parsing*, arXiv:2605.22100; USTC + Tongyi Lab, Alibaba),
39
  built for RL training/evaluation with Prime Intellect Environments (`verifiers`).
40
 
41
- - **Input**: `images` — the ordered page images of one document, plus
42
- `prompt_text` — the parsing instruction.
43
- - **Output**: `gold_markdown` — the benchmark ground truth reconstructed into
44
  the single Markdown string the official evaluator expects a parser to
45
  produce: reading order across pages, `#` heading levels from the
46
  parent/son heading tree, HTML `<table>` tables, LaTeX display formulas
@@ -54,32 +36,32 @@ built for RL training/evaluation with Prime Intellect Environments (`verifiers`)
54
 
55
  ## Split
56
 
57
- A single `test` split with all 409 documents. MPDocBench-Parse is a
58
- benchmark and has no official train split.
 
 
59
 
60
  ## Columns
61
 
62
- `doc_id`, `data_source` (15 document types), `language` (`english`/`chinese`),
63
- `num_pages`, `images` (list of page images), `prompt_text`, `gold_markdown`,
64
- and gold element counts `n_tables` / `n_figures` / `n_formulas` / `n_headings`
65
- / `gold_chars` for curriculum filtering.
66
 
67
  ## Use with Prime Environments
68
 
69
  ```python
70
  from datasets import load_dataset
71
  ds = load_dataset("albertklorer/mpdocbench")
72
- print(ds["test"][0]["gold_markdown"][:500])
73
  ```
74
 
75
  The companion environment `environments/mpdocbench_parse/` maps rows to a
76
  multimodal `verifiers` prompt (one `image_url` part per page) with
77
- `answer=gold_markdown` and a composite reward approximating the benchmark's
78
  8 tasks (text NED, table, formula, figure F1, heading hierarchy).
79
 
80
  ## Validation of the gold reconstruction
81
 
82
- Feeding `gold_markdown` back as a "prediction" to the official upstream
83
  evaluator (15 documents, one per document type; CDM skipped — no LaTeX
84
  rendering stack): FigureF1 1.000, table TEDS 1.000, merged-table TEDS
85
  1.000, merged-text edit distance 0.000, text edit distance (whole) 0.003,
 
13
  - prime-environments
14
  size_categories:
15
  - n<1K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
 
18
  # MPDocBench-Parse for RLVR (images → gold Markdown)
 
21
  Multi-page Document Parsing*, arXiv:2605.22100; USTC + Tongyi Lab, Alibaba),
22
  built for RL training/evaluation with Prime Intellect Environments (`verifiers`).
23
 
24
+ - **Input**: `images` — the ordered page images of one document.
25
+ - **Output**: `output` — the benchmark ground truth reconstructed into
 
26
  the single Markdown string the official evaluator expects a parser to
27
  produce: reading order across pages, `#` heading levels from the
28
  parent/son heading tree, HTML `<table>` tables, LaTeX display formulas
 
36
 
37
  ## Split
38
 
39
+ A single `test` split with all 420 documents. MPDocBench-Parse is a
40
+ benchmark and has no official train split. Page images for the 11
41
+ `pptSlides` documents come from the gated `NTT-hil-insight/SlideVQA`
42
+ dataset, per upstream's `tools/download_data_from_slidevqa.py`.
43
 
44
  ## Columns
45
 
46
+ Exactly two: `images` (list of page images, in order) and `output`
47
+ (the gold Markdown string).
 
 
48
 
49
  ## Use with Prime Environments
50
 
51
  ```python
52
  from datasets import load_dataset
53
  ds = load_dataset("albertklorer/mpdocbench")
54
+ print(ds["test"][0]["output"][:500])
55
  ```
56
 
57
  The companion environment `environments/mpdocbench_parse/` maps rows to a
58
  multimodal `verifiers` prompt (one `image_url` part per page) with
59
+ `answer=output` and a composite reward approximating the benchmark's
60
  8 tasks (text NED, table, formula, figure F1, heading hierarchy).
61
 
62
  ## Validation of the gold reconstruction
63
 
64
+ Feeding `output` back as a "prediction" to the official upstream
65
  evaluator (15 documents, one per document type; CDM skipped — no LaTeX
66
  rendering stack): FigureF1 1.000, table TEDS 1.000, merged-table TEDS
67
  1.000, merged-text edit distance 0.000, text edit distance (whole) 0.003,