Introduction of react-native-executorch-pp-doclayout-v3
Model Details of react-native-executorch-pp-doclayout-v3
Introduction
This repository hosts
PaddleOCR PP-DocLayoutV3
,
an RT-DETR-based
document layout detector
(~33M params), for the
React Native ExecuTorch
library,
exported to
.pte
for the
ExecuTorch
runtime (XNNPACK, CoreML, Vulkan). It finds and
classifies document regions — titles, paragraphs, tables, figures, formulas, headers/footers,
etc. — and is a companion to
react-native-executorch-paddleocr
.
If you'd like to run these models in your own ExecuTorch runtime, refer to the
official documentation
for setup instructions.
The
.pte
is a pure tensor→tensor function; all pre/post-processing (resize, normalize, score
threshold, box convert) is the client's job.
Output contract
A single static method
forward
, fixed input (no buckets):
PP-DocLayoutV3 is a
DETR set-prediction
model →
no NMS
. Post-processing is just:
score = sigmoid(logits)
, keep queries above a threshold, convert
(cx,cy,w,h) → (x1,y1,x2,y2)
,
scale to image size. Class names are in
labels.json
(index → label).
Classes (25)
abstract, algorithm, aside_text, chart, content, formula, doc_title, figure_title, footer, footnote, formula_number, header, image, number, paragraph_title, reference, reference_content, seal, table, text, vision_footnote
(some indices map to the same display label; use
labels.json
as the authoritative index→label map).
Backends, sizes & latency (warm)
backend
target
precision
size
latency
xnnpack
CPU
fp32
132 MB
~2.0 s (S24)
coreml
Apple ANE
fp16
91 MB
ANE fp16
vulkan
Android GPU
fp16 (mixed-delegate)
66 MB
~0.86 s (S24)
Vulkan is the recommended Android backend
— ~2.4× faster than XNNPACK and half the size.
It's mixed-delegate: most of RT-DETR runs fp16 on the GPU, while the box-head matmuls run on
XNNPACK (they delegate as
addmm
→
linear
). XNNPACK stays fp32 because RT-DETR's deformable
attention feeds non-contiguous tensors that int8/portable paths mis-handle.
Compatibility
If you intend to use these models outside of React Native ExecuTorch, make sure your runtime is
compatible with the
ExecuTorch
version used to export the
.pte
files. For more details, see
the compatibility note in the
ExecuTorch GitHub repository
.
If you work with React Native ExecuTorch, the library constants guarantee compatibility with the
runtime used behind the scenes.
Runs of software-mansion react-native-executorch-pp-doclayout-v3 on huggingface.co
154
Total runs
31
24-hour runs
22
3-day runs
25
7-day runs
0
30-day runs
More Information About react-native-executorch-pp-doclayout-v3 huggingface.co Model
More react-native-executorch-pp-doclayout-v3 license Visit here:
react-native-executorch-pp-doclayout-v3 huggingface.co is an AI model on huggingface.co that provides react-native-executorch-pp-doclayout-v3's model effect (), which can be used instantly with this software-mansion react-native-executorch-pp-doclayout-v3 model. huggingface.co supports a free trial of the react-native-executorch-pp-doclayout-v3 model, and also provides paid use of the react-native-executorch-pp-doclayout-v3. Support call react-native-executorch-pp-doclayout-v3 model through api, including Node.js, Python, http.
react-native-executorch-pp-doclayout-v3 huggingface.co is an online trial and call api platform, which integrates react-native-executorch-pp-doclayout-v3's modeling effects, including api services, and provides a free online trial of react-native-executorch-pp-doclayout-v3, you can try react-native-executorch-pp-doclayout-v3 online for free by clicking the link below.
software-mansion react-native-executorch-pp-doclayout-v3 online free url in huggingface.co:
react-native-executorch-pp-doclayout-v3 is an open source model from GitHub that offers a free installation service, and any user can find react-native-executorch-pp-doclayout-v3 on GitHub to install. At the same time, huggingface.co provides the effect of react-native-executorch-pp-doclayout-v3 install, users can directly use react-native-executorch-pp-doclayout-v3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
react-native-executorch-pp-doclayout-v3 install url in huggingface.co: