--- title: VenusOCR 2.0 emoji: 📄 colorFrom: red colorTo: blue sdk: gradio sdk_version: 6.32.0 app_file: app.py short_description: 1B document-parsing VLM — text, LaTeX and OTSL tables python_version: "3.12" startup_duration_timeout: 30m --- # 📄 VenusOCR 2.0 — Document Parsing [VenusOCR 2.0](https://huggingface.co/flow3rdown/VenusOCR) is a 1B region-level OCR / document-parsing VLM from the paper [VenusOCR2.0: Towards Efficient and Effective Document Parsing](https://huggingface.co/papers/2611.32617) ([GitHub](https://github.com/flow3rdown/VenusOCR)). Upload a document region or page, pick a task, and get structured output: - **Text** → plain text / Markdown - **Formula** → LaTeX - **Table** → OTSL table structure ## Inference notes - Weights load via `transformers` with `trust_remote_code=True` (bf16, SDPA attention) and greedy decoding (`do_sample=False`), matching the reference implementation in the [model card](https://huggingface.co/flow3rdown/VenusOCR). - The token budget defaults to 2048 and is exposed under **Advanced settings** for long or dense pages. The GPU duration is estimated from the requested budget to keep ZeroGPU quota usage lean. - This demo runs region-level recognition, which is the task the hosted checkpoint is trained for. Full-page layout-aware parsing (the paper's pipeline SDK with a separate layout model + vLLM serving) is out of scope here — upload a page region or single content region for best results. ## Examples The example images are redistributed from the official [ATH-MaaS/OvisOCR2](https://huggingface.co/spaces/ATH-MaaS/OvisOCR2) Space (Apache-2.0), by the same authors, under that repo's Apache-2.0 license. ## License Model and example assets: Apache-2.0 (see the [model card](https://huggingface.co/flow3rdown/VenusOCR)).