Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.7k
1.7k
page_num
int64
1
21
source_file
stringclasses
1 value
source_path
stringclasses
1 value
total_pages
int64
21
21
smoldocling_text
stringlengths
661
7.04k
inference_info
stringclasses
1 value
1
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator 80>48>435>142>· A licensee may deviate from the minimum requirements without specific AER approval if no royalty, equity, or reservoir engineering concerns are associated with the volumes being measured and the licensee is able to demonstrate that the alternative measurement equipm...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
2
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator 80>48>429>66>· The proportion factor is multiplied by the well's estimated production to determine the well's actual monthly production. 1>80>77>265>85>1.4 Single Point Measurement Uncertainty1> <text>80>91>443>142>"Single point measurement uncertainty" relates to the limits appl...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
3
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator 1>80>46>200>53>1.6.1 Example Calculation1> <text>80>60>435>77>Determination of single point measurement uncertainty for well oil (proration battery) using "root sum square" methodology:</text> <text>80>87>277>94>Individual uncertainties from historical AER research:</text> <text>80...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
4
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator 76>56>413>358> 76>365>309>373> <text>80>381>257>388>Maximum uncertainty of monthly volume = N/A</text> <text>80>392>411>411>The uncertainty of the monthly volume will vary, depending upon the number of individual measurements that are combined to yield the total monthly volume.</t...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
5
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
58>23>133>29>Alberta Energy Regulator <text>81>49>434>67>The royalty trigger point for oil is at the wellhead; thus, delivery point measurements are required at the following locations:</text> 81>75>168>83>· facility dispositions 81>91>165>99>· trucked-in receipts 81>106>156>114>· pipeline receipts 81>119>115>127>· sal...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
6
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator <text>81>49>250>56>Maximum uncertainty of monthly volume ( M )</text> <text>103>60>190>67>> 16.9 10$^{3}$ m$^{3}$/d = 5.0%</text> <text>103>71>265>78>≤ 16.9 10$^{3}$ m$^{3}$/d but > 0.50 10$^{3}$ m$^{3}$/d = 10.0%</text> <text>103>82>194>89>≤ 0.50 10$^{3}$ m$^{3}$/d = 20.0%</text>...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
7
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>30>Alberta Energy Regulator 73>48>408>188> 1>82>194>191>201>Figure 1.3 Total battery water1> <text>82>208>236>216>Maximum uncertainty of monthly volume:</text> <text>102>220>186>227>> 50 m$^{3}$/month = 5.0%</text> <text>102>231>191>238>≤ 50 m$^{3}$/month = 20.0%</text> <text>82>247>246>255>Single point meas...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
8
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
369>23>441>29>Alberta Energy Regulator 76>48>402>141> 80>151>217>157>Figure 1.4 Well oil (proration battery) <text>80>166>221>173>Single point measurement uncertainty:</text> <text>103>176>171>183>All classes = 2.0%</text> 1>80>193>253>200>Maximum uncertainty of monthly volume (M) :1> <text>103>203>217>210>Class 1 (hig...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
9
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>30>Alberta Energy Regulator <text>80>49>133>57>For figure 1.5,</text> <text>103>59>256>67>m = single point measurement uncertainty</text> 73>77>429>200> 1>80>207>221>214>Figure 1.5 Well gas (proration battery)1> <text>80>222>221>230>Single point measurement uncertainty:</text> <text>103>232>190>239>> 0.50 10$...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
10
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator <text>80>49>441>100>volume may include estimates for solution gas dissolved in the test oil volume (gas-in-solution [GIS]), which may add to the monthly uncertainty. At the highest gas production rates, it is expected that the use of estimates will be minimal or at least have a mi...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
11
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator <text>81>49>425>100>Rather than being determined by continuous measurement, monthly oil well water production volumes are estimated from well tests and corrected by the use of proration factors to result in "actual" volumes. The water rates determined during the well tests may be i...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
12
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator <text>81>49>421>79>Therefore, a stringent expectation is set for the single point measurement uncertainty. In some cases, this type of gas may be delivered to other plants for further processing or to injection facilities; thus, delivery point measurements are required at the foll...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
13
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator <text>80>49>258>56>Maximum uncertainty of monthly volume = N/A</text> <text>80>60>413>77>The uncertainty of the monthly volume will vary, depending upon the number of individual measurements that are combined to yield the total monthly volume.</text> <text>80>87>443>169>The term "d...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
14
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
369>23>441>29>Alberta Energy Regulator 75>49>436>323> 80>329>252>336>Figure 1.9 Plant inlet or total battery/group gas <text>80>344>261>351>Maximum uncertainty of monthly volume = 5.0%</text> <text>80>360>248>367>Single point measurement uncertainty = 3.0%</text> <text>80>376>441>437>Plant inlet gas or total battery/gr...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
15
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator <text>81>49>438>66>The equipment and/or procedures used to determine the measured gas volumes must be capable of meeting a 3.0 per cent single point measurement uncertainty.</text> 1>81>75>328>83>(iv) Plant inlet or total battery/group condensate (recombined)1> <text>81>92>139>100>...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
16
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>A11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
17
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
58>23>133>29>Alberta Energy Regulator <text>80>49>441>132>For all upstream oil and gas facilities such as well sites, gas plants, batteries, and compressor sites, operators may estimate fuel gas use volumes for sites with an annual average fuel gas use of 0.50 10$^{3}$ m$^{3}$/d or less. Therefore, the maximum uncertai...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
18
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator <text>80>49>434>66>and vented volumes per facility exceed 0.5 10$^{3}$ m$^{3}$/d (excluding pilot, purge, or dilution gas) must be metered.</text> <text>80>76>408>94>Effective January 1, 2020, uncombusted gas released to the atmosphere that is not fugitive emissions must be report...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
19
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator <text>80>49>435>78>Acid gas usually contains a great deal of water vapour and has other conditions associated with it, such as very low pressure that affects measurement accuracy. Therefore, the single point measurement uncertainty is set at 10.0 per cent.</text> <text>80>87>416>10...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
20
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
368>23>441>29>Alberta Energy Regulator 80>48>402>182> 80>191>230>198>Figure 1.15 Well gas (well site separation) <text>80>207>235>214>Maximum uncertainty of monthly volume:</text> <text>102>218>188>225>> 16.9 10$^{3}$ m$^{3}$/d = 5.0%</text> <text>102>229>194>236>≤ 16.9 10$^{3}$ m$^{3}$/d = 10.0%</text> <text>80>244>2...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...
21
Directive017.pdf
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
21
59>23>133>29>Alberta Energy Regulator 77>50>431>190> 82>198>250>204>Figure 1.16 Well gas (effluent proration battery) 77>213>425>339> 82>348>362>355>Figure 1.17 Well gas (southeastern Alberta or other approved proration battery) <text>82>363>267>370>Maximum uncertainty of monthly volume = 15.0%</text> <text>82>379>24...
[{"column_name": "smoldocling_text", "model_id": "ds4sd/SmolDocling-256M-preview", "processing_date": "2025-10-25T01:08:23.106860", "batch_size": 64, "max_tokens": 8192, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "output_format": "markdown", "prompt": "Convert page to Docling.", "script": "smoldocling-ocr.py...

Document Processing using SmolDocling-256M-preview

This dataset contains structured document extraction from images in stckmn/ocr-input-Directive017-1761354341 using SmolDocling.

Processing Details

Configuration

  • Image Column: image
  • Output Column: smoldocling_text
  • Output Format: markdown
  • Dataset Split: train
  • Batch Size: 64
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 8,192
  • GPU Memory Utilization: 80.0%

Model Information

SmolDocling-256M is an ultra-compact multimodal model that excels at:

  • 💻 Code Recognition - Detects and formats code blocks with proper indentation
  • 🔢 Formula Recognition - Identifies and processes mathematical expressions
  • 📊 Tables & Charts - Extracts structured data from tables and charts
  • 📐 Layout Preservation - Maintains document structure with bounding boxes
  • 🏷️ DocTags Format - Efficient minimal representation for documents
  • Fast Inference - Only 256M parameters for quick processing

Dataset Structure

The dataset contains all original columns plus:

  • smoldocling_text: The extracted markdown from each image
  • inference_info: JSON list tracking all OCR models applied to this dataset

Usage

from datasets import load_dataset
import json



# Load the dataset
dataset = load_dataset("{output_dataset_id}", split="train")

# Access the extracted content
for example in dataset:
    
    print(example['smoldocling_text'])
    
    
    break

# View all OCR models applied to this dataset
inference_info = json.loads(dataset[0]["inference_info"])
for info in inference_info:
    print(f"Column: {info['column_name']} - Model: {info['model_id']}")

Reproduction

This dataset was generated using the uv-scripts/ocr SmolDocling script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/smoldocling-ocr.py \
    stckmn/ocr-input-Directive017-1761354341 \
    <output-dataset> \
    --image-column image \
    --output-format markdown \
    --batch-size 64 \
    --max-model-len 8192 \
    --max-tokens 8192 \
    --gpu-memory-utilization 0.8

Performance

  • Processing Speed: ~0.2 images/second
  • Model Size: 256M parameters (ultra-compact)
  • GPU Configuration: vLLM with 80% GPU memory utilization

Generated with 🤖 UV Scripts

Downloads last month
20