Skip to content

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.

Terminal window
# CLI
edgeparse document.pdf -f json --hybrid docling-fast
import edgeparse
result = edgeparse.convert("document.pdf",
format="json",
hybrid="docling-fast"
)
ScenarioRecommendation
Speed-critical productionStandard mode (0.026s/doc)
Maximum table accuracyHybrid mode with docling-fast
No GPU availableStandard mode
Complex academic papersHybrid mode
BackendDescription
docling-fastUses Docling’s layout model for table detection
  • 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