baidu/Unlimited-OCR
AI model · https://huggingface.co/baidu/Unlimited-OCR
First seen by Oriel on .
AI summary
Unlimited-OCR is Baidu’s document-parsing model for one-shot processing of single images and multi-page documents, with inference paths for Transformers, vLLM, and SGLang.
- Transformers inference supports single-image `gundam` and `base` configurations; multi-page parsing uses the `base` configuration with `image_size=1024`.
- The examples handle PDFs by converting pages to images with PyMuPDF, then passing them to multi-page parsing.
- SGLang deployment exposes an OpenAI-compatible streaming API and uses a custom no-repeat n-gram logit processor.
- The model uses a maximum generation length of 32768 tokens in the provided inference examples.
- The page lists support for vLLM, Baidu Cloud, ModelScope, Hugging Face Spaces, and training with ms-swift.
#ocr #document parsing #sglang #vllm
Generated by gpt-5.6-sol. Check the original for details.
Aliases
| Source | External ID | URL |
|---|---|---|
| Hugging Face Models | baidu/Unlimited-OCR | https://huggingface.co/baidu/Unlimited-OCR Read discussion |