davanstrien HF Staff commited on
Commit
3abbf99
·
verified ·
1 Parent(s): 4a9381a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +33 -18
README.md CHANGED
@@ -1,40 +1,55 @@
1
  ---
2
  tags:
3
  - ocr
4
- - structured-extraction
5
  - document-processing
6
- - nuextract3
 
7
  - markdown
8
  - uv-script
9
  - generated
10
  ---
11
 
12
- # NuExtract3 on davanstrien/moh-bench-sample
13
 
14
- This dataset contains outputs from [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample) processed with [NuExtract3](https://huggingface.co/numind/NuExtract3), a 4B vision-language model for document understanding.
 
15
 
16
  ## Processing Details
17
 
18
  - **Source Dataset**: [davanstrien/moh-bench-sample](https://huggingface.co/datasets/davanstrien/moh-bench-sample)
19
- - **Model**: [numind/NuExtract3](https://huggingface.co/numind/NuExtract3)
20
- - **Mode**: markdown
21
  - **Number of Samples**: 50
22
- - **Processing Time**: 9.7 min
23
- - **Processing Date**: 2026-07-08 16:48 UTC
 
 
24
 
25
- ### Configuration
26
 
27
- - **Image Column**: `image`
28
- - **Output Column**: `markdown`
29
- - **Dataset Split**: `train`
30
- - **Temperature**: 0.2
31
- - **Thinking Mode**: disabled
 
 
 
 
 
 
 
32
 
33
- ## Dataset Structure
34
 
35
- Original columns plus:
36
- - `markdown`: NuExtract3 output (markdown)
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)