Dataset Viewer
Auto-converted to Parquet Duplicate
page_id
string
path
string
image_path
string
annotation_path
string
image_width
int64
image_height
int64
block_count
int64
annotation_version
string
source_url
string
0001
pages/0001
pages/0001/image.jpg
pages/0001/annotation.json
1,700
2,201
38
GT v5
https://image-url-2-feat…fw8imy_page3.jpg
0002
pages/0002
pages/0002/image.webp
pages/0002/annotation.json
440
630
19
GT v5
https://image-url-2-feat…ed_06/10004.webp
0003
pages/0003
pages/0003/image.jpg
pages/0003/annotation.json
540
720
16
GT v5
https://image-url-2-feat…0134c8__img3.jpg
0004
pages/0004
pages/0004/image.jpg
pages/0004/annotation.json
540
361
3
GT v5
https://image-url-2-feat…01353a__img1.jpg
0005
pages/0005
pages/0005/image.jpg
pages/0005/annotation.json
540
386
3
GT v5
https://image-url-2-feat…011cb1__img2.jpg
0006
pages/0006
pages/0006/image.webp
pages/0006/annotation.json
440
623
10
GT v5
https://image-url-2-feat…ed_06/10014.webp
0007
pages/0007
pages/0007/image.jpg
pages/0007/annotation.json
540
720
4
GT v5
https://image-url-2-feat…03c7d8__img6.jpg
0008
pages/0008
pages/0008/image.jpg
pages/0008/annotation.json
540
304
2
GT v5
https://image-url-2-feat…00596e__img3.jpg
0009
pages/0009
pages/0009/image.jpg
pages/0009/annotation.json
540
496
3
GT v5
https://image-url-2-feat…038153__img4.jpg
0010
pages/0010
pages/0010/image.jpg
pages/0010/annotation.json
540
720
5
GT v5
https://image-url-2-feat…001d94__img8.jpg
0011
pages/0011
pages/0011/image.jpg
pages/0011/annotation.json
540
720
30
GT v5
https://image-url-2-feat…00c165__img1.jpg
0012
pages/0012
pages/0012/image.webp
pages/0012/annotation.json
440
622
23
GT v5
https://image-url-2-feat…ed_06/10016.webp
0013
pages/0013
pages/0013/image.jpg
pages/0013/annotation.json
540
720
20
GT v5
https://image-url-2-feat…017a89__img8.jpg
0014
pages/0014
pages/0014/image.jpg
pages/0014/annotation.json
540
720
3
GT v5
https://image-url-2-feat…034d8__img10.jpg
0015
pages/0015
pages/0015/image.jpg
pages/0015/annotation.json
540
720
13
GT v5
https://image-url-2-feat…01269e__img3.jpg
0016
pages/0016
pages/0016/image.jpg
pages/0016/annotation.json
540
720
12
GT v5
https://image-url-2-feat…00c1c4__img5.jpg
0017
pages/0017
pages/0017/image.jpg
pages/0017/annotation.json
540
720
7
GT v5
https://image-url-2-feat…0001b3__img2.jpg
0018
pages/0018
pages/0018/image.jpg
pages/0018/annotation.json
540
720
19
GT v5
https://image-url-2-feat…009605__img1.jpg
0019
pages/0019
pages/0019/image.jpg
pages/0019/annotation.json
540
720
15
GT v5
https://image-url-2-feat…00110e__img7.jpg
0020
pages/0020
pages/0020/image.jpg
pages/0020/annotation.json
540
720
28
GT v5
https://image-url-2-feat…0021da__img7.jpg
0021
pages/0021
pages/0021/image.jpg
pages/0021/annotation.json
540
720
12
GT v5
https://image-url-2-feat…001290__img0.jpg
0022
pages/0022
pages/0022/image.jpg
pages/0022/annotation.json
540
720
15
GT v5
https://image-url-2-feat…033a29__img6.jpg
0023
pages/0023
pages/0023/image.jpg
pages/0023/annotation.json
540
722
7
GT v5
https://image-url-2-feat…03bce4__img2.jpg
0024
pages/0024
pages/0024/image.jpg
pages/0024/annotation.json
1,266
2,011
78
GT v5
https://image-url-2-feat…ted_06/10032.jpg
0025
pages/0025
pages/0025/image.jpg
pages/0025/annotation.json
540
720
10
GT v5
https://image-url-2-feat…00398b__img3.jpg
0026
pages/0026
pages/0026/image.jpg
pages/0026/annotation.json
540
720
10
GT v5
https://image-url-2-feat…00a4d1__img6.jpg
0027
pages/0027
pages/0027/image.jpg
pages/0027/annotation.json
540
720
30
GT v5
https://image-url-2-feat…03c5b7__img6.jpg
0028
pages/0028
pages/0028/image.jpg
pages/0028/annotation.json
540
720
18
GT v5
https://image-url-2-feat…002fe0__img4.jpg
0029
pages/0029
pages/0029/image.jpg
pages/0029/annotation.json
1,266
2,011
80
GT v5
https://image-url-2-feat…ted_06/10073.jpg
0030
pages/0030
pages/0030/image.jpg
pages/0030/annotation.json
540
720
17
GT v5
https://image-url-2-feat…00352c__img2.jpg
0031
pages/0031
pages/0031/image.jpg
pages/0031/annotation.json
540
720
16
GT v5
https://image-url-2-feat…0131d3__img9.jpg
0032
pages/0032
pages/0032/image.jpg
pages/0032/annotation.json
540
765
5
GT v5
https://image-url-2-feat…010267__img0.jpg
0033
pages/0033
pages/0033/image.jpg
pages/0033/annotation.json
540
720
11
GT v5
https://image-url-2-feat…03e902__img6.jpg
0034
pages/0034
pages/0034/image.jpg
pages/0034/annotation.json
540
382
18
GT v5
https://image-url-2-feat…03d3d1__img1.jpg
0035
pages/0035
pages/0035/image.jpg
pages/0035/annotation.json
1,266
2,011
78
GT v5
https://image-url-2-feat…ted_06/10129.jpg
0036
pages/0036
pages/0036/image.jpg
pages/0036/annotation.json
540
1,858
27
GT v5
https://image-url-2-feat…036c9e__img5.jpg
0037
pages/0037
pages/0037/image.jpg
pages/0037/annotation.json
540
540
17
GT v5
https://image-url-2-feat…012429__img5.jpg
0038
pages/0038
pages/0038/image.jpg
pages/0038/annotation.json
540
405
2
GT v5
https://image-url-2-feat…024c66__img2.jpg
0039
pages/0039
pages/0039/image.jpg
pages/0039/annotation.json
540
405
29
GT v5
https://image-url-2-feat…038549__img5.jpg
0040
pages/0040
pages/0040/image.jpg
pages/0040/annotation.json
540
720
11
GT v5
https://image-url-2-feat…00d5c7__img3.jpg
0041
pages/0041
pages/0041/image.jpg
pages/0041/annotation.json
540
763
28
GT v5
https://image-url-2-feat…035314__img2.jpg
0042
pages/0042
pages/0042/image.jpg
pages/0042/annotation.json
1,266
2,011
88
GT v5
https://image-url-2-feat…ted_06/10209.jpg
0043
pages/0043
pages/0043/image.jpg
pages/0043/annotation.json
540
720
9
GT v5
https://image-url-2-feat…010100__img2.jpg
0044
pages/0044
pages/0044/image.jpg
pages/0044/annotation.json
540
909
22
GT v5
https://image-url-2-feat…028e65__img5.jpg
0045
pages/0045
pages/0045/image.jpg
pages/0045/annotation.json
540
738
25
GT v5
https://image-url-2-feat…01b315__img2.jpg
0046
pages/0046
pages/0046/image.jpg
pages/0046/annotation.json
540
964
1
GT v5
https://image-url-2-feat…00dc1b__img2.jpg
0047
pages/0047
pages/0047/image.jpg
pages/0047/annotation.json
540
764
16
GT v5
https://image-url-2-feat…01894c__img9.jpg
0048
pages/0048
pages/0048/image.jpg
pages/0048/annotation.json
1,266
2,011
50
GT v5
https://image-url-2-feat…ted_06/10296.jpg
0049
pages/0049
pages/0049/image.jpg
pages/0049/annotation.json
540
1,141
3
GT v5
https://image-url-2-feat…018c8c__img1.jpg
0050
pages/0050
pages/0050/image.jpg
pages/0050/annotation.json
540
960
5
GT v5
https://image-url-2-feat…00da68__img2.jpg
0051
pages/0051
pages/0051/image.jpg
pages/0051/annotation.json
540
720
7
GT v5
https://image-url-2-feat…029bce__img2.jpg
0052
pages/0052
pages/0052/image.jpg
pages/0052/annotation.json
540
720
8
GT v5
https://image-url-2-feat…01925a__img1.jpg
0053
pages/0053
pages/0053/image.jpg
pages/0053/annotation.json
540
720
15
GT v5
https://image-url-2-feat…03d007__img2.jpg
0054
pages/0054
pages/0054/image.jpg
pages/0054/annotation.json
1,700
2,200
12
GT v5
https://image-url-2-feat…ec21e6_page2.jpg
0055
pages/0055
pages/0055/image.png
pages/0055/annotation.json
1,653
2,159
23
GT v5
https://image-url-2-feat…961-11_page5.png
0056
pages/0056
pages/0056/image.jpg
pages/0056/annotation.json
2,667
1,500
6
GT v5
https://image-url-2-feat…t_0029_page9.jpg
0057
pages/0057
pages/0057/image.jpg
pages/0057/annotation.json
1,700
2,200
6
GT v5
https://image-url-2-feat…_0071_page40.jpg
0058
pages/0058
pages/0058/image.jpg
pages/0058/annotation.json
1,700
2,201
37
GT v5
https://image-url-2-feat…fw8imy_page5.jpg
0059
pages/0059
pages/0059/image.jpg
pages/0059/annotation.json
1,266
2,011
81
GT v5
https://image-url-2-feat…ted_06/10439.jpg
0060
pages/0060
pages/0060/image.jpg
pages/0060/annotation.json
1,650
2,150
9
GT v5
https://image-url-2-feat…0086_page112.jpg
0061
pages/0061
pages/0061/image.png
pages/0061/annotation.json
1,736
2,440
16
GT v5
https://image-url-2-feat…35-07_page36.png
0062
pages/0062
pages/0062/image.png
pages/0062/annotation.json
1,784
2,432
20
GT v5
https://image-url-2-feat…935-07_page5.png
0063
pages/0063
pages/0063/image.png
pages/0063/annotation.json
1,667
2,204
11
GT v5
https://image-url-2-feat…-09-10_page3.png
0064
pages/0064
pages/0064/image.jpg
pages/0064/annotation.json
1,696
2,197
18
GT v5
https://image-url-2-feat…Report_page2.jpg
0065
pages/0065
pages/0065/image.jpg
pages/0065/annotation.json
1,440
1,600
44
GT v5
https://image-url-2-feat…ation_000060.jpg
0066
pages/0066
pages/0066/image.png
pages/0066/annotation.json
1,428
1,889
14
GT v5
https://image-url-2-feat…89_09_page10.png
0067
pages/0067
pages/0067/image.jpg
pages/0067/annotation.json
1,440
1,600
97
GT v5
https://image-url-2-feat…ation_000017.jpg
0068
pages/0068
pages/0068/image.png
pages/0068/annotation.json
4,903
6,320
6
GT v5
https://image-url-2-feat…9no.35_page2.png
0069
pages/0069
pages/0069/image.png
pages/0069/annotation.json
1,654
2,339
20
GT v5
https://image-url-2-feat…t_CN_page139.png
0070
pages/0070
pages/0070/image.png
pages/0070/annotation.json
1,654
2,339
11
GT v5
https://image-url-2-feat…rt_CN_page28.png
0071
pages/0071
pages/0071/image.jpg
pages/0071/annotation.json
1,650
2,150
13
GT v5
https://image-url-2-feat…0056_page109.jpg
0072
pages/0072
pages/0072/image.png
pages/0072/annotation.json
3,307
2,244
16
GT v5
https://image-url-2-feat…rt_CN_page57.png
0073
pages/0073
pages/0073/image.png
pages/0073/annotation.json
3,307
2,244
6
GT v5
https://image-url-2-feat…rt_CN_page76.png
0074
pages/0074
pages/0074/image.png
pages/0074/annotation.json
1,654
2,154
16
GT v5
https://image-url-2-feat…977-05_page6.png
0075
pages/0075
pages/0075/image.png
pages/0075/annotation.json
1,654
2,339
16
GT v5
https://image-url-2-feat…rt_CN_page21.png
0076
pages/0076
pages/0076/image.png
pages/0076/annotation.json
1,699
2,215
14
GT v5
https://image-url-2-feat…d_055_page16.png
0077
pages/0077
pages/0077/image.png
pages/0077/annotation.json
1,706
2,216
9
GT v5
https://image-url-2-feat…d_055_page38.png
0078
pages/0078
pages/0078/image.png
pages/0078/annotation.json
1,664
2,187
12
GT v5
https://image-url-2-feat…66-08_page14.png
0079
pages/0079
pages/0079/image.png
pages/0079/annotation.json
1,800
2,317
18
GT v5
https://image-url-2-feat…06-22_page34.png
0080
pages/0080
pages/0080/image.png
pages/0080/annotation.json
1,406
2,069
14
GT v5
https://image-url-2-feat…4-1909_page5.png
0081
pages/0081
pages/0081/image.jpg
pages/0081/annotation.json
2,200
1,700
5
GT v5
https://image-url-2-feat…46d84e_page2.jpg
0082
pages/0082
pages/0082/image.jpg
pages/0082/annotation.json
1,024
768
10
GT v5
https://image-url-2-feat…2_95_page_12.jpg
0083
pages/0083
pages/0083/image.webp
pages/0083/annotation.json
1,080
1,439
8
GT v5
https://image-url-2-feat…_fw1200webp.webp
0084
pages/0084
pages/0084/image.jpg
pages/0084/annotation.json
850
1,100
12
GT v5
https://image-url-2-feat…2605.16428v1.jpg
0085
pages/0085
pages/0085/image.jpg
pages/0085/annotation.json
1,024
768
3
GT v5
https://image-url-2-feat…2_95_page_06.jpg
0086
pages/0086
pages/0086/image.jpg
pages/0086/annotation.json
1,024
576
5
GT v5
https://image-url-2-feat…1_95_page_14.jpg
0087
pages/0087
pages/0087/image.jpg
pages/0087/annotation.json
1,262
1,792
50
GT v5
https://image-url-2-feat…109_04_p0004.jpg
0088
pages/0088
pages/0088/image.jpg
pages/0088/annotation.json
1,262
1,792
52
GT v5
https://image-url-2-feat…111_02_p0002.jpg
0089
pages/0089
pages/0089/image.png
pages/0089/annotation.json
1,530
1,980
9
GT v5
https://image-url-2-feat…eering_p0004.png
0090
pages/0090
pages/0090/image.png
pages/0090/annotation.json
1,530
1,980
32
GT v5
https://image-url-2-feat…eering_p0068.png
0091
pages/0091
pages/0091/image.png
pages/0091/annotation.json
1,531
1,981
10
GT v5
https://image-url-2-feat…posals_p0032.png
0092
pages/0092
pages/0092/image.jpg
pages/0092/annotation.json
1,071
1,600
8
GT v5
https://image-url-2-feat…people_p0001.jpg
0093
pages/0093
pages/0093/image.png
pages/0093/annotation.json
1,530
1,980
13
GT v5
https://image-url-2-feat…diffeq_p0007.png
0094
pages/0094
pages/0094/image.jpg
pages/0094/annotation.json
540
709
19
GT v5
https://image-url-2-feat…0065f9__img2.jpg
0095
pages/0095
pages/0095/image.jpg
pages/0095/annotation.json
540
720
19
GT v5
https://image-url-2-feat…009c19__img6.jpg
0096
pages/0096
pages/0096/image.jpg
pages/0096/annotation.json
540
720
42
GT v5
https://image-url-2-feat…039b66__img4.jpg
0097
pages/0097
pages/0097/image.jpg
pages/0097/annotation.json
540
405
8
GT v5
https://image-url-2-feat…03b5ac__img1.jpg
0098
pages/0098
pages/0098/image.jpg
pages/0098/annotation.json
540
719
3
GT v5
https://image-url-2-feat…02c147__img3.jpg
0099
pages/0099
pages/0099/image.jpg
pages/0099/annotation.json
540
720
23
GT v5
https://image-url-2-feat…0360e1__img8.jpg
0100
pages/0100
pages/0100/image.jpg
pages/0100/annotation.json
540
720
25
GT v5
https://image-url-2-feat…02bf45__img0.jpg
End of preview. Expand in Data Studio

AmbiHTMLBench

Reconstruct document page images as executable HTML.

Code | Browse pages | Download ZIP

AmbiHTMLBench evaluates content, structure, and visual fidelity in image-to-HTML reconstruction. The benchmark covers institutional PDF documents, web-native documentation, newspapers and magazines, and posters or design-heavy pages.

What is included

Material This release
Reference page images 1,115
Annotated blocks 28,939
Annotation version GT v5
Evaluation split test

Each page has an original image and a complete block-annotation JSON file. Images retain their original bytes, resolution and format. The test split is for evaluation; it is not a training split. This package contains reference materials, not model predictions or judge records.

Download and use

Download the complete ZIP and extract it, or fetch the repository:

from huggingface_hub import snapshot_download

snapshot_download(repo_id="Theseus-Lab/AmbiHTMLBench", repo_type="dataset",
                  local_dir="AmbiHTMLBench", ignore_patterns=["archives/*"])

Read a page from the downloaded directory:

import json
from pathlib import Path
from PIL import Image

root = Path("AmbiHTMLBench")
rows = [json.loads(line) for line in (root / "index/pages.jsonl").read_text(encoding="utf-8").splitlines()]
page = rows[0]
image = Image.open(root / page["image_path"])
annotation = json.loads((root / page["annotation_path"]).read_text(encoding="utf-8"))

For the lightweight index only:

from datasets import load_dataset

pages = load_dataset("Theseus-Lab/AmbiHTMLBench", "pages", split="test")

The viewer contains one metadata row per page. Full images and annotations are in the linked page directories; loading the index does not download them. Use a fixed Hub commit revision when reproducing an experiment.

Dataset structure

README.md
release.json
manifest.json
SHA256SUMS
index/pages.jsonl
pages/0001/image.<original-format>
pages/0001/annotation.json
...
annotations/AmbiHTMLBench_GT_v5_1115.json
archives/AmbiHTMLBench.zip

Index rows contain page_id, path, image_path, annotation_path, image_width, image_height, block_count, annotation_version, and source_url. All file paths are relative to the dataset repository root.

Each annotation.json preserves the original page's ID, imageUrl, and contentList. Blocks contain semantic labels in name, text/table/formula content in remark, and pixel coordinates in left, top, width, height where present. Optional fields and Unicode text are retained. The aggregate GT file is an exact source copy for full releases and contains selected pages only for previews. Original imageUrl values remain provenance; use image_path for local images.

SHA256SUMS covers expanded files and the ZIP, excluding itself. manifest.json records source and image identities and expanded-file digests, excluding itself and the ZIP. The ZIP contains the expanded release and manifest, without the outer ZIP or SHA256SUMS.

Evaluation

Install and follow the evaluation code. Use the aggregate GT JSON and separately generated HTML predictions to measure table, text and layout fidelity. For offline reference visualizations, resolve each page's local image through the index. This GT v5 release is separate from the frozen OLS5 subjective experiment's input snapshot.

Materials and intended use

Reference pages include diverse layouts and multilingual text. Source URLs are retained per page; the downloaded images remain usable if those URLs expire. The public annotations are evaluation references and should not be supplied as inputs to models being evaluated. Exposure or training contamination can affect comparisons.

Licensing and citation

Dataset content and presentation figures are CC BY 4.0. Executable code and environment/configuration files are Apache-2.0.

Downloads last month
38