davanstrien HF Staff
Add deepseek-ai/DeepSeek-OCR-2 OCR results (5 samples) [deepseek-ocr-2]
5668f08 verified metadata
tags:
- ocr
- document-processing
- unlimited-ocr
- baidu
- markdown
- uv-script
- generated
dataset_info:
config_name: deepseek-ocr-2
features:
- name: image
dtype: image
- name: volume
dtype: int64
- name: volume_label
dtype: string
- name: leaf_number
dtype: int64
- name: page_number
dtype: string
- name: page_number_confidence
dtype: int64
- name: page_type
dtype: string
- name: width
dtype: int64
- name: height
dtype: int64
- name: ocr_text
dtype: string
- name: markdown
dtype: string
- name: inference_info
dtype: string
splits:
- name: train
num_bytes: 842012
num_examples: 5
download_size: 848264
dataset_size: 842012
configs:
- config_name: deepseek-ocr-2
data_files:
- split: train
path: deepseek-ocr-2/train-*
Document OCR using Unlimited-OCR
This dataset contains OCR results for davanstrien/encyclopaedia-britannica-1771 produced by baidu/Unlimited-OCR with vLLM.
Processing Details
- Source Dataset: davanstrien/encyclopaedia-britannica-1771
- Model: baidu/Unlimited-OCR
- Number of Samples: 5
- Processing Time: 2.5 min
- Processing Date: 2026-07-07 23:07 UTC
- Output Column:
markdown - Split:
train
Output
The column holds the model's raw layout-grounded markdown: text spans tagged <|ref|>...<|/ref|> with <|det|>...<|/det|> coordinate boxes (coords 0-1000). Strip them with re.sub(r'<\|det\|>.*?<\|/det\|>', '', t) then re.sub(r'<\|/?ref\|>', '', t).
Tables are returned as HTML and equations as LaTeX.
Usage
from datasets import load_dataset
ds = load_dataset("davanstrien/ocr-bench-smoke", split="train")
print(ds[0]["markdown"])
Reproduction
Generated with the uv-scripts/ocr Unlimited-OCR vLLM recipe. Unlimited-OCR needs Baidu's dedicated vLLM image:
hf jobs uv run --flavor l4x1 -s HF_TOKEN \
--image vllm/vllm-openai:unlimited-ocr --python /usr/bin/python3 \
-e PYTHONPATH=/usr/local/lib/python3.12/dist-packages \
https://huggingface.co/datasets/uv-scripts/ocr/raw/main/unlimited-ocr-vllm.py \
davanstrien/encyclopaedia-britannica-1771 <output-dataset>
Generated with UV Scripts