TheAwaken1/LightOnOCR-2-1B-Pinokio

State-of-the-art 1B OCR model - Local version of HuggingFace demo. Created by Claude Code, orchestrated by TheAwakenOne619.

33

stars

18

commits

Python

primary language

Feb 10, 2026

updated

pinokio

README

LightOnOCR-2-1B Demo - Local Version

A local version of LightOnOCR-2-1B-Demo

Created by Claude Code | Orchestrated by TheAwakenOne

Overview

LightOnOCR-2-1B is a 1B-parameter end-to-end multilingual vision-language model that converts document images (PDFs) into clean, naturally ordered text without brittle OCR pipelines.

Based on the paper: LightOnOCR: A 1B End-to-End Multilingual Vision-Language Model for State-of-the-Art OCR

Key Capabilities

  • State-of-the-art OCR: 83.2% on OlmOCR-Bench
  • 9x smaller and faster than prior best-performing models
  • Complex layout handling: Tables, forms, receipts, scientific notation
  • Bounding box detection: Localize embedded images (bbox variants)
  • LaTeX math transcription: KaTeX compatible
  • Scanned document support: Robust to noise and degradation
  • Multilingual: European languages and Latin scripts
  • Max resolution: 1540px (longest edge)
  • Throughput: 5.71 pages/sec on H100

Model Variants

ModelDescriptionUse Case
LightOnOCR-2-1BBest OCR performance (83.2%)General document extraction
LightOnOCR-2-1B-bboxBest bounding box detectionImage localization
LightOnOCR-2-1B-baseSupervised baseline (81.8%)Fine-tuning base
LightOnOCR-2-1B-bbox-baseBase bbox modelBbox fine-tuning
LightOnOCR-2-1B-ocr-soupTask-arithmetic merged (82.4%)Alternative OCR
LightOnOCR-2-1B-bbox-soupOCR-bbox trade-offBalanced performance

How to Use

  1. Install Pinokio
  2. Search for "LightOnOCR-2-1B-Pinokio" or download this repository
  3. Click "Install" to set up dependencies
  4. Click "Start" to launch the app
  5. Open the Web UI and upload an image or PDF

System Requirements

  • GPU: NVIDIA GPU with 4GB+ VRAM (recommended) or Apple Silicon Mac
  • RAM: 8GB+ system memory
  • Storage: ~5GB for model weights
  • Python: 3.10+

Performance Benchmarks

OlmOCR-Bench Results

ModelSizeArXivTablesMathOverall
LightOnOCR-2-1B1B89.642.289.083.2
Chandra-9B9B82.250.488.081.7
olmOCR-2-8B8B82.948.384.380.4

Inference Throughput (H100)

ModelPages/secSpeedup
LightOnOCR-2-1B5.716.49x
olmOCR-2-8B3.283.73x
Chandra-9B1.701.93x

License

Model weights: Apache 2.0


A local version of lightonai/LightOnOCR-2-1B-Demo

Created by Claude Code | Orchestrated by TheAwakenOne

Contributors

TheAwaken1

17 commits

ThomasEricB

1 commits

TheAwaken1/LightOnOCR-2-1B-Pinokio

State-of-the-art 1B OCR model - Local version of HuggingFace demo. Created by Claude Code, orchestrated by TheAwakenOne619.

33

stars

18

commits

Python

primary language

Feb 10, 2026

updated

pinokio

README

LightOnOCR-2-1B Demo - Local Version

A local version of LightOnOCR-2-1B-Demo

Created by Claude Code | Orchestrated by TheAwakenOne

Overview

LightOnOCR-2-1B is a 1B-parameter end-to-end multilingual vision-language model that converts document images (PDFs) into clean, naturally ordered text without brittle OCR pipelines.

Based on the paper: LightOnOCR: A 1B End-to-End Multilingual Vision-Language Model for State-of-the-Art OCR

Key Capabilities

  • State-of-the-art OCR: 83.2% on OlmOCR-Bench
  • 9x smaller and faster than prior best-performing models
  • Complex layout handling: Tables, forms, receipts, scientific notation
  • Bounding box detection: Localize embedded images (bbox variants)
  • LaTeX math transcription: KaTeX compatible
  • Scanned document support: Robust to noise and degradation
  • Multilingual: European languages and Latin scripts
  • Max resolution: 1540px (longest edge)
  • Throughput: 5.71 pages/sec on H100

Model Variants

ModelDescriptionUse Case
LightOnOCR-2-1BBest OCR performance (83.2%)General document extraction
LightOnOCR-2-1B-bboxBest bounding box detectionImage localization
LightOnOCR-2-1B-baseSupervised baseline (81.8%)Fine-tuning base
LightOnOCR-2-1B-bbox-baseBase bbox modelBbox fine-tuning
LightOnOCR-2-1B-ocr-soupTask-arithmetic merged (82.4%)Alternative OCR
LightOnOCR-2-1B-bbox-soupOCR-bbox trade-offBalanced performance

How to Use

  1. Install Pinokio
  2. Search for "LightOnOCR-2-1B-Pinokio" or download this repository
  3. Click "Install" to set up dependencies
  4. Click "Start" to launch the app
  5. Open the Web UI and upload an image or PDF

System Requirements

  • GPU: NVIDIA GPU with 4GB+ VRAM (recommended) or Apple Silicon Mac
  • RAM: 8GB+ system memory
  • Storage: ~5GB for model weights
  • Python: 3.10+

Performance Benchmarks

OlmOCR-Bench Results

ModelSizeArXivTablesMathOverall
LightOnOCR-2-1B1B89.642.289.083.2
Chandra-9B9B82.250.488.081.7
olmOCR-2-8B8B82.948.384.380.4

Inference Throughput (H100)

ModelPages/secSpeedup
LightOnOCR-2-1B5.716.49x
olmOCR-2-8B3.283.73x
Chandra-9B1.701.93x

License

Model weights: Apache 2.0


A local version of lightonai/LightOnOCR-2-1B-Demo

Created by Claude Code | Orchestrated by TheAwakenOne

Contributors

TheAwaken1

17 commits

ThomasEricB

1 commits

Languages

Python

68.4%

JavaScript

31.6%