Spaces:
Running on Zero
Running on Zero
|
Download README.md from hugging-apps/venusocr2: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/spaces/hugging-apps/venusocr2/resolve/main/README.md
- Command line
-
hf download hf://spaces/hugging-apps/venusocr2/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hugging-apps/venusocr2/resolve/main/README.md
1.83 kB
metadata
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 is a 1B region-level OCR / document-parsing VLM from the paper VenusOCR2.0: Towards Efficient and Effective Document Parsing (GitHub).
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
transformerswithtrust_remote_code=True(bf16, SDPA attention) and greedy decoding (do_sample=False), matching the reference implementation in the model card. - 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 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).