Configs2026年7月18日·1 分钟阅读

MonkeyOCR — Lightweight Document Parsing Model

A lightweight large multimodal model optimized for accurate document parsing extracting text tables and structure from PDFs and images.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
MonkeyOCR Overview
直接安装命令
npx -y tokrepo@latest install 6746a8a0-8282-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

MonkeyOCR is a lightweight large multimodal model designed specifically for document parsing. It extracts text, tables, formulas, and document structure from PDFs and images with high accuracy while remaining small enough to run on consumer hardware.

What MonkeyOCR Does

  • Parses complex document layouts including multi-column text
  • Extracts tables with cell-level precision preserving structure
  • Recognizes mathematical formulas and converts to LaTeX
  • Outputs structured Markdown or JSON from any document
  • Handles scanned documents and photos with built-in OCR

Architecture Overview

MonkeyOCR uses a vision-language architecture with a lightweight image encoder paired with a small language model decoder. Documents are processed page-by-page through the vision encoder, and the language model generates structured output following the detected layout. The model is optimized via quantization to run efficiently on 8GB VRAM GPUs or CPU.

Self-Hosting & Configuration

  • Install via pip; model weights auto-download on first use
  • Runs on CPU (slower) or GPU with CUDA support
  • Configurable output format: Markdown, JSON, or plain text
  • Batch processing API for high-throughput pipelines
  • REST server mode for integration with document workflows

Key Features

  • Compact model size under 4GB for GPU deployment
  • Table extraction accuracy exceeding traditional rule-based parsers
  • Multi-language support covering CJK and Latin scripts
  • Layout-aware parsing preserves reading order
  • Open weights with permissive license for commercial use

Comparison with Similar Tools

  • Marker — rule-based approach; MonkeyOCR uses learned representations for better generalization
  • Docling — heavier pipeline; MonkeyOCR is a single end-to-end model
  • Surya — focuses on line detection; MonkeyOCR provides full structured output
  • Tesseract — OCR only without layout understanding; MonkeyOCR parses structure

FAQ

Q: What GPU is required? A: 8GB VRAM minimum for GPU inference; CPU mode available but slower.

Q: Which document formats are supported? A: PDF, PNG, JPG, TIFF, and multi-page documents.

Q: How does it handle handwritten text? A: Printed text is primary focus; handwriting recognition is limited.

Q: Can I fine-tune for my domain? A: Yes, fine-tuning scripts and data format documentation are provided.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产