Downloads · 30 days
0
opendatalab/MinerU-4_models_onnx
MinerU-4_models_onnx is a machine learning model from opendatalab. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
CPU ONNX Runtime models for MinerU's light stack. Requires onnxruntime = 1.20.1 (ONNX IR 10 support).
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
1.4 GB
Likes
1
Public
Click a slice to open those files.
.onnx856 MB · 100%
From the Hugging Face model README
CPU ONNX Runtime models for MinerU's light stack. Requires onnxruntime >= 1.20.1 (ONNX IR 10 support).
See manifest.json for source repositories, exact revisions, SHA-256 checksums, ONNX signatures and export validation. Original model licenses and attribution remain applicable.
OCR uses the single TXT dictionary distributed with MinerU. Prepare these assets with python -m scripts.prepare_onnx_models prepare.
PP-FormulaNet plus-M now uses an ONNX graph exported from the matching MinerU-4_models_torch PTH checkpoint. CPU FP32, opset 17, IR 8, dynamic batch and a graph-internal autoregressive Loop. MinerU CPU inference uses batches of up to 8, sorted by original crop area.
The 153-image validation matched the previous ONNX in token sequences and LaTeX, including batches 1/2/4/8/16. The export preserves Torch generation behavior: forced EOS at generated token 1536; the previous ONNX allowed up to 2560 tokens without forced EOS. Validation samples did not reach this boundary. See manifest.json for provenance and hashes.