According to recent reports, paddleOCR 3.5 brings OCR and document parsing tasks closer to the Hugging Face ecosystem. With this release, supported PaddleOCR models can run with Hugging Face Transformers as an inference backend by setting:.
PaddleOCR continues to provide OCR model series such as PP-OCRv5 and document parsing model series such as PaddleOCR-VL 1.5, while Transformers becomes one of the supported backends for running them.
Try the live demo on Hugging Face Spaces: https://huggingface.co/spaces/PaddlePaddle/paddleocr-3.5-transformers-demo.
PaddleOCR 3.5 introduces a more flexible inference-engine interface. Developers can select the backend through the engine parameter and pass backend-specific options through engine_config.
A simple way to understand the stack:.
In a recent development, this release is mainly about the inference backend layer: PaddleOCR continues to provide OCR and document parsing capabilities, while Transformers gives supported PaddleOCR models another backend option that fits naturally into Hugging Face-centered environments. The larger Document AI workflow remains in the hands of developers and application builders.
For RAG, Document AI, and document agent applications, the hard part often starts before the LLM.
According to recent reports, developers first need to turn PDFs, scanned documents, screenshots, tables, charts, formulas, and complex page layouts into reliable structured data. If this ingestion step is weak, the downstream LLM workflow may miss key information, retrieve the wrong context, or produce unreliable answers.
PaddleOCR helps address this document ingestion challenge by providing OCR series models such as PP-OCRv5 and document parsing series models such as PaddleOCR-VL-1.5.
Industry observers note that with PaddleOCR 3.5, these capabilities are now easier to connect with Transformers-centered stacks. Supported PaddleOCR models can run with a Transformers backend, while PaddleOCR continues to manage the OCR or document parsing pipeline behind the scenes.
For developers, this means less integration friction and a more natural path from documents to downstream RAG, agent, search, analytics, or automation workflows.
Install PaddleOCR 3.5, PaddleX, Transformers, and a compatible PyTorch build for your hardware.
For example, on a CUDA 12.6 environment:.
For CPU, ROCm, or other environments, install the PyTorch build that matches your target hardware.
The Hugging Face Space uses float32 for broad compatibility. For your own hardware, you can tune backend-specific options through engine_config:.
The best configuration depends on your model, hardware, and deployment environment.
Use the Transformers backend when you want PaddleOCRβs OCR and document parsing capabilities to fit more naturally into a Hugging Face-centered stack.
This is especially useful if you are building RAG, Document AI, search, analytics, or agent applications and already rely on PyTorch / Transformers infrastructure for model loading, experimentation, deployment, or model artifact management.
The Transformers backend is a good fit when you want:.
When maximizing OCR or document parsing throughput is the priority, PaddleOCRβs default paddle_static backend is usually the recommended choice.
According to recent reports, this release is not about replacing one backend with another. It is about giving developers more flexibility: use PaddleOCR for OCR and document parsing capabilities, and choose the inference backend that best fits your stack.
Try the PaddleOCR 3.5 Transformers demo on Hugging Face Spaces:.
https://huggingface.co/spaces/PaddlePaddle/paddleocr-3.5-transformers-demo.
Explore PaddleOCR models on the Hub:.
https://huggingface.co/PaddlePaddle/models.
PaddleOCR 3.5 brings OCR and document parsing capabilities closer to Transformers-centered workflows, while giving developers the freedom to build the larger Document AI applications around them.
We sincerely thank the Hugging Face engineers who supported the PaddleOCR 3.5 Transformers integration.
Special thanks to Anton Vlasjuk for his end-to-end involvement, including reviewing and merging all related pull requests.
We also appreciate Raushan Turganbay and Yoni Gozlan for their valuable PR reviews and feedback.
Their guidance helped improve the integration quality, documentation, and developer experience for the Hugging Face community.
Love the article and the support.
