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 | markdown stringlengths 556 2.9k | inference_info stringclasses 1
value |
|---|---|---|---|---|---|---|
1 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | - 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 equipment and/or procedures will provide measurement accur... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
2 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | - The proration factor is multiplied by the well’s estimated production to determine the well’s actual monthly production.
# 1.4 Single Point Measurement Uncertainty
“Single point measurement uncertainty” relates to the limits applicable to equipment and/or procedures used to determine a single-phase specific volume ... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
3 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | )
# Alberta Energy Regulator
## 1.6.1 Example Calculation
Determination of single point measurement uncertainty for well oil (proration battery) using “root sum square” methodology:
### Individual uncertainties from historical AER research:
For oil/emulsion measurement,
- Oil meter uncertainty = 0.5% (typical manu... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
4 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.1 Total battery/facility oil (delivery point measurement)

Maximum uncertainty of monthly volume = N/A
The uncertainty of the monthly volume will vary, depending upon the number of individual measurements that are combined to yield the total monthly volume... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
5 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
The royalty trigger point for oil is at the wellhead; thus, delivery point measurements are required at the following locations:
- facility dispositions
- trucked-in receipts
- pipeline receipts
- sales
- Lease Automatic Custody Transfer (LACT)
Excluded: Test points and group points if the... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
6 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | Alberta Energy Regulator
Maximum uncertainty of monthly volume (M)
> 16.9 10^3 m^3/d = 5.0%
≤ 16.9 10^3 m^3/d but > 0.50 10^3 m^3/d = 10.0%
≤ 0.50 10^3 m^3/d = 20.0%
Note that M is dependent upon combined deliveries, fuel, and vented gas measurement.
The maximum uncertainty of total monthly battery gas volumes allow... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
7 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.3 Total battery water
Maximum uncertainty of monthly volume:
- > 50 m³/month = 5.0%
- ≤ 50 m³/month = 20.0%
Single point measurement uncertainty = N/A
Total battery water may be determined by measurement or estimation, depending on production rates, so no basic requirement has... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
8 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.4 Well oil (proration battery)

### Single point measurement uncertainty:
- All classes = 2.0%
### Maximum uncertainty of monthly volume (M):
- Class 1 (high) > 30 m³/d = 5.0%
- Class 2 (medium) ≤ 30 m³/d but > 6 m³/d = 10.0%
- Class 3 (low) ≤ 6 m³/d but >... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
9 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## For figure 1.5,
**m = single point measurement uncertainty**

### Single point measurement uncertainty:
- > 0.50 10^3 m^3/d = 3.0%
- ≤ 0.50 10^3 m^3/d = 10.0%
### Maximum uncertainty of monthly volume (M):
- > 16.9 10^3 m^3/d = 5.0%
- ≤ 16.9 10^3 m^3/d but > 0.50 ... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
10 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | Alberta Energy Regulator
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 minor impact on the accuracy of the... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
11 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | Alberta Energy Regulator
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 inferred from determining the wat... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
12 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | 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 following locations:
- gas plant dispositions
- sales to down... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
13 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | Alberta Energy Regulator
Maximum uncertainty of monthly volume = N/A
The uncertainty of the monthly volume will vary, depending upon the number of individual measurements that are combined to yield the total monthly volume.
The term “delivery point measurement” for hydrocarbon liquids refers to the point at which th... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
14 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.9 Plant inlet or total battery/group gas
Maximum uncertainty of monthly volume = 5.0%
Single point measurement uncertainty = 3.0%
Plant inlet gas or total battery/group gas is typically unprocessed gas that may vary in composition and may contain entrained liquids. The total r... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
15 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | Alberta Energy Regulator
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.
(iv) Plant inlet or total battery/group condensate (recombined)
For figure 1.10,
m = single point measurement uncertainty
 must be metered.
Effective January 1, 2020, uncombusted gas released to the atmosphere that is not fugitive emissions must be reported as vent gas.
Sites requiring flare/vent gas metering may estimate up to 0.50 10³ m³/d. Fl... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
19 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Acid Gas
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.
When the acid gas is compressed and then... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
20 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.15 Well gas (well site separation)
Maximum uncertainty of monthly volume:
- > 16.9 10^3 m^3/d = 5.0%
- ≤ 16.9 10^3 m^3/d = 10.0%
Single point measurement uncertainty = 3.0%
If production components from gas wells are separated and continuously measured, the maximum uncertainty... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] | |
21 | Directive017.pdf | /home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf | 21 | # Alberta Energy Regulator
## Figure 1.16 Well gas (effluent proration battery)

## Figure 1.17 Well gas (southeastern Alberta or other approved proration battery)

Maximum uncertainty of monthly volume = 15.0%
Single point measurement uncertainty = 3.0%
If production co... | [{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:50:37.068880", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}] |
Document OCR using LightOnOCR-0.9B-32k-1025
This dataset contains OCR results from images in stckmn/ocr-input-Directive017-1761353279 using LightOnOCR, a fast and compact 1B OCR model.
Processing Details
- Source Dataset: stckmn/ocr-input-Directive017-1761353279
- Model: lightonai/LightOnOCR-0.9B-32k-1025
- Vocabulary Size: 32k tokens
- Number of Samples: 21
- Processing Time: 1.2 min
- Processing Date: 2025-10-25 00:50 UTC
Configuration
- Image Column:
image - Output Column:
markdown - Dataset Split:
train - Batch Size: 32
- Target Image Size: 1288px (longest dimension)
- Max Model Length: 8,192 tokens
- Max Output Tokens: 6,500
- Temperature: 0.2
- Top P: 0.9
- GPU Memory Utilization: 80.0%
Model Information
LightOnOCR is a fast, compact OCR model that excels at:
- ⚡ Production Speed - 5.71 pages/second on H100 GPU
- 🎯 Compact Size - Only 1B parameters
- 📐 LaTeX formulas - Mathematical notation in LaTeX format
- 📊 Tables - Extracted and formatted as markdown
- 📝 Document structure - Hierarchy and layout preservation
- 🌍 Multilingual - Optimized for European languages
- 🔤 Flexible vocabulary - 151k/32k/16k token variants
Vocabulary Variants
- 151k tokens: Full vocabulary, supports all languages
- 32k tokens: European languages optimized (~12% faster decoding)
- 16k tokens: European languages optimized (~12% faster decoding)
Dataset Structure
The dataset contains all original columns plus:
markdown: The extracted text in markdown format with LaTeX formulasinference_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 markdown text
for example in dataset:
print(example["markdown"])
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 LightOnOCR script:
uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/lighton-ocr.py \
stckmn/ocr-input-Directive017-1761353279 \
<output-dataset> \
--vocab-size 32k \
--image-column image \
--batch-size 32
Performance
- Processing Speed: ~0.29 images/second
- Benchmark Score: 76.1% overall (across diverse document types)
- Optimization: Native resolution ViT + lightweight decoder
Generated with 🤖 UV Scripts
- Downloads last month
- 10