Hybrid Mode
What Is Hybrid Mode?
Section titled “What Is Hybrid Mode?”Hybrid mode lets EdgeParse use an ML-based backend (like Docling) for specific tasks while keeping its fast rule-based pipeline for everything else.
# CLIedgeparse document.pdf -f json --hybrid docling-fastimport edgeparse
result = edgeparse.convert("document.pdf", format="json", hybrid="docling-fast")When to Use Hybrid Mode
Section titled “When to Use Hybrid Mode”| Scenario | Recommendation |
|---|---|
| Speed-critical production | Standard mode (0.026s/doc) |
| Maximum table accuracy | Hybrid mode with docling-fast |
| No GPU available | Standard mode |
| Complex academic papers | Hybrid mode |
Supported Backends
Section titled “Supported Backends”| Backend | Description |
|---|---|
docling-fast | Uses Docling’s layout model for table detection |
Trade-offs
Section titled “Trade-offs”- Speed: Hybrid mode is slower (~1s/doc vs 0.026s/doc)
- Accuracy: Higher TEDS score for complex tables
- Dependencies: Requires the backend to be installed