davanstrien HF Staff
Add rednote-hilab/dots.mocr OCR results (50 samples) [dots-mocr]
cfbdc00 verified | 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](https://huggingface.co/datasets/davanstrien/moh-bench-sample) | |
| produced by [baidu/Unlimited-OCR](https://huggingface.co/baidu/Unlimited-OCR) with vLLM. | |
| ## Processing Details | |
| - **Source Dataset**: [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample) | |
| - **Model**: [baidu/Unlimited-OCR](https://huggingface.co/baidu/Unlimited-OCR) | |
| - **Number of Samples**: 50 | |
| - **Processing Time**: 6.5 min | |
| - **Processing Date**: 2026-07-08 16:49 UTC | |
| - **Output Column**: `markdown` | |
| - **Split**: `train` | |
| ## Output | |
| Grounding markup was stripped (`--strip-grounding`); the column holds clean text. | |
| Tables are returned as HTML and equations as LaTeX. | |
| ## Usage | |
| ```python | |
| 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](https://huggingface.co/datasets/uv-scripts/ocr) Unlimited-OCR | |
| vLLM recipe. Unlimited-OCR needs Baidu's dedicated vLLM image: | |
| ```bash | |
| 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](https://huggingface.co/uv-scripts) | |