Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html>
<h"... is not valid JSON
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Document Processing using SmolDocling-256M-preview
This dataset contains structured document extraction from images in stckmn/ocr-input-Directive017-1761354341 using SmolDocling.
Processing Details
- Source Dataset: stckmn/ocr-input-Directive017-1761354341
- Model: ds4sd/SmolDocling-256M-preview
- Number of Samples: 21
- Processing Time: 1.7 minutes
- Processing Date: 2025-10-25 01:08 UTC
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 imageinference_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
- 15