venusocr2 / README.md
multimodalart's picture
multimodalart HF Staff
Upload folder using huggingface_hub
c9a061c verified
|
Raw History Blame Contribute Delete
1.83 kB
---
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)).