ocr-bench-moh / README.md
davanstrien's picture
davanstrien HF Staff
Add rednote-hilab/dots.mocr OCR results (50 samples) [dots-mocr]
cfbdc00 verified
|
Raw
History Blame
2.08 kB
metadata
tags:
  - ocr
  - document-processing
  - unlimited-ocr
  - baidu
  - markdown
  - uv-script
  - generated
dataset_info:
  config_name: dots-mocr
  features:
    - name: image
      dtype: image
    - name: b_number
      dtype: string
    - name: page_index
      dtype: int64
    - name: source_row
      dtype: int64
    - name: markdown
      dtype: string
    - name: inference_info
      dtype: string
  splits:
    - name: train
      num_bytes: 20428784
      num_examples: 50
  download_size: 20340561
  dataset_size: 20428784
configs:
  - config_name: dots-mocr
    data_files:
      - split: train
        path: dots-mocr/train-*

Document OCR using Unlimited-OCR

This dataset contains OCR results for davanstrien/moh-bench-sample produced by baidu/Unlimited-OCR with vLLM.

Processing Details

Output

Grounding markup was stripped (--strip-grounding); the column holds clean text.

Tables are returned as HTML and equations as LaTeX.

Usage

from datasets import load_dataset

ds = load_dataset("davanstrien/ocr-bench-moh", 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/moh-bench-sample <output-dataset>

Generated with UV Scripts