Model reference · open weights

PP-DocLayout_plus-L_onnx

LLMs PaddlePaddle Image→text 1 build Open weights 2k dl/mo

PP-DocLayout_plus-L_onnx is an open-weight language model from Baidu.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • PP-DocLayout_plus-L_onnx is an image-to-text layout detection model developed by Baidu and published under the PaddlePaddle/PP-DocLayout_plus-L_onnx identifier.
  • It is designed to localize 20 common document categories, such as text, tables, and formulas, within images of papers, magazines, and reports.
  • The model supports English and Chinese, operates on the ONNX runtime, and is distributed under the Apache-2.0 license.

Summary of the PaddlePaddle/PP-DocLayout_plus-L_onnx model card, 2026-10-01

What it is

Released byBaidu
Released2026-05-26

From the model card

What Baidu says about PP-DocLayout_plus-L_onnx

Read the model card

Introduction

A higher-precision layout area localization model trained on a self-built dataset containing Chinese and English papers, PPT, multi-layout magazines, contracts, books, exams, ancient books and research reports using RT-DETR-L. The layout detection model includes 20 common categories: document title, paragraph title, text, page number, abstract, table, references, footnotes, header, footer, algorithm, formula, formula number, image, table, seal, figure_table title, chart, and sidebar text and lists of references. The key metrics are as follow:

ModelmAP(0.5) (%)
PP-DocLayout_plus-L83.2

Note: the evaluation set of the above precision indicators is the self built version sub area detection data set, including Chinese and English papers, magazines, newspapers, research reports PPT、 1000 document type pictures such as test papers and textbooks.

Model Usage

Install Dependencies

pip install -U paddleocr
pip install -U onnxruntime-gpu

CLI Usage

paddleocr layout_detection -i ./demo.jpg --model_name PP-DocLayout_plus-L --engine onnxruntime

Python API Usage

from paddleocr import LayoutDetection

model = LayoutDetection(
    model_name="PP-DocLayout_plus-L",
    engine="onnxruntime",
)
output = model.predict("./demo.jpg", batch_size=1)
for res in output:
    res.print()
    res.save_to_img(save_path="./output/")
    res.save_to_json(save_path="./output/res.json")

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms