Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,40 +1,55 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- ocr
|
| 4 |
-
- structured-extraction
|
| 5 |
- document-processing
|
| 6 |
-
-
|
|
|
|
| 7 |
- markdown
|
| 8 |
- uv-script
|
| 9 |
- generated
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
| 13 |
|
| 14 |
-
This dataset contains
|
|
|
|
| 15 |
|
| 16 |
## Processing Details
|
| 17 |
|
| 18 |
- **Source Dataset**: [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample)
|
| 19 |
-
- **Model**: [
|
| 20 |
-
- **Mode**: markdown
|
| 21 |
- **Number of Samples**: 50
|
| 22 |
-
- **Processing Time**:
|
| 23 |
-
- **Processing Date**: 2026-07-08 16:
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
##
|
| 34 |
|
| 35 |
-
|
| 36 |
-
-
|
| 37 |
-
- `inference_info`: JSON list tracking models applied to this dataset
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
Generated with [UV Scripts](https://huggingface.co/uv-scripts)
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- ocr
|
|
|
|
| 4 |
- document-processing
|
| 5 |
+
- unlimited-ocr
|
| 6 |
+
- baidu
|
| 7 |
- markdown
|
| 8 |
- uv-script
|
| 9 |
- generated
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Document OCR using Unlimited-OCR
|
| 13 |
|
| 14 |
+
This dataset contains OCR results for [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample)
|
| 15 |
+
produced by [baidu/Unlimited-OCR](https://huggingface.co/baidu/Unlimited-OCR) with vLLM.
|
| 16 |
|
| 17 |
## Processing Details
|
| 18 |
|
| 19 |
- **Source Dataset**: [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample)
|
| 20 |
+
- **Model**: [baidu/Unlimited-OCR](https://huggingface.co/baidu/Unlimited-OCR)
|
|
|
|
| 21 |
- **Number of Samples**: 50
|
| 22 |
+
- **Processing Time**: 6.5 min
|
| 23 |
+
- **Processing Date**: 2026-07-08 16:49 UTC
|
| 24 |
+
- **Output Column**: `markdown`
|
| 25 |
+
- **Split**: `train`
|
| 26 |
|
| 27 |
+
## Output
|
| 28 |
|
| 29 |
+
Grounding markup was stripped (`--strip-grounding`); the column holds clean text.
|
| 30 |
+
|
| 31 |
+
Tables are returned as HTML and equations as LaTeX.
|
| 32 |
+
|
| 33 |
+
## Usage
|
| 34 |
+
|
| 35 |
+
```python
|
| 36 |
+
from datasets import load_dataset
|
| 37 |
+
|
| 38 |
+
ds = load_dataset("davanstrien/ocr-bench-moh", split="train")
|
| 39 |
+
print(ds[0]["markdown"])
|
| 40 |
+
```
|
| 41 |
|
| 42 |
+
## Reproduction
|
| 43 |
|
| 44 |
+
Generated with the [uv-scripts/ocr](https://huggingface.co/datasets/uv-scripts/ocr) Unlimited-OCR
|
| 45 |
+
vLLM recipe. Unlimited-OCR needs Baidu's dedicated vLLM image:
|
|
|
|
| 46 |
|
| 47 |
+
```bash
|
| 48 |
+
hf jobs uv run --flavor l4x1 -s HF_TOKEN \
|
| 49 |
+
--image vllm/vllm-openai:unlimited-ocr --python /usr/bin/python3 \
|
| 50 |
+
-e PYTHONPATH=/usr/local/lib/python3.12/dist-packages \
|
| 51 |
+
https://huggingface.co/datasets/uv-scripts/ocr/raw/main/unlimited-ocr-vllm.py \
|
| 52 |
+
davanstrien/moh-bench-sample <output-dataset>
|
| 53 |
+
```
|
| 54 |
|
| 55 |
Generated with [UV Scripts](https://huggingface.co/uv-scripts)
|