Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
2B
dict
8B
dict
{ "text-only_R@1": 0.40166666666666667, "pure-text-only_R@1": 0.37, "text+region_R@1": 0.4066666666666667, "pure+region_R@1": 0.37166666666666665, "text+caption_R@1": 0.42, "pure+caption_R@1": 0.39166666666666666, "text+rgn+cap_R@1": 0.42, "pure+rgn+cap_R@1": 0.39, "text-only_R@5": 0.67, "pure-text-only_R@5": 0.635, "text+region_R@5": 0.6783333333333333, "pure+region_R@5": 0.6466666666666666, "text+caption_R@5": 0.6866666666666666, "pure+caption_R@5": 0.6616666666666666, "text+rgn+cap_R@5": 0.6916666666666667, "pure+rgn+cap_R@5": 0.6666666666666666, "text-only_R@10": 0.75, "pure-text-only_R@10": 0.6983333333333334, "text+region_R@10": 0.755, "pure+region_R@10": 0.715, "text+caption_R@10": 0.7716666666666666, "pure+caption_R@10": 0.725, "text+rgn+cap_R@10": 0.775, "pure+rgn+cap_R@10": 0.735, "text-only_R@20": 0.8116666666666666, "pure-text-only_R@20": 0.7633333333333333, "text+region_R@20": 0.8183333333333334, "pure+region_R@20": 0.7816666666666666, "text+caption_R@20": 0.825, "pure+caption_R@20": 0.795, "text+rgn+cap_R@20": 0.8283333333333334, "pure+rgn+cap_R@20": 0.8033333333333333, "text-only_cross_R@10": 0.7678571428571429, "pure-text-only_cross_R@10": 0.7261904761904762, "text+region_cross_R@10": 0.7678571428571429, "pure+region_cross_R@10": 0.7380952380952381, "text+caption_cross_R@10": 0.7827380952380952, "pure+caption_cross_R@10": 0.7470238095238095, "text+rgn+cap_cross_R@10": 0.7827380952380952, "pure+rgn+cap_cross_R@10": 0.7529761904761905, "text-only_text_R@10": 0.8252427184466019, "pure-text-only_text_R@10": 0.8058252427184466, "text+region_text_R@10": 0.8349514563106796, "pure+region_text_R@10": 0.8155339805825242, "text+caption_text_R@10": 0.8543689320388349, "pure+caption_text_R@10": 0.8349514563106796, "text+rgn+cap_text_R@10": 0.8543689320388349, "pure+rgn+cap_text_R@10": 0.8349514563106796, "text-only_visual_R@10": 0.6645962732919255, "pure-text-only_visual_R@10": 0.5714285714285714, "text+region_visual_R@10": 0.6770186335403726, "pure+region_visual_R@10": 0.6024844720496895, "text+caption_visual_R@10": 0.6956521739130435, "pure+caption_visual_R@10": 0.6086956521739131, "text+rgn+cap_visual_R@10": 0.7080745341614907, "pure+rgn+cap_visual_R@10": 0.6335403726708074, "tv_text-only_R@1": 0.225, "tv_pure-text-only_R@1": 0.125, "tv_text+region_R@1": 0.225, "tv_pure+region_R@1": 0.125, "tv_text+caption_R@1": 0.325, "tv_pure+caption_R@1": 0.275, "tv_text+rgn+cap_R@1": 0.325, "tv_pure+rgn+cap_R@1": 0.275, "tv_text-only_R@5": 0.4, "tv_pure-text-only_R@5": 0.225, "tv_text+region_R@5": 0.475, "tv_pure+region_R@5": 0.325, "tv_text+caption_R@5": 0.55, "tv_pure+caption_R@5": 0.45, "tv_text+rgn+cap_R@5": 0.625, "tv_pure+rgn+cap_R@5": 0.525, "tv_text-only_R@10": 0.55, "tv_pure-text-only_R@10": 0.35, "tv_text+region_R@10": 0.6, "tv_pure+region_R@10": 0.475, "tv_text+caption_R@10": 0.675, "tv_pure+caption_R@10": 0.525, "tv_text+rgn+cap_R@10": 0.725, "tv_pure+rgn+cap_R@10": 0.625, "tv_text-only_R@20": 0.625, "tv_pure-text-only_R@20": 0.425, "tv_text+region_R@20": 0.675, "tv_pure+region_R@20": 0.6, "tv_text+caption_R@20": 0.725, "tv_pure+caption_R@20": 0.625, "tv_text+rgn+cap_R@20": 0.75, "tv_pure+rgn+cap_R@20": 0.75 }
{ "text-only_R@1": 0.44333333333333336, "pure-text-only_R@1": 0.4, "text+region_R@1": 0.45166666666666666, "pure+region_R@1": 0.41, "text+caption_R@1": 0.45666666666666667, "pure+caption_R@1": 0.41333333333333333, "text+rgn+cap_R@1": 0.46, "pure+rgn+cap_R@1": 0.42, "text-only_R@5": 0.7416666666666667, "pure-text-only_R@5": 0.6866666666666666, "text+region_R@5": 0.75, "pure+region_R@5": 0.7016666666666667, "text+caption_R@5": 0.76, "pure+caption_R@5": 0.7116666666666667, "text+rgn+cap_R@5": 0.7666666666666667, "pure+rgn+cap_R@5": 0.72, "text-only_R@10": 0.7966666666666666, "pure-text-only_R@10": 0.7483333333333333, "text+region_R@10": 0.805, "pure+region_R@10": 0.7683333333333333, "text+caption_R@10": 0.8183333333333334, "pure+caption_R@10": 0.7766666666666666, "text+rgn+cap_R@10": 0.825, "pure+rgn+cap_R@10": 0.79, "text-only_R@20": 0.835, "pure-text-only_R@20": 0.7966666666666666, "text+region_R@20": 0.8433333333333334, "pure+region_R@20": 0.8183333333333334, "text+caption_R@20": 0.8566666666666667, "pure+caption_R@20": 0.8233333333333334, "text+rgn+cap_R@20": 0.8616666666666667, "pure+rgn+cap_R@20": 0.8366666666666667, "text-only_cross_R@10": 0.8244047619047619, "pure-text-only_cross_R@10": 0.7886904761904762, "text+region_cross_R@10": 0.8244047619047619, "pure+region_cross_R@10": 0.7916666666666666, "text+caption_cross_R@10": 0.8363095238095238, "pure+caption_cross_R@10": 0.8065476190476191, "text+rgn+cap_cross_R@10": 0.8363095238095238, "pure+rgn+cap_cross_R@10": 0.8065476190476191, "text-only_text_R@10": 0.8446601941747572, "pure-text-only_text_R@10": 0.8446601941747572, "text+region_text_R@10": 0.8543689320388349, "pure+region_text_R@10": 0.8543689320388349, "text+caption_text_R@10": 0.8737864077669902, "pure+caption_text_R@10": 0.8640776699029126, "text+rgn+cap_text_R@10": 0.8737864077669902, "pure+rgn+cap_text_R@10": 0.8640776699029126, "text-only_visual_R@10": 0.7080745341614907, "pure-text-only_visual_R@10": 0.6024844720496895, "text+region_visual_R@10": 0.7329192546583851, "pure+region_visual_R@10": 0.6645962732919255, "text+caption_visual_R@10": 0.7453416149068323, "pure+caption_visual_R@10": 0.6583850931677019, "text+rgn+cap_visual_R@10": 0.7701863354037267, "pure+rgn+cap_visual_R@10": 0.7080745341614907, "tv_text-only_R@1": 0.175, "tv_pure-text-only_R@1": 0.175, "tv_text+region_R@1": 0.25, "tv_pure+region_R@1": 0.225, "tv_text+caption_R@1": 0.25, "tv_pure+caption_R@1": 0.25, "tv_text+rgn+cap_R@1": 0.325, "tv_pure+rgn+cap_R@1": 0.3, "tv_text-only_R@5": 0.5, "tv_pure-text-only_R@5": 0.3, "tv_text+region_R@5": 0.6, "tv_pure+region_R@5": 0.475, "tv_text+caption_R@5": 0.625, "tv_pure+caption_R@5": 0.5, "tv_text+rgn+cap_R@5": 0.725, "tv_pure+rgn+cap_R@5": 0.625, "tv_text-only_R@10": 0.55, "tv_pure-text-only_R@10": 0.35, "tv_text+region_R@10": 0.65, "tv_pure+region_R@10": 0.6, "tv_text+caption_R@10": 0.7, "tv_pure+caption_R@10": 0.575, "tv_text+rgn+cap_R@10": 0.8, "tv_pure+rgn+cap_R@10": 0.775, "tv_text-only_R@20": 0.575, "tv_pure-text-only_R@20": 0.4, "tv_text+region_R@20": 0.675, "tv_pure+region_R@20": 0.65, "tv_text+caption_R@20": 0.75, "tv_pure+caption_R@20": 0.625, "tv_text+rgn+cap_R@20": 0.825, "tv_pure+rgn+cap_R@20": 0.825 }

SDS-KoPub OCR Results & Embeddings

OCR layout parsing results and VL embeddings for the SDS-KoPub-VDR-Benchmark corpus (40,781 Korean public document pages).

Contents

File Description Size
ocr_results.jsonl GLM-OCR structured layout results (regions, markdown, bbox, labels) 40,781 records
parsed_texts.jsonl Extracted text per page (embedding input) 40,781 records
embeddings/corpus_regions.npy Region multimodal embeddings (image+caption) (21052, 2048)
embeddings/region_metadata.jsonl Region metadata (page_id, caption, label)
embeddings/corpus_ocr_text.npy OCR text embeddings (40781, 2048)
embeddings/queries.npy Query embeddings (600, 2048)
crops.tar.gz Image/chart region crops 21,052 images

Models Used

OCR Result Format

Each line in ocr_results.jsonl:

{
  "page_id": "doc_123_page_0",
  "page_idx": 0,
  "regions": [
    {"index": 0, "label": "doc_title", "bbox_2d": [x1, y1, x2, y2], "content": "..."},
    {"index": 1, "label": "table", "bbox_2d": [...], "content": "<table>...</table>"},
    {"index": 2, "label": "image", "bbox_2d": [...], "content": null}
  ],
  "markdown": "# Title\n\n| col1 | col2 |\n...",
  "image_crops": [{"path": "crops/doc_123_page_0_crop_2.jpg", "bbox": [...], "label": "image"}]
}

Usage

import json
import numpy as np
from huggingface_hub import hf_hub_download

# Load OCR results
path = hf_hub_download("Forturne/SDS-KoPub-OCR", "ocr_results.jsonl", repo_type="dataset")
with open(path) as f:
    records = [json.loads(line) for line in f]

# Load embeddings
reg_emb = np.load(hf_hub_download("Forturne/SDS-KoPub-OCR", "embeddings/corpus_regions.npy", repo_type="dataset"))
txt_emb = np.load(hf_hub_download("Forturne/SDS-KoPub-OCR", "embeddings/corpus_ocr_text.npy", repo_type="dataset"))
q_emb = np.load(hf_hub_download("Forturne/SDS-KoPub-OCR", "embeddings/queries.npy", repo_type="dataset"))

# Retrieval: cosine similarity (embeddings are L2-normalized)
scores_text = q_emb @ txt_emb.T    # (num_queries, num_pages)
scores_region = q_emb @ reg_emb.T  # (num_queries, num_regions)

Pipeline

Generated with run_b200_pipeline.py on NVIDIA B200 (192GB).

Downloads last month
63