hyperparse-models
A collection of ONNX models for fast PDF parsing
2 min readupdated
The repository contains a collection of optimized ONNX models (open format for storing AI model weights) and configurations for the C++/CUDA hyperparse document parser. The tool is designed to automatically convert PDF files into structured text, tables, formulas, and Markdown markup. The models are based on PaddleOCR, D-FINE, and LayoutNet architectures converted into FP16 and INT8 formats for maximum GPU acceleration via TensorRT (NVIDIA library for optimizing AI model inference). This toolkit will be useful for developers building high-performance document processing pipelines.
Key features
- High performance: models are optimized using NVIDIA ModelOpt in FP16 and INT8 for fast execution via TensorRT.
- Comprehensive analysis: support for text detection, table recognition, formula detection, reading order, and page orientation.
- Proven architectures: integration of components from PaddleOCR, LlamaIndex OCRia, and Indra OCR.
- Data verification: all files come with an official manifest featuring SHA-256 hashes to verify integrity.
What you can do
- Integrate the models into a custom C++/CUDA pipeline for fast conversion of PDFs into structured text.
- Recognize complex mathematical formulas and table structures in academic papers and reports.
- Automatically detect and fix the orientation of scanned pages before OCR (optical character recognition) processing.
Example usage
The hyperparse utility automatically downloads the required models from this repository on first launch, verifies them via manifest.json, and compiles TensorRT engines for your local GPU.
Read more
Details• Formats: ONNX (FP32, FP16, INT8 with ModelOpt quantization)
• Main components: D-FINE, PP-OCRv6, PP-FormulaNet-S, TableNet, OrderNet
• License restrictions: commercial use is restricted for certain models (OXR, OCRia-nano-1 for revenue or funding exceeding $2M)
• Performance: 1.4x–2x speedup on TensorRT compared to FP32










Comments